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 ¶ added in v1.8.0
type InnerExecutor ¶ added in v1.8.0
type InnerExecutor Executor
type Output ¶ added in v1.8.0
type Output struct { Format interface{} `json:"format"` Strategy OutputStrategy `json:"strategy"` }
type OutputStrategy ¶ added in v1.8.0
type OutputStrategy int
const ( OutputStrategynone OutputStrategy = iota OutputStrategymerge OutputStrategytemplate )
func (OutputStrategy) MarshalJSON ¶ added in v1.8.0
func (r OutputStrategy) MarshalJSON() ([]byte, error)
MarshalJSON is generated so OutputStrategy satisfies json.Marshaler.
func (OutputStrategy) String ¶ added in v1.8.0
func (i OutputStrategy) String() string
func (*OutputStrategy) UnmarshalJSON ¶ added in v1.8.0
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.