resourceconfig

package
v1.154.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ControllerConfigStatic = ResourcesControllerMap{}/* 493 elements not displayed */

ControllerConfigStatic is the static controller configuration for all resources. It is ordered by GroupKind alphabetically.

Functions

func IsControllerSupported added in v1.138.0

func IsControllerSupported(gvk schema.GroupVersionKind, controllerType k8s.ReconcilerType) bool

Types

type ControllerSelector

type ControllerSelector struct {
	Config *ResourcesControllerMap
}

func NewControllerSelector

func NewControllerSelector(config *ResourcesControllerMap) *ControllerSelector

func (*ControllerSelector) SelectController

type ResourceControllerConfig

type ResourceControllerConfig struct {
	DefaultController    k8s.ReconcilerType
	SupportedControllers []k8s.ReconcilerType
}

type ResourcesControllerMap

type ResourcesControllerMap map[schema.GroupKind]ResourceControllerConfig

func LoadConfig

func LoadConfig() ResourcesControllerMap

func (ResourcesControllerMap) GetControllersForGVK

Jump to

Keyboard shortcuts

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