Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=accurate.cybozu.com
Package v1 contains API Schema definitions for the accurate v1 API group
Index ¶
Constants ¶
const ( SubNamespaceOK = SubNamespaceStatus("ok") SubNamespaceConflict = SubNamespaceStatus("conflict") )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "accurate.cybozu.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type SubNamespace ¶
type SubNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec is the spec of SubNamespace. // +optional Spec SubNamespaceSpec `json:"spec,omitempty"` // Status is the status of SubNamespace. // +optional Status SubNamespaceStatus `json:"status,omitempty"` }
SubNamespace is the Schema for the subnamespaces API
func (*SubNamespace) ConvertFrom ¶
func (dst *SubNamespace) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v2alpha1) to this version.
func (*SubNamespace) ConvertTo ¶
func (src *SubNamespace) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this SubNamespace to the Hub version (v2alpha1).
func (*SubNamespace) DeepCopy ¶
func (in *SubNamespace) DeepCopy() *SubNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubNamespace.
func (*SubNamespace) DeepCopyInto ¶
func (in *SubNamespace) DeepCopyInto(out *SubNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubNamespace) DeepCopyObject ¶
func (in *SubNamespace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubNamespaceList ¶
type SubNamespaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SubNamespace `json:"items"` }
SubNamespaceList contains a list of SubNamespace
func (*SubNamespaceList) DeepCopy ¶
func (in *SubNamespaceList) DeepCopy() *SubNamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubNamespaceList.
func (*SubNamespaceList) DeepCopyInto ¶
func (in *SubNamespaceList) DeepCopyInto(out *SubNamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubNamespaceList) DeepCopyObject ¶
func (in *SubNamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubNamespaceSpec ¶
type SubNamespaceSpec struct { // Labels are the labels to be propagated to the sub-namespace // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations are the annotations to be propagated to the sub-namespace. // +optional Annotations map[string]string `json:"annotations,omitempty"` }
SubNamespaceSpec defines the desired state of SubNamespace
func (*SubNamespaceSpec) DeepCopy ¶
func (in *SubNamespaceSpec) DeepCopy() *SubNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubNamespaceSpec.
func (*SubNamespaceSpec) DeepCopyInto ¶
func (in *SubNamespaceSpec) DeepCopyInto(out *SubNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubNamespaceStatus ¶
type SubNamespaceStatus string
SubNamespaceStatus defines the observed state of SubNamespace +kubebuilder:validation:Enum=ok;conflict