syncer

package
v0.20.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteObject

func DeleteObject(ctx *synccontext.SyncContext, pObj client.Object, reason string) (ctrl.Result, error)

func RegisterFakeSyncer

func RegisterFakeSyncer(ctx *synccontext.RegisterContext, syncer syncertypes.FakeSyncer) error

func RegisterSyncer

func RegisterSyncer(ctx *synccontext.RegisterContext, syncer syncertypes.Syncer) error

Types

type SyncController added in v0.20.0

type SyncController struct {
	// contains filtered or unexported fields
}

func NewSyncController added in v0.20.0

func NewSyncController(ctx *synccontext.RegisterContext, syncer syncertypes.Syncer) *SyncController

func (*SyncController) Reconcile added in v0.20.0

func (r *SyncController) Reconcile(ctx context.Context, origReq ctrl.Request) (_ ctrl.Result, err error)

func (*SyncController) Register added in v0.20.0

func (r *SyncController) Register(ctx *synccontext.RegisterContext) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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