Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=rds.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: rdscontroller.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Mysql ¶
type Mysql struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MysqlSpec `json:"spec"` Status MysqlStatus `json:"status"` }
Mysql is a specification for a Mysql resource
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"` Items []Mysql `json:"items"` }
MysqlList is a list of Mysql resources
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 { Port *int32 `json:"port"` Replicas *int32 `json:"replicas,omitempty"` MysqlVersion string `json:"mysqlVersion"` }
MysqlSpec is the spec for a Mysql resource
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 {
AvailableReplicas int32 `json:"availableReplicas"`
}
MysqlStatus is the status for a Mysql resource
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.