Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the dbod.cern v1alpha1 API group +kubebuilder:object:generate=true +groupName=dbod.cern
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dbod.cern.ch", Version: "v1alpha1"} // 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 Database ¶
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec,omitempty"` Status DatabaseStatus `json:"status,omitempty"` }
Database is an API to request provisioning of a new database on a DBOD host, creating connection credentials in the same namespace
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseClass ¶
type DatabaseClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseClassSpec `json:"spec,omitempty"` Status DatabaseClassStatus `json:"status,omitempty"` }
DatabaseClass defines a DB QoS class as a set of DBOD hosts that can serve such DBs
func (*DatabaseClass) DeepCopy ¶
func (in *DatabaseClass) DeepCopy() *DatabaseClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseClass.
func (*DatabaseClass) DeepCopyInto ¶
func (in *DatabaseClass) DeepCopyInto(out *DatabaseClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseClass) DeepCopyObject ¶
func (in *DatabaseClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseClassList ¶
type DatabaseClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatabaseClass `json:"items"` }
DatabaseClassList contains a list of DatabaseClass
func (*DatabaseClassList) DeepCopy ¶
func (in *DatabaseClassList) DeepCopy() *DatabaseClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseClassList.
func (*DatabaseClassList) DeepCopyInto ¶
func (in *DatabaseClassList) DeepCopyInto(out *DatabaseClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseClassList) DeepCopyObject ¶
func (in *DatabaseClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseClassSpec ¶
type DatabaseClassSpec struct {
Instances []string `json:"instances,omitempty"`
}
DatabaseClassSpec defines the desired state of DatabaseClass
func (*DatabaseClassSpec) DeepCopy ¶
func (in *DatabaseClassSpec) DeepCopy() *DatabaseClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseClassSpec.
func (*DatabaseClassSpec) DeepCopyInto ¶
func (in *DatabaseClassSpec) DeepCopyInto(out *DatabaseClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseClassStatus ¶
type DatabaseClassStatus struct { }
DatabaseClassStatus defines the observed state of DatabaseClass
func (*DatabaseClassStatus) DeepCopy ¶
func (in *DatabaseClassStatus) DeepCopy() *DatabaseClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseClassStatus.
func (*DatabaseClassStatus) DeepCopyInto ¶
func (in *DatabaseClassStatus) DeepCopyInto(out *DatabaseClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Database `json:"items"` }
DatabaseList contains a list of Database
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSpec ¶
type DatabaseSpec struct { // Name of the required DB Quality of Service class (consult the `DatabaseClass` resources supported by the cluster) DatabaseClass string `json:"databaseClass,omitempty"` // [exceptional] Request to create the new DB on a specific DBOD instance DbodInstanceName string `json:"dbodInstanceName,omitempty"` DbName string `json:"dbName"` DbUser string `json:"dbUser"` // Labels to be assigned to the secret that will be created the operator (useful with "label selector") ExtraLabels map[string]string `json:"extraLabels"` }
DatabaseSpec defines the desired state of Database
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
type DatabaseStatus struct {
DbodInstance string `json:"dbodInstance,omitempty"`
}
DatabaseStatus defines the observed state of Database
func (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.