Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncApplication ¶
func SyncApplication( ctx context.Context, cli apiservice.Client, appID string, checkInterval, timeout time.Duration, logger *zap.Logger, ) (string, error)
SyncApplication sents a command to sync a given application and waits until it has been triggered. The deployment ID will be returned or an error.
func WaitDeploymentStatuses ¶
func WaitDeploymentStatuses( ctx context.Context, cli apiservice.Client, deploymentID string, statuses []model.DeploymentStatus, checkInterval, timeout time.Duration, logger *zap.Logger, ) error
WaitDeploymentStatuses waits a given deployment until it reaches one of the specified statuses.
Types ¶
Click to show internal directories.
Click to hide internal directories.