function

package
v0.0.0-...-dd0fa15 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Keys = &keys{}

Functions

This section is empty.

Types

type FunctionServiceOpts

type FunctionServiceOpts struct {
	Config         types.AppConfig
	RedisClient    *common.RedisClient
	BackendRepo    repository.BackendRepository
	TaskRepo       repository.TaskRepository
	ContainerRepo  repository.ContainerRepository
	Scheduler      *scheduler.Scheduler
	Tailscale      *network.Tailscale
	RouteGroup     *echo.Group
	TaskDispatcher *task.Dispatcher
}

type FunctionTask

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

func (*FunctionTask) Cancel

func (*FunctionTask) Execute

func (t *FunctionTask) Execute(ctx context.Context, options ...interface{}) error

func (*FunctionTask) HeartBeat

func (t *FunctionTask) HeartBeat(ctx context.Context) (bool, error)

func (*FunctionTask) Metadata

func (t *FunctionTask) Metadata() types.TaskMetadata

func (*FunctionTask) Retry

func (t *FunctionTask) Retry(ctx context.Context) error

type RunCFunctionService

type RunCFunctionService struct {
	pb.UnimplementedFunctionServiceServer
	// contains filtered or unexported fields
}

func (*RunCFunctionService) FunctionGetArgs

func (*RunCFunctionService) FunctionInvoke

func (*RunCFunctionService) FunctionMonitor

func (*RunCFunctionService) FunctionSetResult

Jump to

Keyboard shortcuts

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