Documentation
¶
Overview ¶
Package cli is the abctl command surface, built on Cobra.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExitError ¶
type ExitError struct{ Code int }
ExitError lets a command request a specific process exit code (e.g. 3 = changes pending).
type Spec ¶
type Spec struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata struct {
Name string `yaml:"name"`
} `yaml:"metadata"`
Spec struct {
Platforms []string `yaml:"platforms,omitempty"`
Profile string `yaml:"profile,omitempty"`
ProfileFile string `yaml:"profileFile,omitempty"`
Configurations []string `yaml:"configurations,omitempty"`
} `yaml:"spec"`
// contains filtered or unexported fields
}
Spec is a versioned abctl resource document (`get --yaml` output is valid input).
apiVersion: abctl/v1
kind: Configuration|Blueprint
metadata: { name: <name> }
spec: { profile|profileFile|platforms | configurations: [...] }
Click to show internal directories.
Click to hide internal directories.