controllers

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceControllers = map[string]func(*context.ControllerContext) error{
	"services":               services.Register,
	"configmaps":             configmaps.Register,
	"secrets":                secrets.Register,
	"endpoints":              endpoints.Register,
	"pods":                   pods.Register,
	"events":                 events.Register,
	"persistentvolumeclaims": persistentvolumeclaims.Register,
	"ingresses":              ingresses.Register,
	"nodes":                  nodes.Register,
	"persistentvolumes":      persistentvolumes.Register,
	"storageclasses":         storageclasses.Register,
	"priorityclasses":        priorityclasses.Register,
}
View Source
var ResourceIndices = map[string]func(*context.ControllerContext) error{
	"services":               services.RegisterIndices,
	"configmaps":             configmaps.RegisterIndices,
	"secrets":                secrets.RegisterIndices,
	"endpoints":              endpoints.RegisterIndices,
	"pods":                   pods.RegisterIndices,
	"events":                 events.RegisterIndices,
	"persistentvolumeclaims": persistentvolumeclaims.RegisterIndices,
	"ingresses":              ingresses.RegisterIndices,
	"nodes":                  nodes.RegisterIndices,
	"persistentvolumes":      persistentvolumes.RegisterIndices,
	"storageclasses":         storageclasses.RegisterIndices,
	"priorityclasses":        priorityclasses.RegisterIndices,
}

Functions

func RegisterControllers added in v0.3.0

func RegisterControllers(ctx *context.ControllerContext) error

func RegisterIndices added in v0.3.0

func RegisterIndices(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