action

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Validate(actCtx map[string]string) error
	Execute(r *remote.Remote, logger *log.Logger) (*orderedmap.OrderedMap[string, string], error)
}

type ActionWrapper

type ActionWrapper struct {
	Action
	// contains filtered or unexported fields
}

func New

func New(name string, role string, act Action) *ActionWrapper

func (ActionWrapper) Name

func (aw ActionWrapper) Name() string

func (ActionWrapper) Role

func (aw ActionWrapper) Role() string

func (*ActionWrapper) SetName

func (aw *ActionWrapper) SetName(name string)

func (*ActionWrapper) SetRole

func (aw *ActionWrapper) SetRole(role string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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