Documentation
¶
Index ¶
- func AutoDestroyExpiredDeploymentWatchdog(ctx context.Context, client *ent.Client, cbleServer *providers.CBLEServer)
- func AutoSuspendDeploymentWatchdog(ctx context.Context, client *ent.Client, cbleServer *providers.CBLEServer, ...)
- func CreateDeployment(ctx context.Context, client *ent.Client, entBlueprint *ent.Blueprint, ...) (*ent.Deployment, error)
- func LoadResources(ctx context.Context, client *ent.Client, cbleServer *providers.CBLEServer, ...) error
- func StartDeployment(client *ent.Client, cbleServer *providers.CBLEServer, ...)
- func StartDestroy(client *ent.Client, cbleServer *providers.CBLEServer, ...)
- func StartRedeploy(client *ent.Client, cbleServer *providers.CBLEServer, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoSuspendDeploymentWatchdog ¶
func AutoSuspendDeploymentWatchdog(ctx context.Context, client *ent.Client, cbleServer *providers.CBLEServer, suspendTime time.Duration)
AutoSuspendDeploymentWatchdog is designed to be executed as a go routine which searches for all deployments powered on which haven't been accessed in a time period
func CreateDeployment ¶
func LoadResources ¶
func StartDeployment ¶
func StartDeployment(client *ent.Client, cbleServer *providers.CBLEServer, entDeployment *ent.Deployment)
Run in a go routine, runs the deployment with a provider
func StartDestroy ¶
func StartDestroy(client *ent.Client, cbleServer *providers.CBLEServer, entDeployment *ent.Deployment)
Run in a go routine, destroys the deployment with a provider
func StartRedeploy ¶
func StartRedeploy(client *ent.Client, cbleServer *providers.CBLEServer, entDeployment *ent.Deployment, nodeIdsToRedeploy []uuid.UUID)
Run in a go routine, runs the deployment with a provider
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.