Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAndPush ¶
func BuildAndPush(ctx context.Context, cfg *config.DeployConfig, opts *DeployOptions) (string, error)
BuildAndPush is the exported entry point for the standalone build command
Types ¶
type DeployOptions ¶
type DeployOptions struct {
ConfigPath string
Environment string
EnvFile string
DeployInfra bool
SkipSSM bool
DryRun bool
StreamLogs bool
Wait bool
TailLines int
Message string
}
DeployOptions configures a deployment pipeline run
type Deployer ¶
type Deployer interface {
Update(ctx context.Context, cfg *config.DeployConfig, env, imageURI string) error
WaitStable(ctx context.Context, cfg *config.DeployConfig, env string) error
}
Deployer performs the runtime-specific "update to new image" step and an optional wait for the deployment to stabilize.
Click to show internal directories.
Click to hide internal directories.