Help us shape the future of Go! Take the 2026 Go Developer Survey

controller

package
v1.18.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v1.18.0

type Controller struct {
	// contains filtered or unexported fields
}

Controller wraps a long-lived controller-runtime manager. It must only be created once per process because controller-runtime registers controller names globally in the metrics registry.

func New

func New(opts Options) (*Controller, error)

func (*Controller) Run added in v1.18.0

func (c *Controller) Run(ctx context.Context) error

func (*Controller) SetCron added in v1.18.0

func (c *Controller) SetCron(cr cron.Interface)

SetCron updates the cron interface used by the namespace reconciler.

type Options

type Options struct {
	KubeConfig *string
	Healthz    healthz.Healthz
}

Jump to

Keyboard shortcuts

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