dispatch

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispatchInvokedOperation

type DispatchInvokedOperation struct {
	DeploymentId int
	Request      *sdk.InvokeDeploymentOperationRequest
}

We want to take a request to invoke and operation and dispatch. This is the command to do that.

type OperatorDispatcher

type OperatorDispatcher interface {
	Dispatch(ctx context.Context, command *DispatchInvokedOperation) (uuid.UUID, error)
}

Dispatch the invoke operation to the appropriate executor implemented in the operator

func NewOperatorDispatcher

func NewOperatorDispatcher(appConfig *config.AppConfig, credential azcore.TokenCredential) (OperatorDispatcher, error)

Jump to

Keyboard shortcuts

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