api

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceInstanceController   ControllerName = "ServiceInstance"
	ServiceBindingController    ControllerName = "ServiceBinding"
	FinalizerName               string         = "services.cloud.sap.com/sap-btp-finalizer"
	StaleBindingIDLabel         string         = "services.cloud.sap.com/stale"
	StaleBindingRotationOfLabel string         = "services.cloud.sap.com/rotationOf"
	ForceRotateAnnotation       string         = "services.cloud.sap.com/forceRotate"
	PreventDeletion             string         = "services.cloud.sap.com/preventDeletion"
)
View Source
const (
	// ConditionSucceeded represents whether the last operation CREATE/UPDATE/DELETE was successful.
	ConditionSucceeded = "Succeeded"

	// ConditionFailed represents information about a final failure that should not be retried.
	ConditionFailed = "Failed"

	// ConditionReady represents if the resource ready for usage.
	ConditionReady = "Ready"

	// ConditionCredRotationInProgress represents if cred rotation is in progress
	ConditionCredRotationInProgress = "CredRotationInProgress"

	// ConditionPendingTermination resource is waiting for termination pre-conditions
	ConditionPendingTermination = "PendingTermination"

	// ConditionShared represents information about the instance share situation
	ConditionShared = "Shared"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerName

type ControllerName string

type HTTPStatusCodeError added in v0.4.9

type HTTPStatusCodeError struct {
	// StatusCode is the HTTP status code returned by the broker.
	StatusCode int
	// ErrorMessage is a machine-readable error string that may be returned by the broker.
	ErrorMessage *string
	// Description is a human-readable description of the error that may be returned by the broker.
	Description *string
	// ResponseError is set to the error that occurred when unmarshalling a response body from the broker.
	ResponseError error
}

func (HTTPStatusCodeError) Error added in v0.4.9

func (e HTTPStatusCodeError) Error() string

type SAPBTPResource

type SAPBTPResource interface {
	client.Object
	SetConditions([]metav1.Condition)
	GetConditions() []metav1.Condition
	GetControllerName() ControllerName
	GetParameters() *runtime.RawExtension
	GetStatus() interface{}
	SetStatus(status interface{})
	GetObservedGeneration() int64
	SetObservedGeneration(int64)
	DeepClone() SAPBTPResource
	SetReady(metav1.ConditionStatus)
	GetReady() metav1.ConditionStatus
}

+kubebuilder:object:generate=false

Directories

Path Synopsis
v1
Package v1 contains API Schema definitions for the services v1 API group +kubebuilder:object:generate=true +groupName=services.cloud.sap.com
Package v1 contains API Schema definitions for the services v1 API group +kubebuilder:object:generate=true +groupName=services.cloud.sap.com
Package v1alpha1 contains API Schema definitions for the services v1alpha1 API group +kubebuilder:object:generate=true +groupName=services.cloud.sap.com
Package v1alpha1 contains API Schema definitions for the services v1alpha1 API group +kubebuilder:object:generate=true +groupName=services.cloud.sap.com

Jump to

Keyboard shortcuts

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