Documentation ¶
Index ¶
- func CausedByUnresolvableDeps(err error) (unwrappedErr error, ok bool)
- func IsOrphaned(resource *k8s.Resource, parentReferenceConfigs []corekccv1alpha1.TypeConfig, ...) (orphaned bool, parent *k8s.Resource, err error)
- type LifecycleHandler
- func (r *LifecycleHandler) EnsureFinalizers(ctx context.Context, original, resource *k8s.Resource, finalizers ...string) error
- func (r *LifecycleHandler) HandleDeleteFailed(ctx context.Context, resource *k8s.Resource, err error) error
- func (r *LifecycleHandler) HandleDeleted(ctx context.Context, resource *k8s.Resource) error
- func (r *LifecycleHandler) HandleDeleting(ctx context.Context, resource *k8s.Resource) error
- func (r *LifecycleHandler) HandleObtainLeaseFailed(ctx context.Context, resource *k8s.Resource, err error) error
- func (r *LifecycleHandler) HandlePostActuationTransformFailed(ctx context.Context, resource *k8s.Resource, err error) error
- func (r *LifecycleHandler) HandlePreActuationTransformFailed(ctx context.Context, resource *k8s.Resource, err error) error
- func (r *LifecycleHandler) HandleUnresolvableDeps(ctx context.Context, resource *k8s.Resource, originErr error) error
- func (r *LifecycleHandler) HandleUpToDate(ctx context.Context, resource *k8s.Resource) error
- func (r *LifecycleHandler) HandleUpdateFailed(ctx context.Context, resource *k8s.Resource, err error) error
- func (r *LifecycleHandler) HandleUpdating(ctx context.Context, resource *k8s.Resource) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsOrphaned ¶
func IsOrphaned(resource *k8s.Resource, parentReferenceConfigs []corekccv1alpha1.TypeConfig, kubeClient client.Client) (orphaned bool, parent *k8s.Resource, err error)
Types ¶
type LifecycleHandler ¶
type LifecycleHandler struct { client.Client Recorder record.EventRecorder }
The LifecycleHandler contains common methods to handle the lifecycle of the reconciliation
func (*LifecycleHandler) EnsureFinalizers ¶
func (*LifecycleHandler) HandleDeleteFailed ¶
func (*LifecycleHandler) HandleDeleted ¶
func (*LifecycleHandler) HandleDeleting ¶
func (*LifecycleHandler) HandleObtainLeaseFailed ¶
func (*LifecycleHandler) HandlePostActuationTransformFailed ¶
func (*LifecycleHandler) HandlePreActuationTransformFailed ¶
func (*LifecycleHandler) HandleUnresolvableDeps ¶
func (*LifecycleHandler) HandleUpToDate ¶
func (*LifecycleHandler) HandleUpdateFailed ¶
func (*LifecycleHandler) HandleUpdating ¶
Click to show internal directories.
Click to hide internal directories.