Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddRackLSEPrototypeCmd = &subcommands.Command{ UsageLine: "rack-prototype", ShortDesc: "Add prototype for rack deployment", LongDesc: cmdhelp.AddRackLSEPrototypeLongDesc, CommandRun: func() subcommands.CommandRun { c := &addRackLSEPrototype{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.envFlags.Register(&c.Flags) c.Flags.StringVar(&c.newSpecsFile, "f", "", cmdhelp.RackLSEPrototypeFileText) c.Flags.BoolVar(&c.interactive, "i", false, "enable interactive mode for input") return c }, }
AddRackLSEPrototypeCmd add RackLSEPrototype to the system.
View Source
var DeleteRackLSEPrototypeCmd = &subcommands.Command{ UsageLine: "rack-prototype", ShortDesc: "Delete prototype for rack deployment", LongDesc: `Delete prototype for rack deployment. Example: shivas delete-rack-prototype {Rack Prototype Name} Deletes the given rack prototype.`, CommandRun: func() subcommands.CommandRun { c := &deleteRackLSEPrototype{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.envFlags.Register(&c.Flags) return c }, }
DeleteRackLSEPrototypeCmd delete RackLSEPrototype by given name.
View Source
var GetRackLSEPrototypeCmd = &subcommands.Command{ UsageLine: "rack-prototype ...", ShortDesc: "Get rack prototype details by filters", LongDesc: `Get rack prototype details by filters. Example: shivas get rack-prototype name1 name2 shivas get rack-prototype shivas get rack-prototype -tag tag1 Gets the rack prototype and prints the output in the user-specified format.`, CommandRun: func() subcommands.CommandRun { c := &getRackLSEPrototype{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.envFlags.Register(&c.Flags) c.commonFlags.Register(&c.Flags) c.outputFlags.Register(&c.Flags) c.Flags.IntVar(&c.pageSize, "n", 0, cmdhelp.ListPageSizeDesc) c.Flags.BoolVar(&c.keysOnly, "keys", false, cmdhelp.KeysOnlyText) c.Flags.Var(flag.StringSlice(&c.tags), "tag", "Name(s) of a tag to filter by. Can be specified multiple times.") return c }, }
GetRackLSEPrototypeCmd get RackLSEPrototype by given name.
View Source
var UpdateRackLSEPrototypeCmd = &subcommands.Command{ UsageLine: "rack-prototype", ShortDesc: "Update prototype for rack deployment", LongDesc: cmdhelp.UpdateRackLSEPrototypeLongDesc, CommandRun: func() subcommands.CommandRun { c := &updateRackLSEPrototype{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.envFlags.Register(&c.Flags) c.Flags.StringVar(&c.newSpecsFile, "f", "", cmdhelp.RackLSEPrototypeFileText) c.Flags.BoolVar(&c.interactive, "i", false, "enable interactive mode for input") return c }, }
UpdateRackLSEPrototypeCmd update RackLSEPrototype by given name.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.