Documentation ¶
Index ¶
- Variables
- type Config
- type EchoPlugin
- func (e *EchoPlugin) Abort(ctx context.Context, tCtx core.TaskExecutionContext) error
- func (e *EchoPlugin) Finalize(ctx context.Context, tCtx core.TaskExecutionContext) error
- func (e *EchoPlugin) GetID() string
- func (e *EchoPlugin) GetProperties() core.PluginProperties
- func (e *EchoPlugin) Handle(ctx context.Context, tCtx core.TaskExecutionContext) (core.Transition, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfigSection = config.MustRegisterSubSection(echoTaskType, &defaultConfig)
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // SleepDuration indicates the amount of time before transitioning to success SleepDuration kozmostdconfig.Duration `json:"sleep-duration" pflag:",Indicates the amount of time before transitioning to success"` }
type EchoPlugin ¶
type EchoPlugin struct {
// contains filtered or unexported fields
}
func (*EchoPlugin) Abort ¶
func (e *EchoPlugin) Abort(ctx context.Context, tCtx core.TaskExecutionContext) error
func (*EchoPlugin) Finalize ¶
func (e *EchoPlugin) Finalize(ctx context.Context, tCtx core.TaskExecutionContext) error
func (*EchoPlugin) GetID ¶
func (e *EchoPlugin) GetID() string
func (*EchoPlugin) GetProperties ¶
func (e *EchoPlugin) GetProperties() core.PluginProperties
func (*EchoPlugin) Handle ¶
func (e *EchoPlugin) Handle(ctx context.Context, tCtx core.TaskExecutionContext) (core.Transition, error)
Click to show internal directories.
Click to hide internal directories.