ops

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEndpoint

func CreateEndpoint(ctx context.Context, req *api.CreateEndpoint) (*api.Endpoint, error)

func CreateLambda

func CreateLambda(ctx context.Context, lambda CreateLambdaM, path string) (*api.Lambda, error)

func CreateRuntime

func CreateRuntime(ctx context.Context, name string, path string) (*api.Runtime, error)

func DeployLambda

func DeployLambda(ctx context.Context, input CreateLambdaM, path string) (*api.Lambda, error)

func DestroyLambda

func DestroyLambda(ctx context.Context, id string) error

func GetLambda

func GetLambda(ctx context.Context, id string) (*api.Lambda, error)

func GetRuntime

func GetRuntime(ctx context.Context, id string) (*api.Runtime, error)

func ListEndpoints

func ListEndpoints(ctx context.Context) ([]api.Endpoint, error)

func ListLambdas

func ListLambdas(ctx context.Context) ([]api.Lambda, error)

func ListRuntimes

func ListRuntimes(ctx context.Context) ([]api.Runtime, error)

func StartLambda

func StartLambda(ctx context.Context, id string) (*api.Lambda, error)

Types

type CreateLambdaM

type CreateLambdaM struct {
	Name       string
	Runtime    string
	LambdaType string
}

Jump to

Keyboard shortcuts

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