controller

package
v0.19.0-m3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 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 Config

type Config struct {
	// Registry is the event handler registry where controller events will be sent.
	Registry   *event.Registry
	RestMapper meta.RESTMapper
	Client     dynamic.Interface
	Scheme     *runtime.Scheme
}

type Controller

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

func New

func New(config *Config) (*Controller, error)

func (*Controller) Start

func (c *Controller) Start(stopCh <-chan struct{}) error

Start starts the controller.

func (*Controller) Stop

func (c *Controller) Stop()

Jump to

Keyboard shortcuts

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