Documentation
¶
Index ¶
- func ReconcileAndGetObject[U any, T Reconcileable[U]](ctx context.Context, kClient client.Client, requeueDelay time.Duration, ...) (result.ReconcileResult, *U)
- func ReconcileObject[U any, T Reconcileable[U]](ctx context.Context, kClient client.Client, requeueDelay time.Duration, ...) result.ReconcileResult
- type Reconcileable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconcileAndGetObject ¶ added in v1.21.0
func ReconcileAndGetObject[U any, T Reconcileable[U]]( ctx context.Context, kClient client.Client, requeueDelay time.Duration, desiredObject U, ) (result.ReconcileResult, *U)
ReconcileAndGetObject ensures that desiredObject exists in the given state, either by creating it, or updating it if it already exists. It returns the current state of the object on the server after the reconciliation.
func ReconcileObject ¶
func ReconcileObject[U any, T Reconcileable[U]](ctx context.Context, kClient client.Client, requeueDelay time.Duration, desiredObject U) result.ReconcileResult
ReconcileObject ensures that desiredObject exists in the given state, either by creating it, or updating it if it already exists.
Types ¶
type Reconcileable ¶
Click to show internal directories.
Click to hide internal directories.