Documentation
¶
Overview ¶
Package deployment applies desired workload versions to the local container runtime and handles rollback when deployment fails.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer interface {
PruneDanglingImages(ctx context.Context, targetLabels map[string]string) error
CurrentRuntimeState(ctx context.Context, workload config.Workload) (RuntimeState, error)
Deploy(ctx context.Context, workload config.Workload, meta git_provider.DeploymentMetadata, stateMgr state.Manager) error
}
type MetadataApplicationStrategy ¶
type MetadataApplicationStrategy interface {
ApplyDeploymentMetadata(ctx context.Context, workload config.Workload, meta git_provider.DeploymentMetadata) error
}
func NewStrategy ¶
func NewStrategy(cfg config.Strategy, log *slog.Logger) MetadataApplicationStrategy
type RuntimeState ¶
RuntimeState is the reconciler's view of the currently running workload.
Click to show internal directories.
Click to hide internal directories.