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) GetSteps ¶
func (a Action) GetSteps() []builder.ExecutableStep
func (*Action) UnmarshalYAML ¶
UnmarshalYAML takes any yaml in this form ACTION: - exec: ... and puts the steps into the Action.Steps field
type ExecuteOptions ¶
type ExecuteOptions 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) Execute ¶
func (m *Mixin) Execute(opts ExecuteOptions) error
func (*Mixin) PrintSchema ¶
type Output ¶
type Output struct { Name string `yaml:"name"` FilePath string `yaml:"path,omitempty"` JsonPath string `yaml:"jsonPath,omitempty"` Regex string `yaml:"regex,omitempty"` }
func (Output) GetFilePath ¶
func (Output) GetJsonPath ¶
type Step ¶
type Step struct {
Instruction `yaml:"exec"`
}
func (Step) GetArguments ¶
func (Step) GetCommand ¶
func (Step) GetOutputs ¶
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.