Documentation ¶
Index ¶
- func AddDeletePhaseController(mgr manager.Manager) error
- func AddInstallPhaseController(mgr manager.Manager) error
- func AddOperationalPhaseController(mgr manager.Manager) error
- func AddPlanningPhaseController(mgr manager.Manager) error
- func AddRollbackPhaseController(mgr manager.Manager) error
- func AddTestPhaseController(mgr manager.Manager) error
- func AddTrafficDrainPhaseController(mgr manager.Manager) error
- func AddTrafficRolloutPhaseController(mgr manager.Manager) error
- func AddUpgradePhaseController(mgr manager.Manager) error
- type DeletePhaseReconciler
- type InstallPhaseReconciler
- type OperationalPhaseReconciler
- type PhaseReconciler
- type PlanningPhaseReconciler
- type RollbackPhaseReconciler
- type TestPhaseReconciler
- type TrafficDrainPhaseReconciler
- type TrafficRolloutPhaseReconciler
- type UpgradePhaseReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDeletePhaseController ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (r *TrafficDrainPhaseReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)
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 ¶
func (r *TrafficRolloutPhaseReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)
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 ¶
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.