Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchemaBox ¶
func NewSchemaBox() *packr.Box
Types ¶
type ExecuteAction ¶
type ExecuteAction struct {
Steps []ExecuteStep // using UnmarshalYAML so that we don't need a custom type per action
}
func (*ExecuteAction) UnmarshalYAML ¶
func (a *ExecuteAction) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML takes any yaml in this form ACTION: - kubernetes: ... and puts the steps into the Action.Steps field
type ExecuteInstruction ¶
type ExecuteInstruction struct { InstallArguments `yaml:",inline"` // Upgrade specific arguments Force *bool `yaml:"force,omitempty"` GracePeriod *int `yaml:"gracePeriod,omitempty"` Overwrite *bool `yaml:"overwrite,omitempty"` Prune *bool `yaml:"prune,omitempty"` Timeout *int `yaml:"timeout,omitempty"` }
type ExecuteStep ¶
type ExecuteStep struct {
ExecuteInstruction `yaml:"kubernetes"`
}
type InstallAction ¶
type InstallAction struct {
Steps []InstallStep `yaml:"install"`
}
type InstallArguments ¶
type InstallStep ¶
type InstallStep struct {
InstallArguments `yaml:"kubernetes"`
}
type KubernetesOutput ¶
type Mixin ¶
func (*Mixin) PrintSchema ¶
func (*Mixin) PrintVersion ¶
func (m *Mixin) PrintVersion()
func (*Mixin) ValidatePayload ¶
type Step ¶
type Step struct { Description string `yaml:"description"` Outputs []KubernetesOutput `yaml:"outputs,omitempty"` }
type TestMixin ¶
type TestMixin struct { *Mixin TestContext *context.TestContext }
func NewTestMixin ¶
type UninstallAction ¶
type UninstallAction struct {
Steps []UninstallStep `yaml:"uninstall"`
}
type UninstallArguments ¶
type UninstallArguments struct { Step `yaml:",inline"` Namespace string `yaml:"namespace"` Manifests []string `yaml:"manifests,omitempty"` Force *bool `yaml:force,omitempty"` GracePeriod *int `yaml:"gracePeriod,omitempty"` Selector string `yaml:"selector,omitempty"` Timeout *int `yaml:"timeout,omitempty"` Wait *bool `yaml:"wait,omitempty"` }
type UninstallStep ¶
type UninstallStep struct {
UninstallArguments `yaml:"kubernetes"`
}
Click to show internal directories.
Click to hide internal directories.