controllers

package
v0.16.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceControllers = map[string][]func(*synccontext.RegisterContext) (syncer.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 Create(ctx *context.ControllerContext) ([]syncer.Object, error)

func ExecuteInitializers added in v0.6.0

func ExecuteInitializers(controllerCtx *context.ControllerContext, syncers []syncer.Object) error

func RegisterControllers added in v0.3.0

func RegisterControllers(ctx *context.ControllerContext, syncers []syncer.Object) error

func RegisterCoreDNSController added in v0.15.1

func RegisterCoreDNSController(ctx *context.ControllerContext) error

func RegisterGenericSyncController added in v0.15.1

func RegisterGenericSyncController(ctx *context.ControllerContext) error

func RegisterIndices added in v0.3.0

func RegisterIndices(ctx *context.ControllerContext, syncers []syncer.Object) error

func RegisterInitManifestsController added in v0.15.1

func RegisterInitManifestsController(ctx *context.ControllerContext) error

func RegisterPodSecurityController added in v0.15.1

func RegisterPodSecurityController(ctx *context.ControllerContext) error

func RegisterServiceSyncControllers added in v0.15.1

func RegisterServiceSyncControllers(ctx *context.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