Documentation ¶
Index ¶
- type ConfigMapHandler
- func (sch *ConfigMapHandler) Create(_ context.Context, evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (sch *ConfigMapHandler) Delete(_ context.Context, evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (sch *ConfigMapHandler) Generic(_ context.Context, _ event.GenericEvent, _ workqueue.RateLimitingInterface)
- func (sch *ConfigMapHandler) Update(_ context.Context, evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- type SecretHandler
- func (sch *SecretHandler) Create(_ context.Context, evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (sch *SecretHandler) Delete(_ context.Context, evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (sch *SecretHandler) Generic(_ context.Context, _ event.GenericEvent, _ workqueue.RateLimitingInterface)
- func (sch *SecretHandler) Update(_ context.Context, evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- 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 ¶ added in v0.25.0
type ConfigMapHandler struct {
// contains filtered or unexported fields
}
func NewConfigMapHandler ¶ added in v0.25.0
func NewConfigMapHandler(log logr.Logger, as *reftracker.AppRefTracker, aus *reftracker.AppUpdateStatus) *ConfigMapHandler
func (*ConfigMapHandler) Create ¶ added in v0.25.0
func (sch *ConfigMapHandler) Create(_ context.Context, evt event.CreateEvent, q workqueue.RateLimitingInterface)
Create is called in response to create event
func (*ConfigMapHandler) Delete ¶ added in v0.25.0
func (sch *ConfigMapHandler) Delete(_ context.Context, evt event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete is called in response to a delete event
func (*ConfigMapHandler) Generic ¶ added in v0.25.0
func (sch *ConfigMapHandler) Generic(_ context.Context, _ event.GenericEvent, _ 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 ¶ added in v0.25.0
func (sch *ConfigMapHandler) Update(_ context.Context, evt event.UpdateEvent, q workqueue.RateLimitingInterface)
Update is called in response to an update event
type SecretHandler ¶ added in v0.25.0
type SecretHandler struct {
// contains filtered or unexported fields
}
func NewSecretHandler ¶ added in v0.25.0
func NewSecretHandler(log logr.Logger, as *reftracker.AppRefTracker, aus *reftracker.AppUpdateStatus) *SecretHandler
func (*SecretHandler) Create ¶ added in v0.25.0
func (sch *SecretHandler) Create(_ context.Context, evt event.CreateEvent, q workqueue.RateLimitingInterface)
Create is called in response to an create event
func (*SecretHandler) Delete ¶ added in v0.25.0
func (sch *SecretHandler) Delete(_ context.Context, evt event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete is called in response to a delete event
func (*SecretHandler) Generic ¶ added in v0.25.0
func (sch *SecretHandler) Generic(_ context.Context, _ event.GenericEvent, _ 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 ¶ added in v0.25.0
func (sch *SecretHandler) Update(_ context.Context, evt event.UpdateEvent, 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)