Documentation ¶
Index ¶
- func Add(ctx context.Context, c *config.CompletedConfig, mgr manager.Manager) error
- func NewYurtAppSetCondition(condType unitv1beta1.YurtAppSetConditionType, status corev1.ConditionStatus, ...) *unitv1beta1.YurtAppSetCondition
- func RemoveYurtAppSetCondition(status *unitv1beta1.YurtAppSetStatus, ...)
- func SetYurtAppSetCondition(status *unitv1beta1.YurtAppSetStatus, ...)
- type ReconcileYurtAppSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new YurtAppSet Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func NewYurtAppSetCondition ¶
func NewYurtAppSetCondition(condType unitv1beta1.YurtAppSetConditionType, status corev1.ConditionStatus, reason, message string) *unitv1beta1.YurtAppSetCondition
NewYurtAppSetCondition creates a new YurtAppSet condition.
func RemoveYurtAppSetCondition ¶
func RemoveYurtAppSetCondition(status *unitv1beta1.YurtAppSetStatus, condType unitv1beta1.YurtAppSetConditionType)
RemoveYurtAppSetCondition removes the YurtAppSet condition with the provided type.
func SetYurtAppSetCondition ¶
func SetYurtAppSetCondition(status *unitv1beta1.YurtAppSetStatus, condition *unitv1beta1.YurtAppSetCondition)
SetYurtAppSetCondition updates the YurtAppSet to include the provided condition. If the condition that we are about to add already exists and has the same status, reason then we are not going to update.
Types ¶
type ReconcileYurtAppSet ¶
ReconcileYurtAppSet reconciles a YurtAppSet object
func (*ReconcileYurtAppSet) Reconcile ¶
func (r *ReconcileYurtAppSet) Reconcile(_ context.Context, request reconcile.Request) (res reconcile.Result, err error)
Reconcile reads that state of the cluster for a YurtAppSet object and makes changes based on the state read and what is in the YurtAppSet.Spec