Documentation ¶
Index ¶
Constants ¶
const ( GetConditionID = 0 CreateConditionID = 1 UpdateConditionID = 2 DeleteConditionID = 3 ConflictConditionID = 4 NotExistConditionID = 5 NumberOfConditionTypes = 6 OperationSucceeded = "Succeeded" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileResourceDistribution ¶
type ReconcileResourceDistribution struct { client.Client // contains filtered or unexported fields }
ReconcileResourceDistribution reconciles a ResourceDistribution object
func (*ReconcileResourceDistribution) Reconcile ¶
func (r *ReconcileResourceDistribution) Reconcile(_ context.Context, req ctrl.Request) (ctrl.Result, 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 ResourceDistribution 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.6.4/pkg/reconcile
func (*ReconcileResourceDistribution) SetupWithManager ¶
func (r *ReconcileResourceDistribution) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UnexpectedError ¶
type UnexpectedError struct {
// contains filtered or unexported fields
}
UnexpectedError is designed to store the information about .status.conditions when error occurs