-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathtestconfig.json
More file actions
64 lines (64 loc) · 2.45 KB
/
testconfig.json
File metadata and controls
64 lines (64 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"commands": {
"auth": {
"register":"register http://deis.{{.HostName}} --username={{.UserName}} --password={{.Password}} --email={{.Email}}",
"login": "auth:login http://deis.{{.HostName}} --username={{.UserName}} --password={{.Password}}",
"logout": "auth:logout",
"cancel":"auth:cancel"
},
"keys": {
"add": "keys:add ~/.ssh/{{.AuthKey}}.pub || true",
"list": "keys:list",
"remove": "keys:remove {{.AuthKey}} ||true"
},
"clusters": {
"create": "clusters:create {{.ClusterName}} {{.HostName}} --hosts={{.Hosts}} --auth={{.SshKey}}",
"list": "clusters:list",
"update": "clusters:update {{.ClusterName}} --domain={{.HostName}} --hosts={{.UpdatedHosts}} --auth=~/.ssh/{{.AuthKey}}",
"info": "clusters:info {{.ClusterName}}",
"destroy" : "clusters:destroy {{.ClusterName}} --confirm={{.ClusterName}}"
},
"apps": {
"create": "apps:create {{.AppName}}",
"list": "apps:list",
"run": "apps:run echo hello",
"open":"apps:open --app={{.AppName}}",
"logs":"apps:logs --app={{.AppName}}",
"info": "apps:info --app={{.AppName}}",
"destroy" : "apps:destroy --app={{.AppName}} --confirm={{.AppName}}"
},
"ps":{
"list" : "ps:list --app={{.AppName}}",
"scale" : "ps:scale web={{.ProcessNum}} --app={{.AppName}}"
},
"builds":{
"list" : "builds:list --app={{.AppName}}",
"create" : "builds:create {{.ImageId}} --app={{.AppName}}"
},
"releases":{
"list" : "releases:list --app={{.AppName}}",
"info" : "releases:info {{.Version}} --app={{.AppName}}",
"rollback": "releases:rollback {{.Version}} --app={{.AppName}}"
},
"perms":{
"list-app" : "perms:list --app={{.AppName}}",
"list-admin" : "perms:list --admin",
"create-app" : "perms:create {{.AppUser}} --app={{.AppName}}",
"create-admin": "perms:create {{.AppUser}} --admin",
"delete-app" : "perms:delete {{.AppUser}} --app={{.AppName}}",
"delete-admin": "perms:delete {{.AppUser}} --admin"
},
"config":{
"list" : "config:list --app={{.AppName}}",
"set" : "config:set jaf=1 --app={{.AppName}}",
"unset" : "config:unset jaf --app={{.AppName}}"
},
"git" : {
"clone" : "git clone https://github.com/deis/{{.ExampleApp}}.git",
"remove" : "git remote remove deis",
"push" : "git push deis master",
"add" : "git add .",
"commit" : "git commit -m fake"
}
}
}