Documentation ¶ Index ¶ type Action type ConditionAction func (a ConditionAction) Plan(ctx *context.Context) ([]patches.Patch, error) type Pipeline func (p *Pipeline) Add(actions ...Action) *Pipeline func (p Pipeline) Plan(ctx *context.Context) ([]patches.Patch, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Action ¶ type Action interface { Plan(*context.Context) ([]patches.Patch, error) } type ConditionAction ¶ type ConditionAction struct { Condition func( ctx *context.Context, ) bool Action Action } func (ConditionAction) Plan ¶ func (a ConditionAction) Plan( ctx *context.Context, ) ([]patches.Patch, error) type Pipeline ¶ type Pipeline struct { Actions []Action } func (*Pipeline) Add ¶ func (p *Pipeline) Add(actions ...Action) *Pipeline func (Pipeline) Plan ¶ func (p Pipeline) Plan( ctx *context.Context, ) ([]patches.Patch, error) Source Files ¶ View all Source files action.gocondition.gopipeline.go Directories ¶ Show internal Expand all Path Synopsis fs git go project Click to show internal directories. Click to hide internal directories.