controller

package
v1.18.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 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

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

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

func (*Controller) SetCron

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