Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchemaBox ¶
func NewSchemaBox() *packr.Box
Types ¶
type Action ¶
type Action struct {
Steps []Step // using UnmarshalYAML so that we don't need a custom type per action
}
func (*Action) UnmarshalYAML ¶
UnmarshalYAML takes any yaml in this form ACTION: - exec: ... and puts the steps into the Action.Steps field
type ExecuteCommandOptions ¶
type ExecuteCommandOptions struct {
File string
}
ExecOptions represent the options for any exec command
type Instruction ¶
type Mixin ¶
Exec is the logic behind the exec mixin
func (*Mixin) ExecuteCommand ¶
func (m *Mixin) ExecuteCommand(opts ExecuteCommandOptions) error
func (*Mixin) PrintSchema ¶
func (*Mixin) PrintVersion ¶
func (m *Mixin) PrintVersion()
type Step ¶
type Step struct {
Instruction `yaml:"exec"`
}
type TestMixin ¶
type TestMixin struct { *Mixin TestContext *context.TestContext }
func NewTestMixin ¶
NewTestMixin initializes a helm mixin, with the output buffered, and an in-memory file system.
Click to show internal directories.
Click to hide internal directories.