webhookownerreference

package
v0.33.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller[T client.Object] struct {
	// contains filtered or unexported fields
}

Controller for the resource

func NewController

func NewController[T client.Object](kubeClient client.Client, name string) *Controller[T]

NewController is a constructor

func (*Controller[T]) Reconcile

func (c *Controller[T]) Reconcile(ctx context.Context, obj T) (reconcile.Result, error)

Reconcile the resource

func (*Controller[T]) Register

func (c *Controller[T]) Register(_ context.Context, m manager.Manager) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL