Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cim v1alpha1 API group +kubebuilder:object:generate=true +groupName=cim.zerocloud.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cim.zerocloud.io", Version: "v1alpha1"} // 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 MirrorConfig ¶
type MirrorConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MirrorConfigSpec `json:"spec,omitempty"` Status MirrorConfigStatus `json:"status,omitempty"` }
MirrorConfig is the Schema for the mirrorconfigs API
func (*MirrorConfig) DeepCopy ¶
func (in *MirrorConfig) DeepCopy() *MirrorConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorConfig.
func (*MirrorConfig) DeepCopyInto ¶
func (in *MirrorConfig) DeepCopyInto(out *MirrorConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MirrorConfig) DeepCopyObject ¶
func (in *MirrorConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MirrorConfigList ¶
type MirrorConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MirrorConfig `json:"items"` }
MirrorConfigList contains a list of MirrorConfig
func (*MirrorConfigList) DeepCopy ¶
func (in *MirrorConfigList) DeepCopy() *MirrorConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorConfigList.
func (*MirrorConfigList) DeepCopyInto ¶
func (in *MirrorConfigList) DeepCopyInto(out *MirrorConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MirrorConfigList) DeepCopyObject ¶
func (in *MirrorConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MirrorConfigSpec ¶
type MirrorConfigSpec struct { Images []string `json:"images"` Destinations []string `json:"destinations"` TagPolicy *TagPolicy `json:"tagPolicy,omitempty"` }
MirrorConfigSpec defines the desired state of MirrorConfig
func (*MirrorConfigSpec) DeepCopy ¶
func (in *MirrorConfigSpec) DeepCopy() *MirrorConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorConfigSpec.
func (*MirrorConfigSpec) DeepCopyInto ¶
func (in *MirrorConfigSpec) DeepCopyInto(out *MirrorConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MirrorConfigStatus ¶
type MirrorConfigStatus struct { LastExecution *metav1.Time `json:"lastExecution,omitempty"` Summary []string `json:"summary,omitempty"` }
MirrorConfigStatus defines the observed state of MirrorConfig
func (*MirrorConfigStatus) DeepCopy ¶
func (in *MirrorConfigStatus) DeepCopy() *MirrorConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorConfigStatus.
func (*MirrorConfigStatus) DeepCopyInto ¶
func (in *MirrorConfigStatus) DeepCopyInto(out *MirrorConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.