package
1.0.0
Repository: https://github.com/charlesld/controller-util.git
Documentation: pkg.go.dev

# Functions

NewExternalSyncer creates a new syncer which syncs a generic object persisting it's state into and external store The name is used for logging and event emitting purposes and should be an valid go identifier in upper camel case.
NewObjectSyncer creates a new kubernetes.Object syncer for a given object with an owner and persists data using controller-runtime's CreateOrUpdate.
Sync mutates the subject of the syncer interface using controller-runtime CreateOrUpdate method, when obj is not nil.

# Variables

ErrIgnore when returned the syncer ignores it and returns nil.

# Structs

ObjectSyncer is a syncer.Interface for syncing kubernetes.Objects only by passing a SyncFn.
SyncResult is a result of an Sync call.
WithoutOwner partially implements implements the syncer interface for the case the subject has no owner.

# Interfaces

Interface represents a syncer.