Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v0.3.3
type Controller struct {
// contains filtered or unexported fields
}
Controller is the controller that controls the rollout plan resource
func NewRolloutPlanController ¶ added in v0.3.3
func NewRolloutPlanController(client client.Client, parentController oam.Object, recorder event.Recorder, rolloutSpec *v1alpha1.RolloutPlan, rolloutStatus *v1alpha1.RolloutStatus, targetWorkload, sourceWorkload *unstructured.Unstructured) *Controller
NewRolloutPlanController creates a RolloutPlanController
func (*Controller) GetWorkloadController ¶ added in v0.3.3
func (r *Controller) GetWorkloadController() (workloads.WorkloadController, error)
GetWorkloadController pick the right workload controller to work on the workload
func (*Controller) Reconcile ¶ added in v0.3.3
func (r *Controller) Reconcile(ctx context.Context) (res reconcile.Result, status *v1alpha1.RolloutStatus)
Reconcile reconciles a rollout plan
Click to show internal directories.
Click to hide internal directories.