Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConditionReasonPodsNotReady is a reason which indicates why a ControlPlane // has not yet reached a fully Provisioned status. ConditionReasonPodsNotReady k8sutils.ConditionReason = "PodsNotReady" // ConditionReasonPodsReady is a reason which indicates how a ControlPlane // reached fully Provisioned status. ConditionReasonPodsReady k8sutils.ConditionReason = "PodsReady" // ControlPlaneConditionsReasonNoDataPlane is a reason which indicates that no DataPlane // has been provisioned. ConditionReasonNoDataPlane k8sutils.ConditionReason = "NoDataPlane" )
View Source
const ( // ConditionTypeProvisioned is a condition type indicating whether or // not all Deployments (or Daemonsets) for the ControlPlane have been provisioned // successfully. ConditionTypeProvisioned k8sutils.ConditionType = "Provisioned" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionReason ¶
type ConditionReason string
ConditionReason are the condition reasons for ControlPlane status conditions.
type ControlPlaneFinalizer ¶
type ControlPlaneFinalizer string
ControlPlaneFinalizer defines finalizers added by controlplane controller.
const ( // ControlPlaneFinalizerCleanupClusterRole is the finalizer to cleanup clusterroles owned by controlplane on deleting. ControlPlaneFinalizerCleanupClusterRole ControlPlaneFinalizer = "gateway-operator.konghq.com/cleanup-clusterrole" // ControlPlaneFinalizerCleanupClusterRoleBinding is the finalizer to cleanup clusterrolebindings owned by controlplane on deleting. ControlPlaneFinalizerCleanupClusterRoleBinding ControlPlaneFinalizer = "gateway-operator.konghq.com/cleanup-clusterrolebinding" // ControlPlaneFinalizerCleanupValidatingWebhookConfiguration is the finalizer to cleanup validatingwebhookconfigurations owned by controlplane on deleting. ControlPlaneFinalizerCleanupValidatingWebhookConfiguration ControlPlaneFinalizer = "gateway-operator.konghq.com/cleanup-validatingwebhookconfiguration" )
type Reconciler ¶
type Reconciler struct { client.Client Scheme *runtime.Scheme ClusterCASecretName string ClusterCASecretNamespace string DevelopmentMode bool }
Reconciler reconciles a ControlPlane object
func (*Reconciler) Reconcile ¶
Reconcile moves the current state of an object to the intended state.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.