Documentation ¶
Index ¶
Constants ¶
View Source
const NfsPvcDeletionFinalizer = "nfspvc.dana.io/nfspvc-protection"
Variables ¶
This section is empty.
Functions ¶
func EnsureFinalizer ¶
func EnsureFinalizer(ctx context.Context, nfspvc danaiov1alpha1.NfsPvc, k8sClient client.Client, log logr.Logger) error
EnsureFinalizer ensures the nfspvc has the finalizer.
func HandleResourceDeletion ¶
func HandleResourceDeletion(ctx context.Context, nfspvc danaiov1alpha1.NfsPvc, log logr.Logger, k8sClient client.Client) (error, bool)
HandleResourceDeletion ensures the deletion of the nfspvc.
func IsFailedCleanUp ¶
IsFailedCleanUp returns true if the specified error is FailedCleanUpError.
Types ¶
type FailedCleanUpError ¶
type FailedCleanUpError struct {
Message string
}
func (*FailedCleanUpError) Error ¶
func (e *FailedCleanUpError) Error() string
Error implements the error interface for FailedCleanUpError.
Click to show internal directories.
Click to hide internal directories.