upsert

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL