MCPcopy Create free account
hub / github.com/koding/kite / Help

Method Help

kitectl/command/query.go:32–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (c *Query) Help() string {
33 helpText := `
34Usage: kitectl query [options]
35
36 Queries Kontrol based on the given criteria.
37
38Options:
39
40 -username=koding Username of the kite.
41 -environment=staging Environment of the kite.
42 -name=naber Name of the kite.
43 -version=0.0.1 Version of the kite.
44 -region=Asia Region of the kite.
45 -hostname=caprica Hostname of the kite.
46 -id=<UUID> Unique ID of the kite.
47`
48 return strings.TrimSpace(helpText)
49}
50
51func (c *Query) Run(args []string) int {
52 c.KiteClient.Config = config.MustGet()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected