controller

package
v0.0.0-...-d927a5a Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(clientset *kubernetes.Clientset, namespace string, queue workqueue.RateLimitingInterface) *Controller

NewController creates a new Controller.

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{}, workers int)

Run begins watching and syncing.

type Event

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

func (*Event) Handle

func (re *Event) Handle() error

type Handler

type Handler interface {
	Handle() error
}

func NewEvent

func NewEvent(eventType watch.EventType, resource *v1.ConfigMap, secretManager *secret.Manager) Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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