Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the dbaas v1beta1 API group +kubebuilder:object:generate=true +groupName=dbaas.redhat.com
Index ¶
- Constants
- Variables
- type ConditionalProvisioningParameterData
- type CredentialField
- type DBaaSConnection
- func (in *DBaaSConnection) DeepCopy() *DBaaSConnection
- func (in *DBaaSConnection) DeepCopyInto(out *DBaaSConnection)
- func (in *DBaaSConnection) DeepCopyObject() runtime.Object
- func (*DBaaSConnection) Hub()
- func (r *DBaaSConnection) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DBaaSConnection) ValidateCreate() error
- func (r *DBaaSConnection) ValidateDelete() error
- func (r *DBaaSConnection) ValidateUpdate(old runtime.Object) error
- type DBaaSConnectionList
- type DBaaSConnectionPolicy
- type DBaaSConnectionSpec
- type DBaaSConnectionStatus
- type DBaaSInstance
- type DBaaSInstanceList
- type DBaaSInstanceSpec
- type DBaaSInstanceStatus
- type DBaaSInventory
- func (in *DBaaSInventory) DeepCopy() *DBaaSInventory
- func (in *DBaaSInventory) DeepCopyInto(out *DBaaSInventory)
- func (in *DBaaSInventory) DeepCopyObject() runtime.Object
- func (*DBaaSInventory) Hub()
- func (r *DBaaSInventory) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DBaaSInventory) ValidateCreate() error
- func (r *DBaaSInventory) ValidateDelete() error
- func (r *DBaaSInventory) ValidateUpdate(old runtime.Object) error
- type DBaaSInventoryList
- type DBaaSInventoryPolicy
- type DBaaSInventorySpec
- type DBaaSInventoryStatus
- type DBaaSOperatorInventorySpec
- type DBaaSPlatform
- type DBaaSPlatformList
- type DBaaSPlatformSpec
- type DBaaSPlatformStatus
- type DBaaSPolicy
- func (in *DBaaSPolicy) DeepCopy() *DBaaSPolicy
- func (in *DBaaSPolicy) DeepCopyInto(out *DBaaSPolicy)
- func (in *DBaaSPolicy) DeepCopyObject() runtime.Object
- func (*DBaaSPolicy) Hub()
- func (r *DBaaSPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DBaaSPolicy) ValidateCreate() error
- func (r *DBaaSPolicy) ValidateDelete() error
- func (r *DBaaSPolicy) ValidateUpdate(_ runtime.Object) error
- type DBaaSPolicyList
- type DBaaSPolicySpec
- type DBaaSPolicyStatus
- type DBaaSProvider
- func (in *DBaaSProvider) DeepCopy() *DBaaSProvider
- func (in *DBaaSProvider) DeepCopyInto(out *DBaaSProvider)
- func (in *DBaaSProvider) DeepCopyObject() runtime.Object
- func (r *DBaaSProvider) GetDBaaSAPIGroupVersion() schema.GroupVersion
- func (*DBaaSProvider) Hub()
- func (r *DBaaSProvider) SetupWebhookWithManager(mgr ctrl.Manager) error
- type DBaaSProviderConnection
- type DBaaSProviderInstance
- type DBaaSProviderInventory
- type DBaaSProviderList
- type DBaaSProviderSpec
- type DBaaSProviderStatus
- type DBaasInstancePhase
- type DatabaseProviderInfo
- type DatabaseService
- type DatabaseServiceType
- type FieldDependency
- type Instance
- type LocalObjectReference
- type NamespacedName
- type ObservabilityConfig
- type Option
- type PlatformConfig
- type PlatformInstlnStatus
- type PlatformName
- type PlatformStatus
- type PlatformType
- type ProviderIcon
- type ProvisioningParameter
- type ProvisioningParameterType
Constants ¶
const ( // DBaaS condition types: DBaaSInventoryReadyType string = "InventoryReady" DBaaSInventoryProviderSyncType string = "SpecSynced" DBaaSConnectionReadyType string = "ConnectionReady" DBaaSConnectionProviderSyncType string = "ReadyForBinding" DBaaSInstanceReadyType string = "InstanceReady" DBaaSInstanceProviderSyncType string = "ProvisionReady" DBaaSPolicyReadyType string = "PolicyReady" DBaaSPlatformReadyType string = "PlatformReady" // DBaaS condition reasons: Ready string = "Ready" DBaaSPolicyNotFound string = "DBaaSPolicyNotFound" DBaaSPolicyNotReady string = "DBaaSPolicyNotReady" DBaaSProviderNotFound string = "DBaaSProviderNotFound" DBaaSInventoryNotFound string = "DBaaSInventoryNotFound" DBaaSInventoryNotReady string = "DBaaSInventoryNotReady" DBaaSInventoryNotProvisionable string = "DBaaSInventoryNotProvisionable" DBaaSInvalidNamespace string = "InvalidNamespace" DBaaSServiceNotAvailable string = "DBaaSServiceNotAvailable" ProviderReconcileInprogress string = "ProviderReconcileInprogress" ProviderReconcileError string = "ProviderReconcileError" ProviderParsingError string = "ProviderParsingError" InstallationInprogress string = "InstallationInprogress" InstallationCleanup string = "InstallationCleanup" // DBaaS condition messages MsgProviderCRStatusSyncDone string = "Provider Custom Resource status sync completed" MsgProviderCRReconcileInProgress string = "DBaaS Provider Custom Resource reconciliation in progress" MsgInventoryNotReady string = "Inventory discovery not done" MsgInventoryNotProvisionable string = "Inventory provisioning not allowed" MsgPolicyNotFound string = "Failed to find an active Policy" MsgPolicyReady string = "Policy is active" MsgInvalidNamespace string = "Invalid connection namespace for the referenced inventory" MsgPolicyNotReady string = "Another active Policy already exists" TypeLabelValue = "credentials" TypeLabelKey = "db-operator/type" TypeLabelKeyMongo = "atlas.mongodb.com/type" ProvisioningPlanFreeTrial string = "FREETRIAL" ProvisioningPlanServerless string = "SERVERLESS" ProvisioningPlanDedicated string = "DEDICATED" )
Constants for DBaaS condition types, reasons, messages and type labels.
const ( CockroachDBCloudRegistration = "cockroachdb-cloud-registration" MongoDBAtlasRegistration = "mongodb-atlas-registration" CrunchyBridgeRegistration = "crunchy-bridge-registration" RdsRegistration = "rds-registration" )
Constants for the providers supported
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dbaas.redhat.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var WebhookAPIClient client.Client
WebhookAPIClient is the API client for webhooks
Functions ¶
This section is empty.
Types ¶
type ConditionalProvisioningParameterData ¶
type ConditionalProvisioningParameterData struct {
// List of the dependent fields and values.
Dependencies []FieldDependency `json:"dependencies,omitempty"`
// Options displayed in the UI.
Options []Option `json:"options,omitempty"`
// Set a default value.
DefaultValue string `json:"defaultValue,omitempty"`
}
ConditionalProvisioningParameterData provides a list of available options with default values for a dropdown menu, or a list of default values entered by the user within the user interface (UI) based on the dependencies. A provisioning parameter can have many options lists and default values, depending on the dependency parameters. If options lists are present, the field displays a dropdown menu in the UI, otherwise it displays an empty field for user input. For example, you can have four different options lists for different regions: one for dedicated clusters on Google Cloud Platform (GCP), one for dedicated clusters on Amazon Web Services (AWS), one for serverless on GCP, and one for serverless on AWS.
func (*ConditionalProvisioningParameterData) DeepCopy ¶
func (in *ConditionalProvisioningParameterData) DeepCopy() *ConditionalProvisioningParameterData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionalProvisioningParameterData.
func (*ConditionalProvisioningParameterData) DeepCopyInto ¶
func (in *ConditionalProvisioningParameterData) DeepCopyInto(out *ConditionalProvisioningParameterData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialField ¶
type CredentialField struct {
// The name for this field.
Key string `json:"key"`
// A user-friendly name for this field.
DisplayName string `json:"displayName"`
// The type of field: string, maskedstring, integer, or boolean.
Type string `json:"type"`
// Defines if the field is required or not.
Required bool `json:"required"`
// Additional information about the field.
HelpText string `json:"helpText,omitempty"`
}
CredentialField defines the CredentialField object attributes.
func (*CredentialField) DeepCopy ¶
func (in *CredentialField) DeepCopy() *CredentialField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialField.
func (*CredentialField) DeepCopyInto ¶
func (in *CredentialField) DeepCopyInto(out *CredentialField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSConnection ¶
type DBaaSConnection struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSConnectionSpec `json:"spec,omitempty"`
Status DBaaSConnectionStatus `json:"status,omitempty"`
}
DBaaSConnection defines the schema for the DBaaSConnection API. +operator-sdk:csv:customresourcedefinitions:displayName="DBaaSConnection"
func (*DBaaSConnection) DeepCopy ¶
func (in *DBaaSConnection) DeepCopy() *DBaaSConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSConnection.
func (*DBaaSConnection) DeepCopyInto ¶
func (in *DBaaSConnection) DeepCopyInto(out *DBaaSConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSConnection) DeepCopyObject ¶
func (in *DBaaSConnection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DBaaSConnection) Hub ¶
func (*DBaaSConnection) Hub()
Hub marks this type as a conversion hub.
func (*DBaaSConnection) SetupWebhookWithManager ¶
func (r *DBaaSConnection) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the Manager.
func (*DBaaSConnection) ValidateCreate ¶
func (r *DBaaSConnection) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DBaaSConnection) ValidateDelete ¶
func (r *DBaaSConnection) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DBaaSConnection) ValidateUpdate ¶
func (r *DBaaSConnection) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DBaaSConnectionList ¶
type DBaaSConnectionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DBaaSConnection `json:"items"`
}
DBaaSConnectionList contains a list of DBaaSConnections.
func (*DBaaSConnectionList) DeepCopy ¶
func (in *DBaaSConnectionList) DeepCopy() *DBaaSConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSConnectionList.
func (*DBaaSConnectionList) DeepCopyInto ¶
func (in *DBaaSConnectionList) DeepCopyInto(out *DBaaSConnectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSConnectionList) DeepCopyObject ¶
func (in *DBaaSConnectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSConnectionPolicy ¶
type DBaaSConnectionPolicy struct {
// Namespaces where DBaaSConnection and DBaaSInstance objects are only allowed to reference a policy's inventories.
// Using an asterisk surrounded by single quotes ('*'), allows all namespaces.
// If not set in the policy or by an inventory object, connections are only allowed in the inventory's namespace.
Namespaces *[]string `json:"namespaces,omitempty"`
// Use a label selector to determine the namespaces where DBaaSConnection and DBaaSInstance objects are only allowed to reference a policy's inventories.
// A label selector is a label query over a set of resources.
// Results use a logical AND from matchExpressions and matchLabels queries.
// An empty label selector matches all objects.
// A null label selector matches no objects.
NsSelector *metav1.LabelSelector `json:"nsSelector,omitempty"`
}
DBaaSConnectionPolicy sets a connection policy.
func (*DBaaSConnectionPolicy) DeepCopy ¶
func (in *DBaaSConnectionPolicy) DeepCopy() *DBaaSConnectionPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSConnectionPolicy.
func (*DBaaSConnectionPolicy) DeepCopyInto ¶
func (in *DBaaSConnectionPolicy) DeepCopyInto(out *DBaaSConnectionPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSConnectionSpec ¶
type DBaaSConnectionSpec struct {
// A reference to the relevant DBaaSInventory custom resource (CR).
InventoryRef NamespacedName `json:"inventoryRef"`
// The ID of the database service to connect to, as seen in the status of the referenced DBaaSInventory.
DatabaseServiceID string `json:"databaseServiceID,omitempty"`
// A reference to the database service CR used, if the DatabaseServiceID is not specified.
DatabaseServiceRef *NamespacedName `json:"databaseServiceRef,omitempty"`
// The type of the database service to connect to, as seen in the status of the referenced DBaaSInventory.
DatabaseServiceType *DatabaseServiceType `json:"databaseServiceType,omitempty"`
}
DBaaSConnectionSpec defines the desired state of a DBaaSConnection object.
func (*DBaaSConnectionSpec) DeepCopy ¶
func (in *DBaaSConnectionSpec) DeepCopy() *DBaaSConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSConnectionSpec.
func (*DBaaSConnectionSpec) DeepCopyInto ¶
func (in *DBaaSConnectionSpec) DeepCopyInto(out *DBaaSConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSConnectionStatus ¶
type DBaaSConnectionStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty"`
// The secret holding account credentials for accessing the database instance.
CredentialsRef *corev1.LocalObjectReference `json:"credentialsRef,omitempty"`
// A ConfigMap object holding non-sensitive information for connecting to the database instance.
ConnectionInfoRef *corev1.LocalObjectReference `json:"connectionInfoRef,omitempty"`
}
DBaaSConnectionStatus defines the observed state of a DBaaSConnection object.
func (*DBaaSConnectionStatus) DeepCopy ¶
func (in *DBaaSConnectionStatus) DeepCopy() *DBaaSConnectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSConnectionStatus.
func (*DBaaSConnectionStatus) DeepCopyInto ¶
func (in *DBaaSConnectionStatus) DeepCopyInto(out *DBaaSConnectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSInstance ¶
type DBaaSInstance struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSInstanceSpec `json:"spec,omitempty"`
Status DBaaSInstanceStatus `json:"status,omitempty"`
}
DBaaSInstance defines the schema for the DBaaSInstance API. +operator-sdk:csv:customresourcedefinitions:displayName="DBaaSInstance"
func (*DBaaSInstance) DeepCopy ¶
func (in *DBaaSInstance) DeepCopy() *DBaaSInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInstance.
func (*DBaaSInstance) DeepCopyInto ¶
func (in *DBaaSInstance) DeepCopyInto(out *DBaaSInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSInstance) DeepCopyObject ¶
func (in *DBaaSInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DBaaSInstance) SetupWebhookWithManager ¶
func (r *DBaaSInstance) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the Manager.
type DBaaSInstanceList ¶
type DBaaSInstanceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DBaaSInstance `json:"items"`
}
DBaaSInstanceList contains a list of DBaaSInstances.
func (*DBaaSInstanceList) DeepCopy ¶
func (in *DBaaSInstanceList) DeepCopy() *DBaaSInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInstanceList.
func (*DBaaSInstanceList) DeepCopyInto ¶
func (in *DBaaSInstanceList) DeepCopyInto(out *DBaaSInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSInstanceList) DeepCopyObject ¶
func (in *DBaaSInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSInstanceSpec ¶
type DBaaSInstanceSpec struct {
// A reference to the relevant DBaaSInventory custom resource (CR).
InventoryRef NamespacedName `json:"inventoryRef"`
// Parameters with values used for provisioning.
ProvisioningParameters map[ProvisioningParameterType]string `json:"provisioningParameters,omitempty"`
}
DBaaSInstanceSpec defines the desired state of a DBaaSInstance object.
func (*DBaaSInstanceSpec) DeepCopy ¶
func (in *DBaaSInstanceSpec) DeepCopy() *DBaaSInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInstanceSpec.
func (*DBaaSInstanceSpec) DeepCopyInto ¶
func (in *DBaaSInstanceSpec) DeepCopyInto(out *DBaaSInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSInstanceStatus ¶
type DBaaSInstanceStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty"`
// A provider-specific identifier for this instance in the database service.
// It can contain one or more pieces of information used by the provider's operator to identify the instance on the database service.
InstanceID string `json:"instanceID"`
// Any other provider-specific information related to this instance.
InstanceInfo map[string]string `json:"instanceInfo,omitempty"`
// +kubebuilder:validation:Enum=Unknown;Pending;Creating;Updating;Deleting;Deleted;Ready;Error;Failed
// +kubebuilder:default=Unknown
// Represents the following cluster provisioning phases.
// Unknown: An unknown cluster provisioning status.
// Pending: In the queue, waiting for provisioning to start.
// Creating: Provisioning is in progress.
// Updating: Updating the cluster is in progress.
// Deleting: Cluster deletion is in progress.
// Deleted: Cluster has been deleted.
// Ready: Cluster provisioning is done.
// Error: Cluster provisioning error.
// Failed: Cluster provisioning failed.
Phase DBaasInstancePhase `json:"phase"`
}
DBaaSInstanceStatus defines the observed state of a DBaaSInstance.
func (*DBaaSInstanceStatus) DeepCopy ¶
func (in *DBaaSInstanceStatus) DeepCopy() *DBaaSInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInstanceStatus.
func (*DBaaSInstanceStatus) DeepCopyInto ¶
func (in *DBaaSInstanceStatus) DeepCopyInto(out *DBaaSInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSInventory ¶
type DBaaSInventory struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSOperatorInventorySpec `json:"spec,omitempty"`
Status DBaaSInventoryStatus `json:"status,omitempty"`
}
DBaaSInventory defines the schema for the DBaaSInventory API. Inventory objects must be created in a valid namespace, determined by the existence of a DBaaSPolicy object. +operator-sdk:csv:customresourcedefinitions:displayName="Provider Account"
func (*DBaaSInventory) DeepCopy ¶
func (in *DBaaSInventory) DeepCopy() *DBaaSInventory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInventory.
func (*DBaaSInventory) DeepCopyInto ¶
func (in *DBaaSInventory) DeepCopyInto(out *DBaaSInventory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSInventory) DeepCopyObject ¶
func (in *DBaaSInventory) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DBaaSInventory) SetupWebhookWithManager ¶
func (r *DBaaSInventory) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the Manager.
func (*DBaaSInventory) ValidateCreate ¶
func (r *DBaaSInventory) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DBaaSInventory) ValidateDelete ¶
func (r *DBaaSInventory) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DBaaSInventory) ValidateUpdate ¶
func (r *DBaaSInventory) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DBaaSInventoryList ¶
type DBaaSInventoryList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DBaaSInventory `json:"items"`
}
DBaaSInventoryList contains a list of DBaaSInventories.
func (*DBaaSInventoryList) DeepCopy ¶
func (in *DBaaSInventoryList) DeepCopy() *DBaaSInventoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInventoryList.
func (*DBaaSInventoryList) DeepCopyInto ¶
func (in *DBaaSInventoryList) DeepCopyInto(out *DBaaSInventoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSInventoryList) DeepCopyObject ¶
func (in *DBaaSInventoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSInventoryPolicy ¶
type DBaaSInventoryPolicy struct {
// Disables provisioning on inventory accounts.
DisableProvisions *bool `json:"disableProvisions,omitempty"`
// Namespaces where DBaaSConnection and DBaaSInstance objects are only allowed to reference a policy's inventories.
Connections DBaaSConnectionPolicy `json:"connections,omitempty"`
}
DBaaSInventoryPolicy sets the inventory policy.
func (*DBaaSInventoryPolicy) DeepCopy ¶
func (in *DBaaSInventoryPolicy) DeepCopy() *DBaaSInventoryPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInventoryPolicy.
func (*DBaaSInventoryPolicy) DeepCopyInto ¶
func (in *DBaaSInventoryPolicy) DeepCopyInto(out *DBaaSInventoryPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSInventorySpec ¶
type DBaaSInventorySpec struct {
// The secret containing the provider-specific connection credentials to use with the provider's API endpoint.
// The format specifies the secret in the provider’s operator for its DBaaSProvider custom resource (CR), such as the CredentialFields key.
// The secret must exist within the same namespace as the inventory.
CredentialsRef *LocalObjectReference `json:"credentialsRef"`
}
DBaaSInventorySpec defines the inventory specifications for the provider's operators.
func (*DBaaSInventorySpec) DeepCopy ¶
func (in *DBaaSInventorySpec) DeepCopy() *DBaaSInventorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInventorySpec.
func (*DBaaSInventorySpec) DeepCopyInto ¶
func (in *DBaaSInventorySpec) DeepCopyInto(out *DBaaSInventorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSInventoryStatus ¶
type DBaaSInventoryStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty"`
// A list of database services returned from querying the database provider.
DatabaseServices []DatabaseService `json:"databaseServices,omitempty"`
}
DBaaSInventoryStatus defines the inventory status that the provider's operator uses.
func (*DBaaSInventoryStatus) DeepCopy ¶
func (in *DBaaSInventoryStatus) DeepCopy() *DBaaSInventoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSInventoryStatus.
func (*DBaaSInventoryStatus) DeepCopyInto ¶
func (in *DBaaSInventoryStatus) DeepCopyInto(out *DBaaSInventoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSOperatorInventorySpec ¶
type DBaaSOperatorInventorySpec struct {
// A reference to a DBaaSProvider custom resource (CR).
ProviderRef NamespacedName `json:"providerRef"`
// The properties that will be copied into the provider’s inventory.
DBaaSInventorySpec `json:",inline"`
// The policy for this inventory.
Policy *DBaaSInventoryPolicy `json:"policy,omitempty"`
}
DBaaSOperatorInventorySpec defines the desired state of a DBaaSInventory object.
func (*DBaaSOperatorInventorySpec) DeepCopy ¶
func (in *DBaaSOperatorInventorySpec) DeepCopy() *DBaaSOperatorInventorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSOperatorInventorySpec.
func (*DBaaSOperatorInventorySpec) DeepCopyInto ¶
func (in *DBaaSOperatorInventorySpec) DeepCopyInto(out *DBaaSOperatorInventorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSPlatform ¶
type DBaaSPlatform struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSPlatformSpec `json:"spec,omitempty"`
Status DBaaSPlatformStatus `json:"status,omitempty"`
}
DBaaSPlatform defines the schema for the DBaaSPlatform API. +operator-sdk:csv:customresourcedefinitions:displayName="DBaaSPlatform"
func (*DBaaSPlatform) DeepCopy ¶
func (in *DBaaSPlatform) DeepCopy() *DBaaSPlatform
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPlatform.
func (*DBaaSPlatform) DeepCopyInto ¶
func (in *DBaaSPlatform) DeepCopyInto(out *DBaaSPlatform)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSPlatform) DeepCopyObject ¶
func (in *DBaaSPlatform) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSPlatformList ¶
type DBaaSPlatformList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DBaaSPlatform `json:"items"`
}
DBaaSPlatformList contains a list of DBaaSPlatforms.
func (*DBaaSPlatformList) DeepCopy ¶
func (in *DBaaSPlatformList) DeepCopy() *DBaaSPlatformList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPlatformList.
func (*DBaaSPlatformList) DeepCopyInto ¶
func (in *DBaaSPlatformList) DeepCopyInto(out *DBaaSPlatformList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSPlatformList) DeepCopyObject ¶
func (in *DBaaSPlatformList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSPlatformSpec ¶
type DBaaSPlatformSpec struct {
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=1440
// Sets the minimum interval, which the provider's operator controllers reconcile. The default value is 180 minutes.
SyncPeriod *int `json:"syncPeriod,omitempty"`
}
DBaaSPlatformSpec defines the desired state of a DBaaSPlatform object.
func (*DBaaSPlatformSpec) DeepCopy ¶
func (in *DBaaSPlatformSpec) DeepCopy() *DBaaSPlatformSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPlatformSpec.
func (*DBaaSPlatformSpec) DeepCopyInto ¶
func (in *DBaaSPlatformSpec) DeepCopyInto(out *DBaaSPlatformSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSPlatformStatus ¶
type DBaaSPlatformStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty"`
PlatformsStatus []PlatformStatus `json:"platformsStatus"`
}
DBaaSPlatformStatus defines the observed state of a DBaaSPlatform object.
func (*DBaaSPlatformStatus) DeepCopy ¶
func (in *DBaaSPlatformStatus) DeepCopy() *DBaaSPlatformStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPlatformStatus.
func (*DBaaSPlatformStatus) DeepCopyInto ¶
func (in *DBaaSPlatformStatus) DeepCopyInto(out *DBaaSPlatformStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSPolicy ¶
type DBaaSPolicy struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSPolicySpec `json:"spec,omitempty"`
Status DBaaSPolicyStatus `json:"status,omitempty"`
}
DBaaSPolicy enables administrative capabilities within a namespace, and sets a default inventory policy. Policy defaults can be overridden on a per-inventory basis. +operator-sdk:csv:customresourcedefinitions:displayName="Provider Account Policy"
func (*DBaaSPolicy) DeepCopy ¶
func (in *DBaaSPolicy) DeepCopy() *DBaaSPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPolicy.
func (*DBaaSPolicy) DeepCopyInto ¶
func (in *DBaaSPolicy) DeepCopyInto(out *DBaaSPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSPolicy) DeepCopyObject ¶
func (in *DBaaSPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DBaaSPolicy) SetupWebhookWithManager ¶
func (r *DBaaSPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the Manager.
func (*DBaaSPolicy) ValidateCreate ¶
func (r *DBaaSPolicy) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DBaaSPolicy) ValidateDelete ¶
func (r *DBaaSPolicy) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DBaaSPolicy) ValidateUpdate ¶
func (r *DBaaSPolicy) ValidateUpdate(_ runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DBaaSPolicyList ¶
type DBaaSPolicyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DBaaSPolicy `json:"items"`
}
DBaaSPolicyList contains a list of DBaaSPolicy objects.
func (*DBaaSPolicyList) DeepCopy ¶
func (in *DBaaSPolicyList) DeepCopy() *DBaaSPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPolicyList.
func (*DBaaSPolicyList) DeepCopyInto ¶
func (in *DBaaSPolicyList) DeepCopyInto(out *DBaaSPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSPolicyList) DeepCopyObject ¶
func (in *DBaaSPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSPolicySpec ¶
type DBaaSPolicySpec struct {
DBaaSInventoryPolicy `json:",inline"`
}
DBaaSPolicySpec the specifications for a DBaaSPolicy object.
func (*DBaaSPolicySpec) DeepCopy ¶
func (in *DBaaSPolicySpec) DeepCopy() *DBaaSPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPolicySpec.
func (*DBaaSPolicySpec) DeepCopyInto ¶
func (in *DBaaSPolicySpec) DeepCopyInto(out *DBaaSPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSPolicyStatus ¶
DBaaSPolicyStatus defines the observed state of a DBaaSPolicy object.
func (*DBaaSPolicyStatus) DeepCopy ¶
func (in *DBaaSPolicyStatus) DeepCopy() *DBaaSPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSPolicyStatus.
func (*DBaaSPolicyStatus) DeepCopyInto ¶
func (in *DBaaSPolicyStatus) DeepCopyInto(out *DBaaSPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSProvider ¶
type DBaaSProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSProviderSpec `json:"spec,omitempty"`
Status DBaaSProviderStatus `json:"status,omitempty"`
}
DBaaSProvider defines the schema for the DBaaSProvider API. +operator-sdk:csv:customresourcedefinitions:displayName="DBaaSProvider"
func (*DBaaSProvider) DeepCopy ¶
func (in *DBaaSProvider) DeepCopy() *DBaaSProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProvider.
func (*DBaaSProvider) DeepCopyInto ¶
func (in *DBaaSProvider) DeepCopyInto(out *DBaaSProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSProvider) DeepCopyObject ¶
func (in *DBaaSProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DBaaSProvider) GetDBaaSAPIGroupVersion ¶
func (r *DBaaSProvider) GetDBaaSAPIGroupVersion() schema.GroupVersion
GetDBaaSAPIGroupVersion returns the DBaaS API group version used by the provider
func (*DBaaSProvider) SetupWebhookWithManager ¶
func (r *DBaaSProvider) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the Manager.
type DBaaSProviderConnection ¶
type DBaaSProviderConnection struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSConnectionSpec `json:"spec,omitempty"`
Status DBaaSConnectionStatus `json:"status,omitempty"`
}
DBaaSProviderConnection defines the schema for a provider's connection status.
func (*DBaaSProviderConnection) DeepCopy ¶
func (in *DBaaSProviderConnection) DeepCopy() *DBaaSProviderConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProviderConnection.
func (*DBaaSProviderConnection) DeepCopyInto ¶
func (in *DBaaSProviderConnection) DeepCopyInto(out *DBaaSProviderConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSProviderInstance ¶
type DBaaSProviderInstance struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSInstanceSpec `json:"spec,omitempty"`
Status DBaaSInstanceStatus `json:"status,omitempty"`
}
DBaaSProviderInstance defines the schema for a provider instance object.
func (*DBaaSProviderInstance) DeepCopy ¶
func (in *DBaaSProviderInstance) DeepCopy() *DBaaSProviderInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProviderInstance.
func (*DBaaSProviderInstance) DeepCopyInto ¶
func (in *DBaaSProviderInstance) DeepCopyInto(out *DBaaSProviderInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSProviderInventory ¶
type DBaaSProviderInventory struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DBaaSInventorySpec `json:"spec,omitempty"`
Status DBaaSInventoryStatus `json:"status,omitempty"`
}
DBaaSProviderInventory defines the schema for a provider's inventory status.
func (*DBaaSProviderInventory) DeepCopy ¶
func (in *DBaaSProviderInventory) DeepCopy() *DBaaSProviderInventory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProviderInventory.
func (*DBaaSProviderInventory) DeepCopyInto ¶
func (in *DBaaSProviderInventory) DeepCopyInto(out *DBaaSProviderInventory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSProviderList ¶
type DBaaSProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DBaaSProvider `json:"items"`
}
DBaaSProviderList contains a list of DBaaSProviders.
func (*DBaaSProviderList) DeepCopy ¶
func (in *DBaaSProviderList) DeepCopy() *DBaaSProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProviderList.
func (*DBaaSProviderList) DeepCopyInto ¶
func (in *DBaaSProviderList) DeepCopyInto(out *DBaaSProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSProviderList) DeepCopyObject ¶
func (in *DBaaSProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSProviderSpec ¶
type DBaaSProviderSpec struct {
// Contains information about database provider and platform.
Provider DatabaseProviderInfo `json:"provider"`
// +kubebuilder:default=dbaas.redhat.com/v1alpha1
// The DBaaS API group version supported by the provider.
GroupVersion string `json:"groupVersion"`
// The name of the inventory custom resource definition (CRD) as defined by the database provider.
InventoryKind string `json:"inventoryKind"`
// The name of the connection's custom resource definition (CRD) as defined by the provider.
ConnectionKind string `json:"connectionKind"`
// The name of the instance's custom resource definition (CRD) as defined by the provider for provisioning.
InstanceKind string `json:"instanceKind"`
// Indicates what information to collect from the user interface and how to display fields in a form.
CredentialFields []CredentialField `json:"credentialFields"`
// Indicates whether the provider offers free trials.
AllowsFreeTrial bool `json:"allowsFreeTrial"`
// The URL for provisioning instances by using the database provider's web portal.
ExternalProvisionURL string `json:"externalProvisionURL"`
// Instructions on how to provision instances by using the database provider's web portal.
ExternalProvisionDescription string `json:"externalProvisionDescription"`
// Parameter specifications used by the user interface (UI) for provisioning a database instance.
ProvisioningParameters map[ProvisioningParameterType]ProvisioningParameter `json:"provisioningParameters,omitempty"`
}
DBaaSProviderSpec defines the desired state of a DBaaSProvider object.
func (*DBaaSProviderSpec) DeepCopy ¶
func (in *DBaaSProviderSpec) DeepCopy() *DBaaSProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProviderSpec.
func (*DBaaSProviderSpec) DeepCopyInto ¶
func (in *DBaaSProviderSpec) DeepCopyInto(out *DBaaSProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSProviderStatus ¶
DBaaSProviderStatus defines the observed state of DBaaSProvider object.
func (*DBaaSProviderStatus) DeepCopy ¶
func (in *DBaaSProviderStatus) DeepCopy() *DBaaSProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProviderStatus.
func (*DBaaSProviderStatus) DeepCopyInto ¶
func (in *DBaaSProviderStatus) DeepCopyInto(out *DBaaSProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaasInstancePhase ¶
type DBaasInstancePhase string
DBaasInstancePhase defines the phases for instance provisioning.
const ( InstancePhaseUnknown DBaasInstancePhase = "Unknown" InstancePhasePending DBaasInstancePhase = "Pending" InstancePhaseCreating DBaasInstancePhase = "Creating" InstancePhaseUpdating DBaasInstancePhase = "Updating" InstancePhaseDeleting DBaasInstancePhase = "Deleting" InstancePhaseDeleted DBaasInstancePhase = "Deleted" InstancePhaseReady DBaasInstancePhase = "Ready" InstancePhaseError DBaasInstancePhase = "Error" InstancePhaseFailed DBaasInstancePhase = "Failed" )
Constants for the instance phases.
type DatabaseProviderInfo ¶
type DatabaseProviderInfo struct {
// The name used to specify the service binding origin parameter.
// For example, 'OpenShift Database Access / Crunchy Bridge'.
Name string `json:"name"`
// A user-friendly name for this database provider.
// For example, 'Crunchy Bridge managed PostgreSQL'.
DisplayName string `json:"displayName"`
// Indicates the description text shown for a database provider within the user interface.
// For example, the catalog tile description.
DisplayDescription string `json:"displayDescription"`
// Indicates what icon to display on the catalog tile.
Icon ProviderIcon `json:"icon"`
}
DatabaseProviderInfo defines the information for a DBaaSProvider object.
func (*DatabaseProviderInfo) DeepCopy ¶
func (in *DatabaseProviderInfo) DeepCopy() *DatabaseProviderInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseProviderInfo.
func (*DatabaseProviderInfo) DeepCopyInto ¶
func (in *DatabaseProviderInfo) DeepCopyInto(out *DatabaseProviderInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseService ¶
type DatabaseService struct {
// A provider-specific identifier for the database service.
// It can contain one or more pieces of information used by the provider's operator to identify the database service.
ServiceID string `json:"serviceID"`
// The name of the database service.
ServiceName string `json:"serviceName,omitempty"`
// The type of the database service.
ServiceType *DatabaseServiceType `json:"serviceType,omitempty"`
// Any other provider-specific information related to this service.
ServiceInfo map[string]string `json:"serviceInfo,omitempty"`
}
DatabaseService defines the information of a database service.
func (*DatabaseService) DeepCopy ¶
func (in *DatabaseService) DeepCopy() *DatabaseService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseService.
func (*DatabaseService) DeepCopyInto ¶
func (in *DatabaseService) DeepCopyInto(out *DatabaseService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseServiceType ¶
type DatabaseServiceType string
DatabaseServiceType defines the supported database service types.
type FieldDependency ¶
type FieldDependency struct {
// +kubebuilder:validation:Enum=name;plan;cloudProvider;regions;availabilityZones;nodes;machineType;storageGib;spendLimit;teamProject;databaseType;dedicatedLocationLabel;serverlessLocationLabel;hardwareLabel;planLabel;spendLimitLabel
// Name of the dependency field.
Field ProvisioningParameterType `json:"field,omitempty"`
// Value of the dependency field.
Value string `json:"value,omitempty"`
}
FieldDependency defines the name and value of a dependency field.
func (*FieldDependency) DeepCopy ¶
func (in *FieldDependency) DeepCopy() *FieldDependency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldDependency.
func (*FieldDependency) DeepCopyInto ¶
func (in *FieldDependency) DeepCopyInto(out *FieldDependency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct {
// A provider-specific identifier for this instance in the database service.
// It can contain one or more pieces of information used by the provider's operator to identify the instance on the database service.
InstanceID string `json:"instanceID"`
// The name of this instance in the database service.
Name string `json:"name,omitempty"`
// Any other provider-specific information related to this instance.
InstanceInfo map[string]string `json:"instanceInfo,omitempty"`
}
Instance defines the information of a database instance.
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalObjectReference ¶
type LocalObjectReference struct {
// Name of the referent.
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
}
LocalObjectReference contains enough information to locate the referenced object inside the same namespace.
func (*LocalObjectReference) DeepCopy ¶
func (in *LocalObjectReference) DeepCopy() *LocalObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference.
func (*LocalObjectReference) DeepCopyInto ¶
func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedName ¶
type NamespacedName struct {
// The namespace where an object of a known type is stored.
Namespace string `json:"namespace,omitempty"`
// The name for object of a known type.
Name string `json:"name"`
}
NamespacedName defines the namespace and name of a k8s resource.
func (*NamespacedName) DeepCopy ¶
func (in *NamespacedName) DeepCopy() *NamespacedName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedName.
func (*NamespacedName) DeepCopyInto ¶
func (in *NamespacedName) DeepCopyInto(out *NamespacedName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObservabilityConfig ¶
type ObservabilityConfig struct {
AuthType string
RemoteWritesURL string
RHSSOTokenURL string
AddonName string
RHOBSSecretName string
}
ObservabilityConfig defines parameters for observatorium.
func (*ObservabilityConfig) DeepCopy ¶
func (in *ObservabilityConfig) DeepCopy() *ObservabilityConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservabilityConfig.
func (*ObservabilityConfig) DeepCopyInto ¶
func (in *ObservabilityConfig) DeepCopyInto(out *ObservabilityConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Option ¶
type Option struct {
// Value of the option.
Value string `json:"value,omitempty"`
// Corresponding display value.
DisplayValue string `json:"displayValue,omitempty"`
}
Option defines the value and display value for an option in a dropdown menu, radio button, or checkbox.
func (*Option) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Option.
func (*Option) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformConfig ¶
type PlatformConfig struct {
Name string
CSV string
DeploymentName string
Image string
PackageName string
Channel string
DisplayName string
Envs []corev1.EnvVar
Type PlatformType
}
PlatformConfig defines parameters for a platform.
func (*PlatformConfig) DeepCopy ¶
func (in *PlatformConfig) DeepCopy() *PlatformConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformConfig.
func (*PlatformConfig) DeepCopyInto ¶
func (in *PlatformConfig) DeepCopyInto(out *PlatformConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformInstlnStatus ¶
type PlatformInstlnStatus string
PlatformInstlnStatus provides the status of a platform installation.
const ( ResultSuccess PlatformInstlnStatus = "success" ResultFailed PlatformInstlnStatus = "failed" ResultInProgress PlatformInstlnStatus = "in progress" )
Platform status values.
type PlatformName ¶
type PlatformName string
PlatformName defines the name of the platform.
const ( CrunchyBridgeInstallation PlatformName = "crunchy-bridge" DBaaSDynamicPluginInstallation PlatformName = "dbaas-dynamic-plugin" CockroachDBInstallation PlatformName = "cockroachdb-cloud" ObservabilityInstallation PlatformName = "observability" DBaaSQuickStartInstallation PlatformName = "dbaas-quick-starts" RDSProviderInstallation PlatformName = "rds-provider" )
Supported platform names.
type PlatformStatus ¶
type PlatformStatus struct {
PlatformName PlatformName `json:"platformName"`
PlatformStatus PlatformInstlnStatus `json:"platformStatus"`
LastMessage string `json:"lastMessage,omitempty"`
}
PlatformStatus defines the status of a DBaaSPlatform object.
func (*PlatformStatus) DeepCopy ¶
func (in *PlatformStatus) DeepCopy() *PlatformStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformStatus.
func (*PlatformStatus) DeepCopyInto ¶
func (in *PlatformStatus) DeepCopyInto(out *PlatformStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformType ¶
type PlatformType int
PlatformType defines the platform type.
const ( TypeQuickStart PlatformType = iota TypeConsolePlugin TypeOperator TypeObservability )
Platform types.
type ProviderIcon ¶
ProviderIcon follows the same field and naming formats as a comma-separated values (CSV) file.
func (*ProviderIcon) DeepCopy ¶
func (in *ProviderIcon) DeepCopy() *ProviderIcon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderIcon.
func (*ProviderIcon) DeepCopyInto ¶
func (in *ProviderIcon) DeepCopyInto(out *ProviderIcon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisioningParameter ¶
type ProvisioningParameter struct {
// A user-friendly name for this field.
DisplayName string `json:"displayName"`
// Additional information about the field.
HelpText string `json:"helpText,omitempty"`
// Lists of additional data containing the options or default values for the field.
ConditionalData []ConditionalProvisioningParameterData `json:"conditionalData,omitempty"`
}
ProvisioningParameter provides information for a ProvisioningParameter object.
func (*ProvisioningParameter) DeepCopy ¶
func (in *ProvisioningParameter) DeepCopy() *ProvisioningParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisioningParameter.
func (*ProvisioningParameter) DeepCopyInto ¶
func (in *ProvisioningParameter) DeepCopyInto(out *ProvisioningParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisioningParameterType ¶
type ProvisioningParameterType string
ProvisioningParameterType defines teh type for provisioning parameters
const ( ProvisioningName ProvisioningParameterType = "name" ProvisioningPlan ProvisioningParameterType = "plan" ProvisioningCloudProvider ProvisioningParameterType = "cloudProvider" ProvisioningRegions ProvisioningParameterType = "regions" ProvisioningAvailabilityZones ProvisioningParameterType = "availabilityZones" ProvisioningNodes ProvisioningParameterType = "nodes" ProvisioningMachineType ProvisioningParameterType = "machineType" ProvisioningStorageGib ProvisioningParameterType = "storageGib" ProvisioningSpendLimit ProvisioningParameterType = "spendLimit" ProvisioningTeamProject ProvisioningParameterType = "teamProject" ProvisioningDatabaseType ProvisioningParameterType = "databaseType" ProvisioningDedicatedLocationLabel ProvisioningParameterType = "dedicatedLocationLabel" ProvisioningServerlessLocationLabel ProvisioningParameterType = "serverlessLocationLabel" ProvisioningHardwareLabel ProvisioningParameterType = "hardwareLabel" ProvisioningPlanLabel ProvisioningParameterType = "planLabel" ProvisioningSpendLimitLabel ProvisioningParameterType = "spendLimitLabel" )
DBaaS provisioning fields
Source Files
¶
- dbaasconnection_conversion.go
- dbaasconnection_types.go
- dbaasconnection_webhook.go
- dbaasinstance_conversion.go
- dbaasinstance_types.go
- dbaasinstance_webhook.go
- dbaasinventory_conversion.go
- dbaasinventory_types.go
- dbaasinventory_webhook.go
- dbaasplatform_types.go
- dbaaspolicy_conversion.go
- dbaaspolicy_types.go
- dbaaspolicy_webhook.go
- dbaasprovider.go
- dbaasprovider_conversion.go
- dbaasprovider_types.go
- dbaasprovider_webhook.go
- groupversion_info.go
- zz_generated.deepcopy.go