{"modulePath":"github.com/AlaudaDevops/pkg","version":"v0.14.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package finalizer\n\nPackage finalizer provides a set of functions to manage finalizers\n\n## Functions\n\n```go\nfunc AddFinalizer(ctx context.Context, clt client.Client, o client.Object, finalizerKey string) error\n```\nAddFinalizer adds a finalizer to the object\n\n```go\nfunc PrependFinalizer(ctx context.Context, clt client.Client, o client.Object, finalizerKey string) error\n```\nPrependFinalizer adds a finalizer to the object and prepends it to the list NOTE: do not use this method as much as possible, use AddFinalizer instead\n\n```go\nfunc RemoveFinalizer(ctx context.Context, clt client.Client, o client.Object, finalizerKey string,\n\tcallback func(context.Context) error) error\n```\nRemoveFinalizer removes a finalizer from the object\n\n","path":"github.com/AlaudaDevops/pkg/finalizer","name":"finalizer","synopsis":"Package finalizer provides a set of functions to manage finalizers","isRedistributable":true}
