Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the k8s v1 API group +kubebuilder:object:generate=true +groupName=k8s.cloudogu.com
Index ¶
- Constants
- Variables
- type Dogu
- func (in *Dogu) DeepCopy() *Dogu
- func (in *Dogu) DeepCopyInto(out *Dogu)
- func (in *Dogu) DeepCopyObject() runtime.Object
- func (d Dogu) GetDataVolumeName() string
- func (d Dogu) GetDescriptorObjectKey() client.ObjectKey
- func (d Dogu) GetObjectKey() *client.ObjectKey
- func (d Dogu) GetObjectMeta() *metav1.ObjectMeta
- func (d Dogu) GetPrivateVolumeName() string
- type DoguList
- type DoguSpec
- type DoguStatus
Constants ¶
const ( DoguStatusNotInstalled = "" DoguStatusInstalling = "installing" DoguStatusDeleting = "deleting" DoguStatusInstalled = "installed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "k8s.cloudogu.com", 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 Dogu ¶
type Dogu struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DoguSpec `json:"spec,omitempty"` Status DoguStatus `json:"status,omitempty"` }
Dogu is the Schema for the dogus API
func (*Dogu) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dogu.
func (*Dogu) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dogu) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Dogu) GetDataVolumeName ¶
GetDataVolumeName returns the data volume name for the dogu resource
func (Dogu) GetDescriptorObjectKey ¶ added in v0.2.0
GetDescriptorObjectKey returns the object key for the custom dogu descriptor with the actual name and namespace from the dogu resource
func (Dogu) GetObjectKey ¶
GetObjectKey returns the object key with the actual name and namespace from the dogu resource
func (Dogu) GetObjectMeta ¶
func (d Dogu) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta return the object meta with the actual name and namespace from the dogu resource
func (Dogu) GetPrivateVolumeName ¶
GetPrivateVolumeName returns the private volume name for the dogu resource
type DoguList ¶
type DoguList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Dogu `json:"items"` }
DoguList contains a list of Dogu
func (*DoguList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoguList.
func (*DoguList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DoguList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DoguSpec ¶
type DoguSpec struct { // Name of the dogu (e.g. official/ldap) Name string `json:"name,omitempty"` // Version of the dogu (e.g. 2.4.48-3) Version string `json:"version,omitempty"` }
DoguSpec defines the desired state of Dogu
func (*DoguSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoguSpec.
func (*DoguSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DoguStatus ¶
type DoguStatus struct { // Status represents the installation status of the Dogu Status string `json:"status"` }
DoguStatus defines the observed state of Dogu
func (*DoguStatus) DeepCopy ¶
func (in *DoguStatus) DeepCopy() *DoguStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoguStatus.
func (*DoguStatus) DeepCopyInto ¶
func (in *DoguStatus) DeepCopyInto(out *DoguStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.