Documentation ¶
Index ¶
- func DeleteObject(ctx context.Context, localClient client.Client, pObj client.Object, ...) (ctrl.Result, error)
- func RegisterFakeSyncerWithOptions(ctx *context2.ControllerContext, name string, syncer FakeSyncer, ...) error
- func RegisterSyncer(ctx *context2.ControllerContext, name string, syncer Syncer) error
- func RegisterSyncerIndices(ctx *context2.ControllerContext, obj client.Object) error
- func RegisterSyncerWithOptions(ctx *context2.ControllerContext, name string, syncer Syncer, ...) error
- type BackwardSyncer
- type FakeSyncer
- type GenericCreator
- type Object
- type Starter
- type Syncer
- type SyncerOptions
- type Translator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteObject ¶ added in v0.3.0
func RegisterFakeSyncerWithOptions ¶ added in v0.4.4
func RegisterFakeSyncerWithOptions(ctx *context2.ControllerContext, name string, syncer FakeSyncer, options *SyncerOptions) error
func RegisterSyncer ¶
func RegisterSyncer(ctx *context2.ControllerContext, name string, syncer Syncer) error
func RegisterSyncerIndices ¶
func RegisterSyncerIndices(ctx *context2.ControllerContext, obj client.Object) error
func RegisterSyncerWithOptions ¶ added in v0.4.4
func RegisterSyncerWithOptions(ctx *context2.ControllerContext, name string, syncer Syncer, options *SyncerOptions) error
Types ¶
type BackwardSyncer ¶ added in v0.4.4
type FakeSyncer ¶
type GenericCreator ¶ added in v0.4.4
type GenericCreator struct {
// contains filtered or unexported fields
}
func NewGenericCreator ¶ added in v0.4.4
func NewGenericCreator(localClient client.Client, eventRecorder record.EventRecorder, name string) *GenericCreator
type SyncerOptions ¶ added in v0.4.4
type Translator ¶ added in v0.4.4
type Translator interface { IsManaged(pObj client.Object) (bool, error) VirtualToPhysical(req types.NamespacedName, vObj client.Object) types.NamespacedName PhysicalToVirtual(pObj client.Object) types.NamespacedName }
func NewClusterTranslator ¶ added in v0.4.4
func NewClusterTranslator(physicalNamespace string, virtualClient client.Client, obj client.Object, nameTranslator translate.PhysicalNameTranslator) Translator
func NewMirrorBackwardTranslator ¶
func NewMirrorBackwardTranslator() Translator
func NewNamespacedTranslator ¶ added in v0.4.4
Source Files ¶
Click to show internal directories.
Click to hide internal directories.