Documentation ¶
Index ¶
- func Add(ctx context.Context, c *config.CompletedConfig, mgr manager.Manager) error
- func Format(format string, args ...interface{}) string
- func GetYurtAppDaemonCondition(status unitv1alpha1.YurtAppDaemonStatus, ...) *unitv1alpha1.YurtAppDaemonCondition
- func IsTolerationsAllTaints(tolerations []corev1.Toleration, taints []corev1.Taint) bool
- func NewYurtAppDaemonCondition(condType unitv1alpha1.YurtAppDaemonConditionType, ...) *unitv1alpha1.YurtAppDaemonCondition
- func RemoveYurtAppDaemonCondition(status *unitv1alpha1.YurtAppDaemonStatus, ...)
- func SetYurtAppDaemonCondition(status *unitv1alpha1.YurtAppDaemonStatus, ...)
- type EnqueueYurtAppDaemonForNodePool
- func (e *EnqueueYurtAppDaemonForNodePool) Create(ctx context.Context, event event.CreateEvent, ...)
- func (e *EnqueueYurtAppDaemonForNodePool) Delete(ctx context.Context, event event.DeleteEvent, ...)
- func (e *EnqueueYurtAppDaemonForNodePool) Generic(ctx context.Context, event event.GenericEvent, ...)
- func (e *EnqueueYurtAppDaemonForNodePool) Update(ctx context.Context, event event.UpdateEvent, ...)
- type ReconcileYurtAppDaemon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new YurtAppDaemon 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 GetYurtAppDaemonCondition ¶
func GetYurtAppDaemonCondition(status unitv1alpha1.YurtAppDaemonStatus, condType unitv1alpha1.YurtAppDaemonConditionType) *unitv1alpha1.YurtAppDaemonCondition
GetYurtAppDaemonCondition returns the condition with the provided type.
func IsTolerationsAllTaints ¶
func IsTolerationsAllTaints(tolerations []corev1.Toleration, taints []corev1.Taint) bool
func NewYurtAppDaemonCondition ¶
func NewYurtAppDaemonCondition(condType unitv1alpha1.YurtAppDaemonConditionType, status corev1.ConditionStatus, reason, message string) *unitv1alpha1.YurtAppDaemonCondition
NewYurtAppDaemonCondition creates a new YurtAppDaemon condition.
func RemoveYurtAppDaemonCondition ¶
func RemoveYurtAppDaemonCondition(status *unitv1alpha1.YurtAppDaemonStatus, condType unitv1alpha1.YurtAppDaemonConditionType)
RemoveYurtAppDaemonCondition removes the YurtAppDaemon condition with the provided type.
func SetYurtAppDaemonCondition ¶
func SetYurtAppDaemonCondition(status *unitv1alpha1.YurtAppDaemonStatus, condition *unitv1alpha1.YurtAppDaemonCondition)
SetYurtAppDaemonCondition updates the YurtAppDaemon to include the provided condition. If the condition that we are about to add already exists and has the same status, reason and message then we are not going to update.
Types ¶
type EnqueueYurtAppDaemonForNodePool ¶
type EnqueueYurtAppDaemonForNodePool struct {
// contains filtered or unexported fields
}
func (*EnqueueYurtAppDaemonForNodePool) Create ¶
func (e *EnqueueYurtAppDaemonForNodePool) Create(ctx context.Context, event event.CreateEvent, limitingInterface workqueue.RateLimitingInterface)
func (*EnqueueYurtAppDaemonForNodePool) Delete ¶
func (e *EnqueueYurtAppDaemonForNodePool) Delete(ctx context.Context, event event.DeleteEvent, limitingInterface workqueue.RateLimitingInterface)
func (*EnqueueYurtAppDaemonForNodePool) Generic ¶
func (e *EnqueueYurtAppDaemonForNodePool) Generic(ctx context.Context, event event.GenericEvent, limitingInterface workqueue.RateLimitingInterface)
func (*EnqueueYurtAppDaemonForNodePool) Update ¶
func (e *EnqueueYurtAppDaemonForNodePool) Update(ctx context.Context, event event.UpdateEvent, limitingInterface workqueue.RateLimitingInterface)
type ReconcileYurtAppDaemon ¶
ReconcileYurtAppDaemon reconciles a YurtAppDaemon object
func (*ReconcileYurtAppDaemon) Reconcile ¶
func (r *ReconcileYurtAppDaemon) Reconcile(_ context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a YurtAppDaemon object and makes changes based on the state read and what is in the YurtAppDaemon.Spec