operator

package
v0.20.8 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 36 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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