Documentation
¶
Index ¶
Constants ¶
View Source
const ( BatchStateInitial = rolloutv1alpha1.BatchStepStatePending BatchStatePaused = rolloutv1alpha1.BatchStepStatePaused BatchStatePreBatchHook = rolloutv1alpha1.BatchStepStatePreBatchStepHook BatchStateUpgrading = rolloutv1alpha1.BatchStepStateRunning BatchStatePostBatchHook = rolloutv1alpha1.BatchStepStatePostBatchStepHook BatchStateSucceeded = rolloutv1alpha1.BatchStepStateSucceeded )
View Source
const ( ReasonWebhookNotExist = "WebhookNotExist" ReasonWebhookExecuteError = "WebhookExecuteError" ReasonWebhookFailurePolicyInvalid = "WebhookFailurePolicyInvalid" ReasonWebhookReviewStatusCodeUnknown = "WebhookReviewStatusCodeUnknown" ReasonWebhookFailureThresholdExceeded = "WebhookFailureThresholdExceeded" )
View Source
const ( CodeUpgradingError = "UpgradingError" ReasonCheckReadyError = "CheckReadyError" ReasonUpgradePartitionError = "UpgradePartitionError" ReasonWorkloadStoreNotExist = "WorkloadStoreNotExist" ReasonWorkloadInterfaceNotExist = "WorkloadInterfaceNotExist" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewDefaultExecutor ¶
type ExecutorContext ¶
type ExecutorContext struct {
Rollout *rolloutv1alpha1.Rollout
RolloutRun *rolloutv1alpha1.RolloutRun
NewStatus *rolloutv1alpha1.RolloutRunStatus
Workloads *workload.Set
}
ExecutorContext context of rolloutRun
func (*ExecutorContext) Initialize ¶
func (c *ExecutorContext) Initialize()
Click to show internal directories.
Click to hide internal directories.