Documentation ¶
Index ¶
Constants ¶
View Source
const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"
AWS_EXECUTION_ENV is the environment variable used by the aws CLI to set the user agent string.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Name string 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) MakeSteps ¶
func (a Action) MakeSteps() interface{}
MakeSteps builds a slice of Steps for data to be unmarshaled into.
func (*Action) UnmarshalYAML ¶
UnmarshalYAML takes any yaml in this form ACTION: - aws: ... and puts the steps into the Action.Steps field
type Instruction ¶
type Instruction struct { Description string `yaml:"description"` Service string `yaml:"service"` Operation string `yaml:"operation"` Arguments []string `yaml:"arguments,omitempty"` Flags builder.Flags `yaml:"flags,omitempty"` Outputs []Output `yaml:"outputs,omitempty"` SuppressOutput bool `yaml:"suppress-output,omitempty"` }
type Mixin ¶
type Mixin struct { // Config is a specialized context with additional runtime settings. runtime.RuntimeConfig }
func (*Mixin) Build ¶
Build will generate the necessary Dockerfile lines for an invocation image using this mixin
func (*Mixin) PrintSchema ¶
func (m *Mixin) PrintSchema()
func (*Mixin) SetUserAgent ¶ added in v1.0.0
func (m *Mixin) SetUserAgent()
type Output ¶
func (Output) GetJsonPath ¶
type Step ¶
type Step struct {
Instruction `yaml:"aws"`
}
func (Step) GetArguments ¶
func (Step) GetCommand ¶
func (Step) GetOutputs ¶
func (Step) GetWorkingDir ¶ added in v0.4.1
func (Step) SuppressesOutput ¶
type TestMixin ¶
type TestMixin struct { *Mixin TestContext *portercontext.TestContext }
func NewTestMixin ¶
NewTestMixin initializes a mixin test client, with the output buffered, and an in-memory file system.
Click to show internal directories.
Click to hide internal directories.