apis

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 8 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"

	// NoBindingDataReason is used when no binding data is collected for binding.
	NoBindingDataReason = "NoBindingData"

	// 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"
)
View Source
const (
	MappingAnnotationKey = "servicebinding.io/mapping"
)

Variables

This section is empty.

Functions

func CanUpdateBinding

func CanUpdateBinding(obj Object, oldObj Object) error

func Conditions

func Conditions() *conditionsBuilder

func MaybeAddFinalizer

func MaybeAddFinalizer(obj Object) bool

func MaybeRemoveFinalizer

func MaybeRemoveFinalizer(obj Object) bool

func Requester added in v0.10.0

func Requester(objMeta metav1.ObjectMeta) *authv1.UserInfo

Return username of requester who submitted the service binding

func SetRequester added in v0.10.0

func SetRequester(obj *unstructured.Unstructured, userInfo v1.UserInfo)

Types

type Object

type Object interface {
	client.Object
	HasDeletionTimestamp() bool
	StatusConditions() []metav1.Condition
	GetSpec() interface{}
}

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
v1alpha3
Package v1alpha3 contains API Schema definitions for the spec v1alpha3 API group +kubebuilder:object:generate=true +groupName=servicebinding.io
Package v1alpha3 contains API Schema definitions for the spec v1alpha3 API group +kubebuilder:object:generate=true +groupName=servicebinding.io
v1beta1
Package v1beta1 contains API Schema definitions for the service v1beta1 API group +kubebuilder:object:generate=true +groupName=servicebinding.io
Package v1beta1 contains API Schema definitions for the service v1beta1 API group +kubebuilder:object:generate=true +groupName=servicebinding.io

Jump to

Keyboard shortcuts

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