Documentation
¶
Index ¶
- func New(platform deployment.Platform) faas.FaaS
- type BtrFaaS
- func (ptr *BtrFaaS) DeployFunction(ctx context.Context, options *faas.DeployFunctionOptions) error
- func (ptr *BtrFaaS) DeploySecret(ctx context.Context, options *faas.DeploySecretOptions) error
- func (ptr *BtrFaaS) Init(ctx context.Context, options *faas.InitOptions) error
- func (ptr *BtrFaaS) Invoke(ctx context.Context, options *faas.InvokeOptions) error
- func (ptr *BtrFaaS) ListFunctions(ctx context.Context, options *faas.ListFunctionsOptions) ([]*faas.FunctionInfo, error)
- func (ptr *BtrFaaS) ListSecrets(ctx context.Context, options *faas.ListSecretsOptions) ([]*faas.SecretInfo, error)
- func (ptr *BtrFaaS) ScaleFunction(ctx context.Context, options *faas.ScaleFunctionOptions) error
- func (ptr *BtrFaaS) Teardown(ctx context.Context, options *faas.TeardownOptions) error
- func (ptr *BtrFaaS) UndeployFunction(ctx context.Context, options *faas.UndeployFunctionOptions) error
- func (ptr *BtrFaaS) UndeploySecret(ctx context.Context, options *faas.UndeploySecretOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BtrFaaS ¶
type BtrFaaS struct {
// contains filtered or unexported fields
}
BtrFaaS is the btrfaas implementation of the FaaS interface
func (*BtrFaaS) DeployFunction ¶
DeployFunction deploys a service in an environment
func (*BtrFaaS) DeploySecret ¶
DeploySecret deploys a secret in an environment
func (*BtrFaaS) ListFunctions ¶
func (ptr *BtrFaaS) ListFunctions(ctx context.Context, options *faas.ListFunctionsOptions) ([]*faas.FunctionInfo, error)
ListFunctions returns a list of all deployed services
func (*BtrFaaS) ListSecrets ¶
func (ptr *BtrFaaS) ListSecrets(ctx context.Context, options *faas.ListSecretsOptions) ([]*faas.SecretInfo, error)
ListSecrets returns a list of all deployed secrets
func (*BtrFaaS) ScaleFunction ¶
ScaleFunction scales the service
func (*BtrFaaS) UndeployFunction ¶
func (ptr *BtrFaaS) UndeployFunction(ctx context.Context, options *faas.UndeployFunctionOptions) error
UndeployFunction undeploys a service from an environment
func (*BtrFaaS) UndeploySecret ¶
UndeploySecret unddeploys a secret from an environment
Click to show internal directories.
Click to hide internal directories.