controller

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Cellery ConfigMap
	CelleryConfigMapName = "cellery-config"

	// Istio
	IstioSidecarInjectAnnotation = "sidecar.istio.io/inject"

	// Names
	HTTPServiceName = "http"

	// Headers
	KnativeServingNamespaceHeader = "knative-serving-namespace"
	KnativeServingRevisionHeader  = "knative-serving-revision"
)

Variables

This section is empty.

Functions

func CreateCellOwnerRef

func CreateCellOwnerRef(obj metav1.Object) *metav1.OwnerReference

func CreateComponentOwnerRef added in v0.6.0

func CreateComponentOwnerRef(obj metav1.Object) *metav1.OwnerReference

func CreateCompositeOwnerRef added in v0.6.0

func CreateCompositeOwnerRef(obj metav1.Object) *metav1.OwnerReference

func CreateGatewayOwnerRef

func CreateGatewayOwnerRef(obj metav1.Object) *metav1.OwnerReference

func CreateTokenServiceOwnerRef

func CreateTokenServiceOwnerRef(obj metav1.Object) *metav1.OwnerReference

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func New

func New(r Reconciler, logger *zap.SugaredLogger, workQueueName string) *Controller

func (*Controller) Enqueue

func (c *Controller) Enqueue(obj interface{})

func (*Controller) EnqueueControllerOf added in v0.6.0

func (c *Controller) EnqueueControllerOf(obj interface{})

func (*Controller) EnqueueKey added in v0.6.0

func (c *Controller) EnqueueKey(key string)

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{})

type ReconcileErrors added in v0.6.0

type ReconcileErrors struct {
	// contains filtered or unexported fields
}

func (*ReconcileErrors) Add added in v0.6.0

func (re *ReconcileErrors) Add(err error)

func (*ReconcileErrors) Empty added in v0.6.0

func (re *ReconcileErrors) Empty() bool

func (*ReconcileErrors) Error added in v0.6.0

func (re *ReconcileErrors) Error() string

type Reconciler added in v0.6.0

type Reconciler interface {
	Reconcile(key string) error
}

Jump to

Keyboard shortcuts

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