Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App = &cli.Command{ Name: "app", Subcommands: []*cli.Command{ { Name: "list", Action: runAppList, }, { Name: "create", Action: runAppCreate, Flags: []cli.Flag{ &cli.StringFlag{ Name: "name", Required: true, }, }, }, }, }
View Source
var File = &cli.Command{ Name: "file", Subcommands: []*cli.Command{ { Name: "list", Flags: []cli.Flag{ &cli.UintFlag{ Name: "id", }, }, Action: runFileList, }, { Name: "history", Flags: []cli.Flag{ &cli.StringFlag{ Name: "id", }, &cli.UintFlag{Name: "from"}, &cli.UintFlag{Name: "size"}, &cli.UintFlag{Name: "uid", Usage: "user_id"}, }, Action: runFileHistory, }, }, }
View Source
var Init = &cli.Command{
Name: "init",
Action: runInit,
}
View Source
var Resource = &cli.Command{ Name: "resource", Usage: "resource manual", Subcommands: []*cli.Command{ { Name: "list", Action: runResourceList, Flags: []cli.Flag{ &cli.StringFlag{ Name: "uuid", Usage: "app uuid", }, }, }, { Name: "create", Action: runResourceCreate, Flags: []cli.Flag{ &cli.StringFlag{ Name: "uuid", Usage: "app uuid", Required: true, }, &cli.StringFlag{ Name: "name", Usage: "role name", Required: true, }, }, }, }, }
View Source
var Role = &cli.Command{ Name: "role", Usage: "", Description: "", Subcommands: []*cli.Command{ { Name: "list", Action: runRoleList, }, { Name: "create", Action: runRoleCreate, Flags: []cli.Flag{ &cli.StringFlag{ Name: "uuid", Usage: "app uuid", Required: true, }, &cli.StringFlag{ Name: "name", Usage: "role name", Required: true, }, }, }, }, Flags: []cli.Flag{}, }
Functions ¶
func InitSystem ¶
func InitSystem() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.