-
Notifications
You must be signed in to change notification settings - Fork 57
/
commands.go
43 lines (40 loc) · 1.23 KB
/
commands.go
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
package orchestrationcommands
import (
"github.com/rackspace/rack/commands/orchestrationcommands/buildinfocommands"
"github.com/rackspace/rack/commands/orchestrationcommands/stackcommands"
"github.com/rackspace/rack/commands/orchestrationcommands/stackeventcommands"
"github.com/rackspace/rack/commands/orchestrationcommands/stackresourcecommands"
"github.com/rackspace/rack/commands/orchestrationcommands/stacktemplatecommands"
"github.com/rackspace/rack/internal/github.com/codegangsta/cli"
)
var serviceClientType = "orchestration"
// Get returns all the commands allowed for an `orchestration` request.
func Get() []cli.Command {
return []cli.Command{
{
Name: "build-info",
Usage: "Build information.",
Subcommands: buildinfocommands.Get(),
},
{
Name: "stack",
Usage: "Stack management.",
Subcommands: stackcommands.Get(),
},
{
Name: "event",
Usage: "Stack event queries.",
Subcommands: stackeventcommands.Get(),
},
{
Name: "resource",
Usage: "Stack resource queries.",
Subcommands: stackresourcecommands.Get(),
},
{
Name: "template",
Usage: "Stack template queries.",
Subcommands: stacktemplatecommands.Get(),
},
}
}