Documentation ¶
Index ¶
Constants ¶
View Source
const LoopDetectorWarningMessage = "" /* 135-byte string literal not displayed */
LoopDetectorWarningMessage is logged whenever we detect multiple updates of the same object without observering a no-op update.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrUpdateFN ¶
type CreateOrUpdateFN = func(ctx context.Context, c crclient.Client, obj crclient.Object, f controllerutil.MutateFn) (controllerutil.OperationResult, error)
type CreateOrUpdateProvider ¶
type CreateOrUpdateProvider interface {
CreateOrUpdate(ctx context.Context, c crclient.Client, obj crclient.Object, f controllerutil.MutateFn) (controllerutil.OperationResult, error)
}
func New ¶
func New(enableUpdateLoopDetector bool) CreateOrUpdateProvider
type CreateOrUpdateProviderV2 ¶ added in v0.1.49
type CreateOrUpdateProviderV2 interface {
CreateOrUpdateV2(ctx context.Context, c crclient.Client, obj crclient.Object) (controllerutil.OperationResult, error)
}
func NewV2 ¶ added in v0.1.49
func NewV2(enableUpdateLoopDetector bool) CreateOrUpdateProviderV2
Click to show internal directories.
Click to hide internal directories.