Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Schema ¶ added in v0.0.2
type Schema struct {
SchemaVersion [3]int `json:"schema_version"`
Commands []SchemaCommand `json:"commands"`
SchemaGeneratedAt time.Time `json:"schema_generated_at"`
}
type SchemaCommand ¶ added in v0.0.2
type SchemaCommand struct {
Alpha bool `json:"alpha"`
Use string `json:"use"`
Short string `json:"short"`
Run SchemaCommandRun `json:"run"`
Flags []SchemaCommandFlag `json:"flags"`
Commands []SchemaCommand `json:"commands"`
Wait bool `json:"wait"`
DefaultFormat string `json:"default-format"`
CacheFile string `json:"cache-file"`
}
type SchemaCommandField ¶ added in v0.0.2
type SchemaCommandField struct {
Name string `json:"name"`
Flag string `json:"flag"`
From string `json:"from"`
Parsers []SchemaCommandFieldParser `json:"parsers"`
Long bool `json:"long"`
Array bool `json:"array"`
Bool bool `json:"bool"`
Number bool `json:"number"`
Wait string `json:"wait"`
WaitPrintField string `json:"waitPrintField"`
}
type SchemaCommandFieldParser ¶ added in v0.0.2
type SchemaCommandFlag ¶ added in v0.0.2
type SchemaCommandFlagProcessing ¶ added in v0.1.1
type SchemaCommandFlagProcessing struct {
Method string `json:"method"`
Args interface{} `json:"args"`
}
type SchemaCommandList ¶ added in v0.0.2
type SchemaCommandList struct {
Name string `json:"name"`
Key string `json:"key"`
Type string `json:"type"`
Fields []SchemaCommandField `json:"fields"`
}
type SchemaCommandRun ¶ added in v0.0.2
type SchemaCommandRun struct {
Cmd string `json:"cmd"`
Path string `json:"path"`
Fields []SchemaCommandField `json:"fields"`
Lists []SchemaCommandList `json:"lists"`
}
type ServerIdsDryrunResponse ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.