Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MustRegister ¶
func MustRegister()
func NewExecCommand ¶
func NewExecCommand(b *builder.AppBuilder, j json.RawMessage, log builder.Logger) (builder.Command, error)
Types ¶
type Command ¶
type Command struct {
Command string `json:"command"`
Environment []string `json:"environment"`
Transform *builder.Transform `json:"transform"`
Script string `json:"script"`
Shell string `json:"shell"`
Backoff *Backoff `json:"backoff"`
WorkingDir string `json:"dir"`
NoHelper bool `json:"no_helper"`
builder.GenericSubCommands
builder.GenericCommand
}
type Exec ¶
type Exec struct {
// contains filtered or unexported fields
}
func (*Exec) CreateCommand ¶
func (*Exec) SubCommands ¶
func (r *Exec) SubCommands() []json.RawMessage
Click to show internal directories.
Click to hide internal directories.