Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ReasonResourcesActive indicates all resources are deployed and actively running (ReleaseState=Active) ReasonResourcesActive controller.ConditionReason = "ResourcesActive" // ReasonResourcesSuspended indicates resources are intentionally suspended (ReleaseState=Suspend) ReasonResourcesSuspended controller.ConditionReason = "ResourcesSuspended" // ReasonResourcesUndeployed indicates resources are intentionally undeployed (ReleaseState=Undeploy) ReasonResourcesUndeployed controller.ConditionReason = "ResourcesUndeployed" // ReasonResourceHealthProgressing indicates one or more resources are being deployed/updated ReasonResourceHealthProgressing controller.ConditionReason = "ResourceHealthProgressing" // ReasonResourceHealthDegraded indicates one or more resources are in error state ReasonResourceHealthDegraded controller.ConditionReason = "ResourceHealthDegraded" // ReasonServiceClassNotFound indicates the referenced ServiceClass doesn't exist ReasonServiceClassNotFound controller.ConditionReason = "ServiceClassNotFound" // ReasonAPIClassNotFound indicates a referenced APIClass doesn't exist ReasonAPIClassNotFound controller.ConditionReason = "APIClassNotFound" // ReasonInvalidConfiguration indicates the binding configuration is invalid ReasonInvalidConfiguration controller.ConditionReason = "InvalidConfiguration" // ReasonReleaseCreationFailed indicates failure to create the Release ReasonReleaseCreationFailed controller.ConditionReason = "ReleaseCreationFailed" // ReasonReleaseUpdateFailed indicates failure to update the Release ReasonReleaseUpdateFailed controller.ConditionReason = "ReleaseUpdateFailed" // ReasonReleaseDeletionFailed indicates failure to delete the Release during undeploy ReasonReleaseDeletionFailed controller.ConditionReason = "ReleaseDeletionFailed" )
View Source
const ( // ConditionReady indicates that the ServiceBinding is ready and functioning ConditionReady controller.ConditionType = "Ready" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
Reconciler reconciles a ServiceBinding object
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, rErr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ServiceBinding object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.