gcs

package
v0.0.0-...-9108ab0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 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,
	gcssourceclientset clientset.Interface,
	gcssourceInformer informers.GCSSourceInformer,
	pubsubclientset pubsubsourceclientset.Interface,
	pubsubsourceInformer pubsubsourceinformers.GcpPubSubSourceInformer,
) *controller.Impl

NewController returns a new gcssource 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 Gcssource 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