osphases

package
v1.16.2-keleustes.2019... Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDeletePhaseController

func AddDeletePhaseController(mgr manager.Manager) error

AddDeletePhaseController creates a new DeletePhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddInstallPhaseController

func AddInstallPhaseController(mgr manager.Manager) error

AddInstallPhaseController creates a new InstallPhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddOperationalPhaseController

func AddOperationalPhaseController(mgr manager.Manager) error

AddOperationalPhaseController creates a new OperationalPhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddPlanningPhaseController

func AddPlanningPhaseController(mgr manager.Manager) error

AddPlanningPhaseController creates a new PlanningPhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddRollbackPhaseController

func AddRollbackPhaseController(mgr manager.Manager) error

AddRollbackPhaseController creates a new RollbackPhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddTestPhaseController

func AddTestPhaseController(mgr manager.Manager) error

AddTestPhaseController creates a new TestPhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddTrafficDrainPhaseController

func AddTrafficDrainPhaseController(mgr manager.Manager) error

AddTrafficDrainPhaseController creates a new TrafficDrainPhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddTrafficRolloutPhaseController

func AddTrafficRolloutPhaseController(mgr manager.Manager) error

AddTrafficRolloutPhaseController creates a new TrafficRolloutPhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddUpgradePhaseController

func AddUpgradePhaseController(mgr manager.Manager) error

AddUpgradePhaseController creates a new UpgradePhase Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type DeletePhaseReconciler

type DeletePhaseReconciler struct {
	PhaseReconciler
}

DeletePhaseReconciler reconciles DeletePhase CRD as K8s SubResources.

func (*DeletePhaseReconciler) Reconcile

func (r *DeletePhaseReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for an DeletePhase object and makes changes based on the state read and what is in the DeletePhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type InstallPhaseReconciler

type InstallPhaseReconciler struct {
	PhaseReconciler
}

InstallPhaseReconciler reconciles InstallPhase CRD as K8s SubResources.

func (*InstallPhaseReconciler) Reconcile

func (r *InstallPhaseReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for an InstallPhase object and makes changes based on the state read and what is in the InstallPhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type OperationalPhaseReconciler

type OperationalPhaseReconciler struct {
	PhaseReconciler
}

OperationalPhaseReconciler reconciles OperationalPhase CRD as K8s SubResources.

func (*OperationalPhaseReconciler) Reconcile

Reconcile reads that state of the cluster for an OperationalPhase object and makes changes based on the state read and what is in the OperationalPhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type PhaseReconciler

type PhaseReconciler struct {
	// contains filtered or unexported fields
}

PhaseReconciler reconciles custom resources as Workflow, Jobs....

func (*PhaseReconciler) BuildDependentPredicate

func (r *PhaseReconciler) BuildDependentPredicate() *crtpredicate.Funcs

buildDependentPredicate create the predicates used by subresources watches

type PlanningPhaseReconciler

type PlanningPhaseReconciler struct {
	PhaseReconciler
}

PlanningPhaseReconciler reconciles PlanningPhase CRD as K8s SubResources.

func (*PlanningPhaseReconciler) Reconcile

Reconcile reads that state of the cluster for an PlanningPhase object and makes changes based on the state read and what is in the PlanningPhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type RollbackPhaseReconciler

type RollbackPhaseReconciler struct {
	PhaseReconciler
}

RollbackPhaseReconciler reconciles RollbackPhase CRD as K8s SubResources.

func (*RollbackPhaseReconciler) Reconcile

Reconcile reads that state of the cluster for an RollbackPhase object and makes changes based on the state read and what is in the RollbackPhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type TestPhaseReconciler

type TestPhaseReconciler struct {
	PhaseReconciler
}

TestPhaseReconciler reconciles TestPhase CRD as K8s SubResources.

func (*TestPhaseReconciler) Reconcile

func (r *TestPhaseReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for an TestPhase object and makes changes based on the state read and what is in the TestPhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type TrafficDrainPhaseReconciler

type TrafficDrainPhaseReconciler struct {
	PhaseReconciler
}

TrafficDrainPhaseReconciler reconciles TrafficDrainPhase CRD as K8s SubResources.

func (*TrafficDrainPhaseReconciler) Reconcile

Reconcile reads that state of the cluster for an TrafficDrainPhase object and makes changes based on the state read and what is in the TrafficDrainPhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type TrafficRolloutPhaseReconciler

type TrafficRolloutPhaseReconciler struct {
	PhaseReconciler
}

TrafficRolloutPhaseReconciler reconciles TrafficRolloutPhase CRD as K8s SubResources.

func (*TrafficRolloutPhaseReconciler) Reconcile

Reconcile reads that state of the cluster for an TrafficRolloutPhase object and makes changes based on the state read and what is in the TrafficRolloutPhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type UpgradePhaseReconciler

type UpgradePhaseReconciler struct {
	PhaseReconciler
}

UpgradePhaseReconciler reconciles UpgradePhase CRD as K8s SubResources.

func (*UpgradePhaseReconciler) Reconcile

func (r *UpgradePhaseReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for an UpgradePhase object and makes changes based on the state read and what is in the UpgradePhase.Spec

Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

Jump to

Keyboard shortcuts

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