operator

package
v0.9.10 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New() *Service

func (*Service) EnsureAsyncContext

func (s *Service) EnsureAsyncContext(ctx context.Context, aSession *session.Session, aComponent *repository.Component) (context.Context, error)

func (*Service) EnsureContext

func (s *Service) EnsureContext(ctx context.Context, aSession *session.Session, aComponent *repository.Component) (context.Context, error)

func (*Service) EnsureInput

func (s *Service) EnsureInput(ctx context.Context, aComponent *repository.Component, aSession *session.Session, populateView bool) (context.Context, error)

func (*Service) HandleError

func (s *Service) HandleError(ctx context.Context, aSession *session.Session, aComponent *repository.Component, err error) (interface{}, error)

HandleError processes output with error

func (*Service) HandlerSession

func (s *Service) HandlerSession(ctx context.Context, aComponent *repository.Component, aSession *session.Session) (xhandler.Session, error)

HandlerSession returns a handler session

func (*Service) InvocationType

func (s *Service) InvocationType(ctx context.Context) async.InvocationType

func (*Service) IsEventInvocation

func (s *Service) IsEventInvocation(ctx context.Context) bool

func (*Service) Job

func (s *Service) Job(ctx context.Context) *async.Job

func (*Service) Operate

func (s *Service) Operate(ctx context.Context, aSession *session.Session, aComponent *repository.Component) (interface{}, error)

Operate processes data component with data session

Jump to

Keyboard shortcuts

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