Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain interface {
// Execute chain executor
// @param context chain context
Execute(context *context.Context) *result.EnvcdResult
}
type Executor ¶
type Executor interface {
// Execute execute code
// Context come from every exector, data from dashboard
// @param context
// @param executor
// @return ret, error
Execute(context *context.Context, chain Chain) *result.EnvcdResult
// Skip current executor
// @return skip current executor or not
Skip(context *context.Context) bool
// Sorted executor execute order
// @return order
Sorted() uint8
// Named executor name
// @return named for executor
Named() string
}
Executor the executor
Click to show internal directories.
Click to hide internal directories.