orchestration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Orchestrator

type Orchestrator interface {
	// GetFunctions retrieve all the functions currently provisioned into the orchestrator.
	GetFunctions(ctx context.Context) ([]*types.Function, error)

	// CreateFunction register the function into the orchestrator, but doesn't deploy an instance of it.
	CreateFunction(ctx context.Context, fn *types.Function) (*types.Function, error)

	// GetFunctionInstance retrieve an instance of the function, that must be ready to receive requests.
	GetFunctionInstance(ctx context.Context, fn *types.Function) (*types.FnInstance, error)

	// DeleteFunctionInstance delete a function instance.
	DeleteFunctionInstance(ctx context.Context, fn *types.Function) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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