Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the mariadb v1beta1 API group +kubebuilder:object:generate=true +groupName=mariadb.bjornmagnusson.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "mariadb.bjornmagnusson.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 )
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
Name string `json:"name,omitempty"`
}
Database defines the database
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.
type DatabaseServer ¶
type DatabaseServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseServerSpec `json:"spec,omitempty"` Status DatabaseServerStatus `json:"status,omitempty"` }
DatabaseServer is the Schema for the databaseservers API
func (*DatabaseServer) DeepCopy ¶
func (in *DatabaseServer) DeepCopy() *DatabaseServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServer.
func (*DatabaseServer) DeepCopyInto ¶
func (in *DatabaseServer) DeepCopyInto(out *DatabaseServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseServer) DeepCopyObject ¶
func (in *DatabaseServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseServerList ¶
type DatabaseServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatabaseServer `json:"items"` }
DatabaseServerList contains a list of DatabaseServer
func (*DatabaseServerList) DeepCopy ¶
func (in *DatabaseServerList) DeepCopy() *DatabaseServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServerList.
func (*DatabaseServerList) DeepCopyInto ¶
func (in *DatabaseServerList) DeepCopyInto(out *DatabaseServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseServerList) DeepCopyObject ¶
func (in *DatabaseServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseServerSpec ¶
type DatabaseServerSpec struct { Name string `json:"name,omitempty"` Image string `json:"image,omitempty"` Port int32 `json:"port,omitempty"` Password string `json:"password,omitempty"` Databases []Database `json:"databases,omitempty"` }
DatabaseServerSpec defines the desired state of DatabaseServer
func (*DatabaseServerSpec) DeepCopy ¶
func (in *DatabaseServerSpec) DeepCopy() *DatabaseServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServerSpec.
func (*DatabaseServerSpec) DeepCopyInto ¶
func (in *DatabaseServerSpec) DeepCopyInto(out *DatabaseServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseServerStatus ¶
type DatabaseServerStatus struct { }
DatabaseServerStatus defines the observed state of DatabaseServer
func (*DatabaseServerStatus) DeepCopy ¶
func (in *DatabaseServerStatus) DeepCopy() *DatabaseServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServerStatus.
func (*DatabaseServerStatus) DeepCopyInto ¶
func (in *DatabaseServerStatus) DeepCopyInto(out *DatabaseServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.