Documentation ¶
Index ¶
- type ConfigMapHandler
- func (sch *ConfigMapHandler) Create(_ context.Context, evt event.TypedCreateEvent[*corev1.ConfigMap], ...)
- func (sch *ConfigMapHandler) Delete(_ context.Context, evt event.TypedDeleteEvent[*corev1.ConfigMap], ...)
- func (sch *ConfigMapHandler) Generic(_ context.Context, _ event.TypedGenericEvent[*corev1.ConfigMap], ...)
- func (sch *ConfigMapHandler) Update(_ context.Context, evt event.TypedUpdateEvent[*corev1.ConfigMap], ...)
- type SecretHandler
- func (sch *SecretHandler) Create(_ context.Context, evt event.TypedCreateEvent[*corev1.Secret], ...)
- func (sch *SecretHandler) Delete(_ context.Context, evt event.TypedDeleteEvent[*corev1.Secret], ...)
- func (sch *SecretHandler) Generic(_ context.Context, _ event.TypedGenericEvent[*corev1.Secret], ...)
- func (sch *SecretHandler) Update(_ context.Context, evt event.TypedUpdateEvent[*corev1.Secret], ...)
- type Status
- func (s *Status) IsDeleteFailed() bool
- func (s *Status) IsDeleting() bool
- func (s *Status) IsReconcileFailed() bool
- func (s *Status) IsReconcileSucceeded() bool
- func (s *Status) IsReconciling() bool
- func (s *Status) Result() kcv1alpha1.GenericStatus
- func (s *Status) SetDeleteCompleted(err error)
- func (s *Status) SetDeleting(meta metav1.ObjectMeta)
- func (s *Status) SetReconcileCompleted(err error)
- func (s *Status) SetReconciling(meta metav1.ObjectMeta)
- func (s *Status) SetUsefulErrorMessage(errMsg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapHandler ¶
type ConfigMapHandler struct {
// contains filtered or unexported fields
}
func NewConfigMapHandler ¶
func NewConfigMapHandler(log logr.Logger, as *reftracker.AppRefTracker, aus *reftracker.AppUpdateStatus) *ConfigMapHandler
func (*ConfigMapHandler) Create ¶
func (sch *ConfigMapHandler) Create(_ context.Context, evt event.TypedCreateEvent[*corev1.ConfigMap], q workqueue.RateLimitingInterface)
Create is called in response to create event
func (*ConfigMapHandler) Delete ¶
func (sch *ConfigMapHandler) Delete(_ context.Context, evt event.TypedDeleteEvent[*corev1.ConfigMap], q workqueue.RateLimitingInterface)
Delete is called in response to a delete event
func (*ConfigMapHandler) Generic ¶
func (sch *ConfigMapHandler) Generic(_ context.Context, _ event.TypedGenericEvent[*corev1.ConfigMap], _ workqueue.RateLimitingInterface)
Generic is called in response to an event of an unknown type or a synthetic event triggered as a cron or external trigger request - e.g. reconcile Autoscaling, or a Webhook.
func (*ConfigMapHandler) Update ¶
func (sch *ConfigMapHandler) Update(_ context.Context, evt event.TypedUpdateEvent[*corev1.ConfigMap], q workqueue.RateLimitingInterface)
Update is called in response to an update event
type SecretHandler ¶
type SecretHandler struct {
// contains filtered or unexported fields
}
func NewSecretHandler ¶
func NewSecretHandler(log logr.Logger, as *reftracker.AppRefTracker, aus *reftracker.AppUpdateStatus) *SecretHandler
func (*SecretHandler) Create ¶
func (sch *SecretHandler) Create(_ context.Context, evt event.TypedCreateEvent[*corev1.Secret], q workqueue.RateLimitingInterface)
Create is called in response to an create event
func (*SecretHandler) Delete ¶
func (sch *SecretHandler) Delete(_ context.Context, evt event.TypedDeleteEvent[*corev1.Secret], q workqueue.RateLimitingInterface)
Delete is called in response to a delete event
func (*SecretHandler) Generic ¶
func (sch *SecretHandler) Generic(_ context.Context, _ event.TypedGenericEvent[*corev1.Secret], _ workqueue.RateLimitingInterface)
Generic is called in response to an event of an unknown type or a synthetic event triggered as a cron or external trigger request - e.g. reconcile Autoscaling, or a Webhook.
func (*SecretHandler) Update ¶
func (sch *SecretHandler) Update(_ context.Context, evt event.TypedUpdateEvent[*corev1.Secret], q workqueue.RateLimitingInterface)
Update is called in response to an update event
type Status ¶
type Status struct { S kcv1alpha1.GenericStatus UpdateFunc func(kcv1alpha1.GenericStatus) }
func (*Status) IsDeleteFailed ¶
func (*Status) IsDeleting ¶
func (*Status) IsReconcileFailed ¶
func (*Status) IsReconcileSucceeded ¶
func (*Status) IsReconciling ¶
func (*Status) Result ¶
func (s *Status) Result() kcv1alpha1.GenericStatus
func (*Status) SetDeleteCompleted ¶
func (*Status) SetDeleting ¶
func (s *Status) SetDeleting(meta metav1.ObjectMeta)
func (*Status) SetReconcileCompleted ¶
func (*Status) SetReconciling ¶
func (s *Status) SetReconciling(meta metav1.ObjectMeta)