cloudschedulersource

package
v0.0.0-...-027e5d0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSinkURI

func GetSinkURI(dc dynamic.Interface, sink *corev1.ObjectReference, namespace string) (string, error)

GetSinkURI retrieves the sink URI from the object referenced by the given ObjectReference.

func NewController

func NewController(
	logger *zap.SugaredLogger,
	kubeclientset kubernetes.Interface,
	dynamicClient dynamic.Interface,
	cloudschedulersourceclientset clientset.Interface,
	cloudschedulersourceInformer informers.CloudSchedulerSourceInformer,
	servingclientset servingclientset.Interface,
	servingsourceInformer servinginformers.ServiceInformer,
	raImage string,
) *controller.Impl

NewController returns a new cloudschedulersource controller

Types

type Reconciler

type Reconciler struct {

	// Sugared logger is easier to use but is not as performant as the
	// raw logger. In performance critical paths, call logger.Desugar()
	// and use the returned raw logger instead. In addition to the
	// performance benefits, raw logger also preserves type-safety at
	// the expense of slightly greater verbosity.
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

Reconciler is the controller implementation for Cloudschedulersource resources

func (*Reconciler) Reconcile

func (c *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile implements controller.Reconciler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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