Documentation
¶
Index ¶
- func DeployApp(ctx context.Context, cli *client.Client, db *storage.DB, deploymentID string, ...) error
- func GetRollbackTargets(ctx context.Context, cli *client.Client, db *storage.DB, appName string) (targets []deploytypes.RollbackTarget, err error)
- func RollbackApp(ctx context.Context, cli *client.Client, db *storage.DB, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRollbackTargets ¶
func GetRollbackTargets(ctx context.Context, cli *client.Client, db *storage.DB, appName string) (targets []deploytypes.RollbackTarget, err error)
GetRollbackTargets retrieves and sorts all available rollback targets for the specified app.
func RollbackApp ¶
func RollbackApp(ctx context.Context, cli *client.Client, db *storage.DB, targetConfig config.TargetConfig, targetDeploymentID, newDeploymentID string, logger *slog.Logger) error
RollbackApp is basically a wrapper around DeployApp that allows rolling back to a previous deployment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.