Documentation
¶
Overview ¶
Package resources contains a set of Kubernetes generic utilities that are used by the operator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIfNotFound ¶
CreateIfNotFound creates the given object if it doesn't already exist
func RetryAlways ¶ added in v1.17.3
RetryAlways is a function that always returns true on any error encountered
Types ¶
type Request ¶
Request is a client request that adheres to the client.Client interface
func NewRequest ¶
NewRequest instantiate a new request with the passed client
func (*Request[T]) CreateIfNotFound ¶
CreateIfNotFound will attempt to create the resource if it receives IsNotFound error
func (*Request[T]) PatchAlways ¶
PatchAlways will always try to attempt the patch of the retrieved resource with the proposed one
func (*Request[T]) WithCustomPatchConditions ¶
WithCustomPatchConditions will evaluate custom patch conditions
Click to show internal directories.
Click to hide internal directories.