Documentation ¶
Index ¶
- Variables
- func Create(ctx *context.ControllerContext) ([]syncer.Object, error)
- func ExecuteInitializers(controllerCtx *context.ControllerContext, syncers []syncer.Object) error
- func RegisterControllers(ctx *context.ControllerContext, syncers []syncer.Object) error
- func RegisterIndices(ctx *context.ControllerContext, syncers []syncer.Object) error
- func ToRegisterContext(ctx *context.ControllerContext) *synccontext.RegisterContext
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourceControllers = map[string][]func(*synccontext.RegisterContext) (syncer.Object, error){ "services": newControllers(services.New), "configmaps": newControllers(configmaps.New), "secrets": newControllers(secrets.New), "endpoints": newControllers(endpoints.New), "pods": newControllers(pods.New), "events": newControllers(events.New), "persistentvolumeclaims": newControllers(persistentvolumeclaims.New), "ingresses": newControllers(ingresses.New), "storageclasses": newControllers(storageclasses.New), "priorityclasses": newControllers(priorityclasses.New), "nodes,fake-nodes": newControllers(nodes.New), "poddisruptionbudgets": newControllers(poddisruptionbudgets.New), "networkpolicies": newControllers(networkpolicies.New), "volumesnapshots": newControllers(volumesnapshotclasses.New, volumesnapshots.New, volumesnapshotcontents.New), "serviceaccounts": newControllers(serviceaccounts.New), "persistentvolumes,fake-persistentvolumes": newControllers(persistentvolumes.New), }
Functions ¶
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 RegisterIndices ¶ added in v0.3.0
func RegisterIndices(ctx *context.ControllerContext, syncers []syncer.Object) error
func ToRegisterContext ¶ added in v0.6.0
func ToRegisterContext(ctx *context.ControllerContext) *synccontext.RegisterContext
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.