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" UseInstanceMetadataNameInSecret string = "services.cloud.sap.com/useInstanceMetadataName" )
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 = "Shared" )
View Source
const ( NamespaceLabel = "_namespace" K8sNameLabel = "_k8sname" ClusterIDLabel = "_clusterid" Created = "Created" Updated = "Updated" Deleted = "Deleted" Provisioned = "Provisioned" NotProvisioned = "NotProvisioned" CreateInProgress = "CreateInProgress" UpdateInProgress = "UpdateInProgress" DeleteInProgress = "DeleteInProgress" InProgress = "InProgress" Finished = "Finished" CreateFailed = "CreateFailed" UpdateFailed = "UpdateFailed" DeleteFailed = "DeleteFailed" Failed = "Failed" Blocked = "Blocked" Unknown = "Unknown" // Cred Rotation CredPreparing = "Preparing" CredRotating = "Rotating" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerName ¶
type ControllerName string
type HTTPStatusCodeError ¶
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 ¶
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
GetAnnotations() map[string]string
SetAnnotations(map[string]string)
}
+kubebuilder:object:generate=false
Click to show internal directories.
Click to hide internal directories.