dynamiccontroller

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 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 DynamicController

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

func NewDynamicController

func NewDynamicController(client dynamic.Interface, handler DynamicHandler) *DynamicController

Function creates a new dynamic controller to listen for api-changes in provided GroupVersionResource

func (*DynamicController) Run

func (c *DynamicController) Run(stop <-chan struct{})

type DynamicHandler

type DynamicHandler interface {
	GetSchema() schema.GroupVersionResource
	GetHandlers() Resourcehandlers
}

type Resourcehandlers

type Resourcehandlers = cache.ResourceEventHandlerFuncs

Jump to

Keyboard shortcuts

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