action

package
v3.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Execute(runtime connector.Runtime) (err error)
	Init(cache *cache.Cache, rootCache *cache.Cache)
	AutoAssert(runtime connector.Runtime)
}

type BaseAction

type BaseAction struct {
	ModuleCache   *cache.Cache
	PipelineCache *cache.Cache
}

func (*BaseAction) AutoAssert

func (b *BaseAction) AutoAssert(runtime connector.Runtime)

func (*BaseAction) Execute

func (b *BaseAction) Execute(runtime connector.Runtime) error

func (*BaseAction) Init

func (b *BaseAction) Init(moduleCache *cache.Cache, pipelineCache *cache.Cache)

type Template

type Template struct {
	BaseAction
	Template *template.Template
	Dst      string
	Data     util.Data
}

func (*Template) Execute

func (t *Template) Execute(runtime connector.Runtime) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL