deploy

package
v0.1.0-beta.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployApp

func DeployApp(ctx context.Context, cli *client.Client, deploymentID string, targetConfig config.TargetConfig, rawDeployConfig config.DeployConfig, logger *slog.Logger) error

func GetRollbackTargets

func GetRollbackTargets(ctx context.Context, cli *client.Client, 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, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL