Documentation
¶
Index ¶
- Variables
- func BootstrapLambda(ctx context.Context, lambda *model.CreateLambdaM) error
- func BootstrapRuntime(ctx context.Context, runtime *model.CreateRuntimeM) error
- func GetLambda(ctx context.Context, id string) (*model.LambdaM, error)
- func GetLambdas(ctx context.Context) (<-chan *model.LambdaM, <-chan error)
- func GetRuntime(ctx context.Context, id string) (*model.RuntimeM, error)
- func GetRuntimes(ctx context.Context) (<-chan *model.RuntimeM, <-chan error)
- func SetLambda(ctx context.Context, lambda *model.LambdaM) error
- func SetRuntime(ctx context.Context, runtime *model.RuntimeM) error
- func TarLambda(ctx context.Context, lambda string, runtime string) (io.Reader, error)
- func UploadTmp(ctx context.Context, file io.Reader) (string, error)
- type LambdaService
Constants ¶
This section is empty.
Variables ¶
View Source
var DolessID = ""
Functions ¶
func BootstrapLambda ¶
func BootstrapLambda(ctx context.Context, lambda *model.CreateLambdaM) error
func BootstrapRuntime ¶
func BootstrapRuntime(ctx context.Context, runtime *model.CreateRuntimeM) error
Types ¶
type LambdaService ¶
type LambdaService interface { Init() error Stop(ctx context.Context) BootstrapRuntime(ctx context.Context, runtime *model.CreateRuntimeM) (*model.CreateRuntimeM, error) BootstrapLambda(ctx context.Context, lambda *model.CreateLambdaM) (*model.CreateLambdaM, error) Start(ctx context.Context, id string) error Destroy(ctx context.Context, id string) error }
func CreateLambdaService ¶
func CreateLambdaService() (LambdaService, error)
Click to show internal directories.
Click to hide internal directories.