Documentation ¶
Index ¶
Constants ¶
View Source
const ( DownscaleStrategy = "downscale" RolloutAbortStrategy = "abort-rollout" )
Variables ¶
View Source
var ErrNoAvailableStrategies = errors.New("no cleanup strategies suitable for this deployment")
Functions ¶
This section is empty.
Types ¶
type CleanUpJudge ¶
type CleanUpJudge struct {
// contains filtered or unexported fields
}
func NewCleanUpJudge ¶
func NewCleanUpJudge(config *config.Config) *CleanUpJudge
func (*CleanUpJudge) Judge ¶
func (j *CleanUpJudge) Judge(deployments []*appsv1.Deployment) []*appsv1.Deployment
type CoreCriteriaJudge ¶
type CoreCriteriaJudge struct {
// contains filtered or unexported fields
}
func NewCoreCriteriaJudge ¶
func (*CoreCriteriaJudge) Failing ¶
func (d *CoreCriteriaJudge) Failing(ctx context.Context, deployments *appsv1.DeploymentList) []*appsv1.Deployment
type Executioner ¶
type Executioner struct {
// contains filtered or unexported fields
}
func NewExecutioner ¶
func (*Executioner) Kill ¶
func (e *Executioner) Kill(ctx context.Context, deployments []*appsv1.Deployment)
Click to show internal directories.
Click to hide internal directories.