Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the dbaas v1 API group +kubebuilder:object:generate=true +groupName=dbaas.redhat.com
Index ¶
- Variables
- type DBaaSCluster
- type DBaaSClusterList
- type DBaaSConnection
- type DBaaSConnectionList
- type DBaaSConnectionSpec
- type DBaaSConnectionStatus
- type DBaaSDatabaseUser
- type DBaaSDatabaseUserList
- type DBaaSProject
- type DBaaSProjectList
- type DBaaSService
- type DBaaSServiceList
- type DBaaSServiceSpec
- type DBaaSServiceStatus
- type DatabaseProvider
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dbaas.redhat.com", Version: "v1"} // 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 )
Functions ¶
This section is empty.
Types ¶
type DBaaSCluster ¶
type DBaaSCluster struct { ID string `json:"id"` Name string `json:"name,omitempty"` CloudProviderName string `json:"providerName,omitempty"` CloudRegion string `json:"regionName,omitempty"` InstanceSizeName string `json:"instanceSizeName,omitempty"` DatabaseUser DBaaSDatabaseUser `json:"databaseUser,omitempty"` ConnectionString string `json:"connectionString,omitempty"` }
func (*DBaaSCluster) DeepCopy ¶
func (in *DBaaSCluster) DeepCopy() *DBaaSCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSCluster.
func (*DBaaSCluster) DeepCopyInto ¶
func (in *DBaaSCluster) DeepCopyInto(out *DBaaSCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSClusterList ¶
type DBaaSClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DBaaSClusterList `json:"items"` }
func (*DBaaSClusterList) DeepCopy ¶
func (in *DBaaSClusterList) DeepCopy() *DBaaSClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSClusterList.
func (*DBaaSClusterList) DeepCopyInto ¶
func (in *DBaaSClusterList) DeepCopyInto(out *DBaaSClusterList)
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 is the Schema for the dbaasconnections API
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.
type DBaaSConnectionList ¶
type DBaaSConnectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DBaaSConnection `json:"items"` }
DBaaSConnectionList contains a list of DBaaSConnection
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 DBaaSConnectionSpec ¶
type DBaaSConnectionSpec struct { // Type will be used by ServiceBindingConverter to indicate the type of connection desired (WIP) Type string `json:"type"` // Provider will be used by ServiceBindingConverter to indicate the provider type for connection desired (WIP) Provider string `json:"provider"` // Foo is an example field of DBaaSConnection. Edit dbaasconnection_types.go to remove/update Cluster *DBaaSCluster `json:"cluster"` }
DBaaSConnectionSpec defines the desired state of DBaaSConnection
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 { // DBConfigMap is the name of the ConfigMap containing the connection info DBConfigMap string `json:"dbConfigMap"` //+kubebuilder:validation:Required // DBCredentials is the name of the Secret containing the database credentials DBCredentials string `json:"dbCredentials"` }
DBaaSConnectionStatus defines the observed state of DBaaSConnection
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 DBaaSDatabaseUser ¶
type DBaaSDatabaseUser struct { Name string `json:"name"` Password []byte `json:"password,omitempty"` }
func (*DBaaSDatabaseUser) DeepCopy ¶
func (in *DBaaSDatabaseUser) DeepCopy() *DBaaSDatabaseUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSDatabaseUser.
func (*DBaaSDatabaseUser) DeepCopyInto ¶
func (in *DBaaSDatabaseUser) DeepCopyInto(out *DBaaSDatabaseUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSDatabaseUserList ¶
type DBaaSDatabaseUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DBaaSDatabaseUser `json:"items"` }
func (*DBaaSDatabaseUserList) DeepCopy ¶
func (in *DBaaSDatabaseUserList) DeepCopy() *DBaaSDatabaseUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSDatabaseUserList.
func (*DBaaSDatabaseUserList) DeepCopyInto ¶
func (in *DBaaSDatabaseUserList) DeepCopyInto(out *DBaaSDatabaseUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSProject ¶
type DBaaSProject struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Clusters []DBaaSCluster `json:"clusters,omitempty"` Users []DBaaSDatabaseUser `json:"dbUsers,omitempty"` }
func (*DBaaSProject) DeepCopy ¶
func (in *DBaaSProject) DeepCopy() *DBaaSProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProject.
func (*DBaaSProject) DeepCopyInto ¶
func (in *DBaaSProject) DeepCopyInto(out *DBaaSProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSProjectList ¶
type DBaaSProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DBaaSProject `json:"items"` }
func (*DBaaSProjectList) DeepCopy ¶
func (in *DBaaSProjectList) DeepCopy() *DBaaSProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSProjectList.
func (*DBaaSProjectList) DeepCopyInto ¶
func (in *DBaaSProjectList) DeepCopyInto(out *DBaaSProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSService ¶
type DBaaSService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DBaaSServiceSpec `json:"spec,omitempty"` Status DBaaSServiceStatus `json:"status,omitempty"` }
DBaaSService is the Schema for the dbaasservices API
func (*DBaaSService) DeepCopy ¶
func (in *DBaaSService) DeepCopy() *DBaaSService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSService.
func (*DBaaSService) DeepCopyInto ¶
func (in *DBaaSService) DeepCopyInto(out *DBaaSService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSService) DeepCopyObject ¶
func (in *DBaaSService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSServiceList ¶
type DBaaSServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DBaaSService `json:"items"` }
DBaaSServiceList contains a list of DBaaSService
func (*DBaaSServiceList) DeepCopy ¶
func (in *DBaaSServiceList) DeepCopy() *DBaaSServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSServiceList.
func (*DBaaSServiceList) DeepCopyInto ¶
func (in *DBaaSServiceList) DeepCopyInto(out *DBaaSServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBaaSServiceList) DeepCopyObject ¶
func (in *DBaaSServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DBaaSServiceSpec ¶
type DBaaSServiceSpec struct { // Provider is the name of the database provider whom we wish to connect with Provider DatabaseProvider `json:"provider"` // CredentialsSecretName indicates the name of the secret storing the vendor-specific connection credentials CredentialsSecretName string `json:"credentialsSecretName"` // CredentialsSecretName indicates the namespace of the secret storing the vendor-specific connection credentials CredentialsSecretNamespace string `json:"credentialsSecretNamespace"` // Imports indicates the ID's of cluster instances to be imported for developer workflow Imports []string `json:"selectedForImport,omitempty"` }
DBaaSServiceSpec defines the desired state of DBaaSService
func (*DBaaSServiceSpec) DeepCopy ¶
func (in *DBaaSServiceSpec) DeepCopy() *DBaaSServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSServiceSpec.
func (*DBaaSServiceSpec) DeepCopyInto ¶
func (in *DBaaSServiceSpec) DeepCopyInto(out *DBaaSServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DBaaSServiceStatus ¶
type DBaaSServiceStatus struct { // Projects reflects the list of entities returned from querying the DB provider Projects []DBaaSProject `json:"projects,omitempty"` }
DBaaSServiceStatus defines the observed state of DBaaSService
func (*DBaaSServiceStatus) DeepCopy ¶
func (in *DBaaSServiceStatus) DeepCopy() *DBaaSServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBaaSServiceStatus.
func (*DBaaSServiceStatus) DeepCopyInto ¶
func (in *DBaaSServiceStatus) DeepCopyInto(out *DBaaSServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseProvider ¶
type DatabaseProvider struct {
Name string `json:"name"`
}
func (*DatabaseProvider) DeepCopy ¶
func (in *DatabaseProvider) DeepCopy() *DatabaseProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseProvider.
func (*DatabaseProvider) DeepCopyInto ¶
func (in *DatabaseProvider) DeepCopyInto(out *DatabaseProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.