rollout

package
v1.9.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL