servicebindingrequest

package
v0.1.1-364 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CollectionReady indicates readiness for collection and persistance of intermediate manifests
	CollectionReady conditionsv1.ConditionType = "CollectionReady"
	// InjectionReady indicates readiness to change application manifests to use those intermediate manifests
	// If status is true, it indicates that the binding succeeded
	InjectionReady conditionsv1.ConditionType = "InjectionReady"
	// EmptyServiceSelectorsReason is used when the ServiceBindingRequest has empty
	// backingServiceSelectors.
	EmptyServiceSelectorsReason = "EmptyServiceSelectors"
	// EmptyApplicationSelectorReason is used when the ServiceBindingRequest has empty
	// applicationSelector.
	EmptyApplicationSelectorReason = "EmptyApplicationSelector"
	// ApplicationNotFoundReason is used when the application is not found.
	ApplicationNotFoundReason = "ApplicationNotFound"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new ServiceBindingRequest Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func NewCreateWatchEventHandler added in v0.0.19

func NewCreateWatchEventHandler(controller *sbrController) handler.EventHandler

NewCreateWatchEventHandler creates a new instance of handler.EventHandler interface with CSVToWatcherMapper as map-func.

func NewRetriever

func NewRetriever(
	client dynamic.Interface,
) *retriever

NewRetriever instantiate a new retriever instance.

func NewSBRController added in v0.0.19

func NewSBRController(
	mgr manager.Manager,
	options controller.Options,
	client dynamic.Interface,
) (*sbrController, error)

NewSBRController creates a new SBRController instance. It can return error on bootstrapping a new dynamic client.

Types

type ResourceWatcher

type ResourceWatcher interface {
	AddWatchForGVR(schema.GroupVersionResource) error
	AddWatchForGVK(schema.GroupVersionKind) error
}

ResourceWatcher add watching for GroupVersionKind/GroupVersionResource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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