Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=postgresdb.myob.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register the objects SchemeGroupVersion = schema.GroupVersion{Group: postgresdb.GroupName, Version: "v1alpha1"} // SchemeBuilder is something SchemeBuilder runtime.SchemeBuilder // AddToScheme is another something AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource tajes an unqualified resource and resturns a Group qualified GroupResource
Types ¶
type PostgresDB ¶
type PostgresDB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PostgresDBSpec `json:"spec"` Status PostgresDBStatus `json:"status"` }
PostgresDB is a specification for a DB resource
func (*PostgresDB) DeepCopy ¶
func (in *PostgresDB) DeepCopy() *PostgresDB
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDB.
func (*PostgresDB) DeepCopyInto ¶
func (in *PostgresDB) DeepCopyInto(out *PostgresDB)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresDB) DeepCopyObject ¶
func (in *PostgresDB) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresDBList ¶
type PostgresDBList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []PostgresDB `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +resource:path=postgresdbs PostgresDBList is a list of DB resources
func (*PostgresDBList) DeepCopy ¶
func (in *PostgresDBList) DeepCopy() *PostgresDBList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDBList.
func (*PostgresDBList) DeepCopyInto ¶
func (in *PostgresDBList) DeepCopyInto(out *PostgresDBList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresDBList) DeepCopyObject ¶
func (in *PostgresDBList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresDBSpec ¶
type PostgresDBSpec struct { Size string `json:"size,omitempty"` Storage string `json:"storage,omitempty"` Iops int64 `json:"iops,omitempty"` HA bool `json:"ha,omitempty"` Tags map[string]string `json:"tags,omitempty"` }
PostgresDBSpec is the spec for a DB resource
func (*PostgresDBSpec) DeepCopy ¶
func (in *PostgresDBSpec) DeepCopy() *PostgresDBSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDBSpec.
func (*PostgresDBSpec) DeepCopyInto ¶
func (in *PostgresDBSpec) DeepCopyInto(out *PostgresDBSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresDBStatus ¶
type PostgresDBStatus struct { Ready string `json:"ready"` ARN string `json:"arn"` ID string `json:"id"` }
PostgresDBStatus is the status for a DB resource
func (*PostgresDBStatus) DeepCopy ¶
func (in *PostgresDBStatus) DeepCopy() *PostgresDBStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDBStatus.
func (*PostgresDBStatus) DeepCopyInto ¶
func (in *PostgresDBStatus) DeepCopyInto(out *PostgresDBStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.