Documentation
¶
Index ¶
- func DeployStepCreateFunction(api *function.API, functionName string, runtime function.FunctionRuntime) tasks.TaskFunc[*function.Namespace, *function.Function]
- func DeployStepCreateNamespace(api *function.API, region scw.Region, functionName string) tasks.TaskFunc[any, *function.Namespace]
- func DeployStepFetchNamespace(api *function.API, region scw.Region, namespaceID string) tasks.TaskFunc[any, *function.Namespace]
- func DeployStepFunctionDeploy(api *function.API, runtime function.FunctionRuntime) tasks.TaskFunc[*function.Function, *function.Function]
- func DeployStepFunctionUpload(httpClient *http.Client, scwClient *scw.Client, api *function.API, ...) tasks.TaskFunc[*function.Function, *function.Function]
- func GetCommands() *core.Commands
- func GetGeneratedCommands() *core.Commands
- type FetchNamespaces
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployStepCreateFunction ¶ added in v2.15.0
func DeployStepCreateNamespace ¶ added in v2.15.0
func DeployStepFetchNamespace ¶ added in v2.15.0
func DeployStepFunctionDeploy ¶ added in v2.15.0
func DeployStepFunctionUpload ¶ added in v2.15.0
func GetCommands ¶
func GetGeneratedCommands ¶
Types ¶
type FetchNamespaces ¶ added in v2.63.0
type FetchNamespaces struct{}
func (*FetchNamespaces) Fetch ¶ added in v2.63.0
func (f *FetchNamespaces) Fetch( ctx context.Context, region scw.Region, projectID string, ) ([]fetch.ResourceResult, error)
Fetch fetches all serverless function namespaces in a given region.
func (*FetchNamespaces) LocalityType ¶ added in v2.63.0
func (f *FetchNamespaces) LocalityType() fetch.LocalityType
func (*FetchNamespaces) Namespace ¶ added in v2.63.0
func (f *FetchNamespaces) Namespace() string
func (*FetchNamespaces) Resource ¶ added in v2.63.0
func (f *FetchNamespaces) Resource() string
Click to show internal directories.
Click to hide internal directories.