controller

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 10

Documentation

Index

Constants

View Source
const (
	Immediately = 1 * time.Nanosecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Register(context.Context, manager.Manager) error
}

type Singleton

type Singleton struct {
	reconcile.Reconciler
	// contains filtered or unexported fields
}

func (*Singleton) NeedLeaderElection

func (s *Singleton) NeedLeaderElection() bool

func (*Singleton) Start

func (s *Singleton) Start(ctx context.Context) error

type SingletonBuilder

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

func NewSingletonManagedBy

func NewSingletonManagedBy(m manager.Manager) SingletonBuilder

func (SingletonBuilder) Complete

func (SingletonBuilder) Named added in v0.37.0

Jump to

Keyboard shortcuts

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