Documentation ¶
Index ¶
- func CreateOrUpdate(ctx context.Context, c client.Client, obj client.Object) error
- func NewControllerRuntimeLogger(level slog.Level) logr.Logger
- func NewK8sClient(options ClientOptions) (client.WithWatch, error)
- func NewRestConfig(options ClientOptions) (*rest.Config, error)
- type ClientOptions
- type RequeueOp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdate ¶
func NewControllerRuntimeLogger ¶ added in v0.9.2
func NewK8sClient ¶
func NewK8sClient(options ClientOptions) (client.WithWatch, error)
func NewRestConfig ¶
func NewRestConfig(options ClientOptions) (*rest.Config, error)
Types ¶
type ClientOptions ¶
type RequeueOp ¶
type RequeueOp struct {
// contains filtered or unexported fields
}
func DoNotRequeue ¶
func DoNotRequeue() RequeueOp
func RequeueAfter ¶
func RequeueErr ¶
func (RequeueOp) ShouldRequeue ¶
Click to show internal directories.
Click to hide internal directories.