Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultDuration = 2 * time.Second
)
View Source
const ReleaseFinalizer = "rollouts.kruise.io/batch-release-finalizer"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchReleaseReconciler ¶
type BatchReleaseReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
BatchReleaseReconciler reconciles a BatchRelease object
type EventAction ¶
type EventAction string
const ( CreateEventAction EventAction = "Create" DeleteEventAction EventAction = "Delete" )
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor is the controller that controls the release plan resource
func NewReleasePlanExecutor ¶
func NewReleasePlanExecutor(cli client.Client, recorder record.EventRecorder) *Executor
NewReleasePlanExecutor creates a RolloutPlanController
func (*Executor) Do ¶
func (r *Executor) Do(release *v1beta1.BatchRelease) (reconcile.Result, *v1beta1.BatchReleaseStatus, error)
Do execute the release plan
Source Files
¶
Click to show internal directories.
Click to hide internal directories.