Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is the complete result of reading the yaml file and creating the possible commands available from it
type RunnableStep ¶
RunnableStep defines the base struct
type Step ¶
type Step interface {
// GetKind returns the type this step is (i.e. Download,Unzip etc)
GetKind() string
// GetDescription return description of what the step does
GetDescription() string
// Execute performs the actual work the step is responsible for
Execute() Result
// FromConfig read the given map (representing the yaml definition) and creates a step instance of it
FromConfig(configYaml map[string]interface{}) error
}
Step is the interface defining the methods each step has to implement to be generically executable
Click to show internal directories.
Click to hide internal directories.