apis

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BindingReady indicates that the overall sbr succeeded
	BindingReady string = "Ready"

	// CollectionReady indicates readiness for collection and persistance of intermediate manifests
	CollectionReady string = "CollectionReady"

	// InjectionReady indicates readiness to change application manifests to use those intermediate manifests
	// If status is true, it indicates that the binding succeeded
	InjectionReady string = "InjectionReady"

	// EmptyServiceSelectorsReason is used when the ServiceBinding has empty
	// services.
	EmptyApplicationReason = "EmptyApplication"

	// EmptyApplicationReason is used when the ServiceBinding has empty
	// application.
	ApplicationNotFoundReason = "ApplicationNotFound"

	// ApplicationNotFoundReason is used when the application is not found.
	ServiceNotFoundReason = "ServiceNotFound"

	// ServiceNotFoundReason is used when the service is not found.
	BindingInjectedReason = "BindingInjected"

	// DataCollectedReason indicates that bindings are collected successfully
	DataCollectedReason = "DataCollected"

	// RequiredBindingNotFound when some mandatory bindings are missing
	RequiredBindingNotFound = "RequiredBindingNotFound"
)

Variables

This section is empty.

Functions

func CanUpdateBinding

func CanUpdateBinding(obj Object) error

func Conditions

func Conditions() *conditionsBuilder

func MaybeAddFinalizer

func MaybeAddFinalizer(obj Object) bool

func MaybeRemoveFinalizer

func MaybeRemoveFinalizer(obj Object) bool

Types

type Object

type Object interface {
	runtime.Object
	GetFinalizers() []string
	SetFinalizers([]string)
	HasDeletionTimestamp() bool
	StatusConditions() []metav1.Condition
}

Directories

Path Synopsis
binding
v1alpha1
Package v1alpha1 contains API Schema definitions for the operators v1alpha1 API group +kubebuilder:object:generate=true +groupName=binding.operators.coreos.com
Package v1alpha1 contains API Schema definitions for the operators v1alpha1 API group +kubebuilder:object:generate=true +groupName=binding.operators.coreos.com
spec
v1alpha2
Package v1alpha2 contains API Schema definitions for the spec v1alpha2 API group +kubebuilder:object:generate=true +groupName=service.binding
Package v1alpha2 contains API Schema definitions for the spec v1alpha2 API group +kubebuilder:object:generate=true +groupName=service.binding

Jump to

Keyboard shortcuts

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