Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Apply = cli.Command{ Name: "apply", Aliases: []string{"upload", "set", "sync"}, Usage: "Apply a yaml file to a Kong service", Action: applyCommand, }
View Source
var Context = cli.Command{ Name: "context", Aliases: []string{"ctx", "domain"}, Usage: "Manage the context", Action: showCommand, Subcommands: []cli.Command{ { Name: "switch", Usage: "Switch to another context", Action: switchCommand, }, { Name: "list", Usage: "List all contexts", Action: listCommand, }, }, }
View Source
var Describe = cli.Command{ Name: "describe", Aliases: []string{"desc", "inspect"}, Usage: "Describe a resource", Flags: []cli.Flag{ cli.BoolFlag{ Name: "enabled, e", Usage: "Only show enabled resources", }, }, Subcommands: []cli.Command{ { Name: "plugins", Usage: "List plugins", Action: describePluginCommand, }, { Name: "apis", Usage: "List apis", Action: describeApiCommand, }, }, }
View Source
var Export = cli.Command{ Name: "export", Aliases: []string{"download", "fetch", "grab"}, Usage: "Export resources to a yaml file", Action: exportCommand, }
Functions ¶
func SetKongApi ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.