controllers

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceControllers = map[string][]func(*synccontext.RegisterContext) (syncertypes.Object, error){
	"services":               {services.New},
	"configmaps":             {configmaps.New},
	"secrets":                {secrets.New},
	"endpoints":              {endpoints.New},
	"pods":                   {pods.New},
	"events":                 {events.New},
	"persistentvolumeclaims": {persistentvolumeclaims.New},
	"ingresses":              {ingresses.New},
	"ingressclasses":         {ingressclasses.New},
	"storageclasses":         {storageclasses.New},
	"hoststorageclasses":     {storageclasses.NewHostStorageClassSyncer},
	"priorityclasses":        {priorityclasses.New},
	"nodes,fake-nodes":       {nodes.New},
	"poddisruptionbudgets":   {poddisruptionbudgets.New},
	"networkpolicies":        {networkpolicies.New},
	"volumesnapshots":        {volumesnapshotclasses.New, volumesnapshots.New, volumesnapshotcontents.New},
	"serviceaccounts":        {serviceaccounts.New},
	"csinodes":               {csinodes.New},
	"csidrivers":             {csidrivers.New},
	"csistoragecapacities":   {csistoragecapacities.New},
	"namespaces":             {namespaces.New},
	"persistentvolumes,fake-persistentvolumes": {persistentvolumes.New},
}

Functions

func Create added in v0.6.0

func ExecuteInitializers added in v0.6.0

func ExecuteInitializers(controllerCtx *options.ControllerContext, syncers []syncertypes.Object) error

func RegisterControllers added in v0.3.0

func RegisterControllers(ctx *options.ControllerContext, syncers []syncertypes.Object) error

func RegisterCoreDNSController added in v0.15.1

func RegisterCoreDNSController(ctx *options.ControllerContext) error

func RegisterGenericSyncController added in v0.15.1

func RegisterGenericSyncController(ctx *options.ControllerContext) error

func RegisterIndices added in v0.3.0

func RegisterIndices(ctx *options.ControllerContext, syncers []syncertypes.Object) error

func RegisterInitManifestsController added in v0.15.1

func RegisterInitManifestsController(controllerCtx *options.ControllerContext) error

func RegisterPodSecurityController added in v0.15.1

func RegisterPodSecurityController(ctx *options.ControllerContext) error

func RegisterServiceSyncControllers added in v0.15.1

func RegisterServiceSyncControllers(ctx *options.ControllerContext) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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