Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the wordpress v1 API group +kubebuilder:object:generate=true +groupName=wordpress.codingbee.net
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "wordpress.codingbee.net", 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 EnvironmentVariables ¶
type EnvironmentVariables struct {
MysqlRootPassword string `json:"mysql_root_password"`
MysqlDatabase string `json:"mysql_database"`
MysqlUser string `json:"mysql_user"`
MysqlPassword string `json:"mysql_password"`
}
EnvironmentVariables mirrors - https://hub.docker.com/_/mysql#Environment_Variables
func (*EnvironmentVariables) DeepCopy ¶
func (in *EnvironmentVariables) DeepCopy() *EnvironmentVariables
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentVariables.
func (*EnvironmentVariables) DeepCopyInto ¶
func (in *EnvironmentVariables) DeepCopyInto(out *EnvironmentVariables)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Mysql ¶
type Mysql struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MysqlSpec `json:"spec,omitempty"`
Status MysqlStatus `json:"status,omitempty"`
}
Mysql is the Schema for the mysqls API
func (*Mysql) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mysql.
func (*Mysql) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Mysql) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MysqlList ¶
type MysqlList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Mysql `json:"items"`
}
MysqlList contains a list of Mysql
func (*MysqlList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlList.
func (*MysqlList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MysqlList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MysqlSpec ¶
type MysqlSpec struct {
// Foo is an example field of Mysql. Edit mysql_types.go to remove/update
Foo string `json:"foo,omitempty"`
// Environment contains initial configs needed to create the mysql db
Environment EnvironmentVariables `json:"environment"`
}
MysqlSpec defines the desired state of Mysql
func (*MysqlSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlSpec.
func (*MysqlSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MysqlStatus ¶
type MysqlStatus struct {
}
MysqlStatus defines the observed state of Mysql
func (*MysqlStatus) DeepCopy ¶
func (in *MysqlStatus) DeepCopy() *MysqlStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlStatus.
func (*MysqlStatus) DeepCopyInto ¶
func (in *MysqlStatus) DeepCopyInto(out *MysqlStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.