operator

package
v0.15.0-beta Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorStore

type OperatorStore struct {
	// contains filtered or unexported fields
}

Operator is the derived operator

func Init

func Init(logger *zap.Logger, usageHandler base.UsageHandler) *OperatorStore

Init initializes the operator

func (*OperatorStore) CreateExecution

func (os *OperatorStore) CreateExecution(defUID uuid.UUID, sysVars map[string]any, task string) (*base.ExecutionWrapper, error)

func (*OperatorStore) GetOperatorDefinitionByID

func (os *OperatorStore) GetOperatorDefinitionByID(defID string, sysVars map[string]any, component *pipelinePB.OperatorComponent) (*pipelinePB.OperatorDefinition, error)

Get the operator definition by definition id

func (*OperatorStore) GetOperatorDefinitionByUID

func (os *OperatorStore) GetOperatorDefinitionByUID(defUID uuid.UUID, sysVars map[string]any, component *pipelinePB.OperatorComponent) (*pipelinePB.OperatorDefinition, error)

func (*OperatorStore) Import

func (os *OperatorStore) Import(op base.IOperator)

Imports imports the operator definitions

func (*OperatorStore) ListOperatorDefinitions

func (os *OperatorStore) ListOperatorDefinitions(sysVars map[string]any, returnTombstone bool) []*pipelinePB.OperatorDefinition

Get the list of operator definitions under this operator

Directories

Path Synopsis
base64
v0
end
v0
image
v0
json
v0
start
v0
text
v0

Jump to

Keyboard shortcuts

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