Versions in this module Expand all Collapse all v1 v1.0.1 Jan 18, 2024 v1.0.0 Jan 10, 2024 Changes in this version + func Factories() map[string]Factory + func LegacyRegister(ref string, f Factory) error + func Register(action Action, f Factory) error + type Action interface + IOMetadata func() *metadata.IOMetadata + Metadata func() *Metadata + type AsyncAction interface + Run func(ctx context.Context, input map[string]interface{}, handler ResultHandler) error + type Config struct + Id string + Ref string + Settings map[string]interface{} + Type string + type Descriptor struct + ID string + Version string + type Factory interface + Initialize func(ctx InitContext) error + New func(config *Config) (Action, error) + func GetFactory(ref string) Factory + type Info struct + func NewInfo(async bool, passthru bool) *Info + func (i *Info) Async() bool + func (i *Info) Id() string + func (i *Info) Passthru() bool + type InitContext interface + ResourceManager func() *resource.Manager + RuntimeSettings func() map[string]interface{} + ServiceManager func() *service.Manager + type Metadata struct + Settings map[string]data.TypedValue + func ToMetadata(mdStructs ...interface{}) *Metadata + func (md *Metadata) MarshalJSON() ([]byte, error) + type ResultHandler interface + Done func() + HandleResult func(results map[string]interface{}, err error) + type Runner interface + RunAction func(ctx context.Context, act Action, input map[string]interface{}) (results map[string]interface{}, err error) + type RunnerSettable interface + SetRunner func(runner Runner) + type SyncAction interface + Run func(ctx context.Context, input map[string]interface{}) (map[string]interface{}, error)