Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
Type string `json:"type"`
BaseConfiguration string `json:"base_configuration,omitempty"`
Configuration json.RawMessage `json:"configuration"`
Output *Output `json:"output"`
// XXX: BaseOutput is deprecated to benefits to output with merge strategy
BaseOutput json.RawMessage `json:"base_output,omitempty"`
}
Executor matches an executor type with its required configuration
func (*Executor) UnmarshalJSON ¶
type InnerExecutor ¶
type InnerExecutor Executor
type Output ¶
type Output struct {
Format interface{} `json:"format"`
Strategy OutputStrategy `json:"strategy"`
}
type OutputStrategy ¶
type OutputStrategy int
const ( OutputStrategynone OutputStrategy = iota OutputStrategymerge OutputStrategytemplate )
func (OutputStrategy) MarshalJSON ¶
func (r OutputStrategy) MarshalJSON() ([]byte, error)
MarshalJSON is generated so OutputStrategy satisfies json.Marshaler.
func (OutputStrategy) String ¶
func (i OutputStrategy) String() string
func (*OutputStrategy) UnmarshalJSON ¶
func (r *OutputStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON is generated so OutputStrategy satisfies json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.