Documentation ¶
Index ¶
- func DeleteObject(ctx context.Context, localClient client.Client, pObj runtime.Object, ...) (ctrl.Result, error)
- func RegisterBackwardSyncer(ctx *context.ControllerContext, syncer Syncer, name string, ...) error
- func RegisterFakeSyncer(ctx *context.ControllerContext, syncer FakeSyncer, name string) error
- func RegisterForwardSyncer(ctx *context.ControllerContext, syncer Syncer, name string, ...) error
- func RegisterOneWayClusterSyncer(ctx *context.ControllerContext, clusterSyncer OneWayClusterSyncer, name string) error
- func RegisterSyncer(ctx *context.ControllerContext, syncer Syncer, name string, ...) error
- func RegisterSyncerIndices(ctx *context.ControllerContext, obj client.Object) error
- func RegisterTwoWayClusterSyncer(ctx *context.ControllerContext, clusterSyncer TwoWayClusterSyncer, name string) error
- func RegisterTwoWayClusterSyncerIndices(ctx *context.ControllerContext, obj client.Object, ...) error
- type BackwardDelete
- type BackwardLifecycle
- type BackwardUpdate
- type FakeSyncer
- type ForwardCreate
- type ForwardLifecycle
- type ForwardUpdate
- type Object
- type OneWayClusterSyncer
- type RegisterSyncerOptions
- type Syncer
- type TwoWayClusterSyncer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteObject ¶ added in v0.3.0
func RegisterBackwardSyncer ¶
func RegisterFakeSyncer ¶
func RegisterFakeSyncer(ctx *context.ControllerContext, syncer FakeSyncer, name string) error
func RegisterForwardSyncer ¶
func RegisterOneWayClusterSyncer ¶ added in v0.4.0
func RegisterOneWayClusterSyncer(ctx *context.ControllerContext, clusterSyncer OneWayClusterSyncer, name string) error
func RegisterSyncer ¶
func RegisterSyncer(ctx *context.ControllerContext, syncer Syncer, name string, options RegisterSyncerOptions) error
func RegisterSyncerIndices ¶
func RegisterSyncerIndices(ctx *context.ControllerContext, obj client.Object) error
func RegisterTwoWayClusterSyncer ¶ added in v0.4.0
func RegisterTwoWayClusterSyncer(ctx *context.ControllerContext, clusterSyncer TwoWayClusterSyncer, name string) error
Types ¶
type BackwardDelete ¶ added in v0.3.0
type BackwardLifecycle ¶
type BackwardUpdate ¶
type FakeSyncer ¶
type FakeSyncer interface { Object DependantObjectList() client.ObjectList NameFromDependantObject(ctx context.Context, obj client.Object) (types.NamespacedName, error) ReconcileStart(ctx context.Context, req ctrl.Request) (bool, error) ReconcileEnd() Create(ctx context.Context, name types.NamespacedName, log loghelper.Logger) error CreateNeeded(ctx context.Context, name types.NamespacedName) (bool, error) Delete(ctx context.Context, obj client.Object, log loghelper.Logger) error DeleteNeeded(ctx context.Context, obj client.Object) (bool, error) }
type ForwardCreate ¶
type ForwardLifecycle ¶
type ForwardUpdate ¶ added in v0.3.0
type OneWayClusterSyncer ¶ added in v0.4.0
type RegisterSyncerOptions ¶
type TwoWayClusterSyncer ¶ added in v0.4.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.