Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the action v1alpha1 API group +kubebuilder:object:generate=true +groupName=imageregistry.open-cluster-management.io
Index ¶
Constants ¶
const ( // ConditionPlacementAvailable reports whether the placement is available ConditionPlacementAvailable string = "PlacementAvailable" // ConditionClustersSelected reports whether the clusters are selected ConditionClustersSelected string = "ClustersSelected" // ConditionClustersUpdated reports whether the clusters are updated ConditionClustersUpdated string = "ClustersUpdated" )
Condition Types
const ( ConditionReasonClusterSelectedFailure string = "ClusterSelectedFailure" ConditionReasonClusterSelected string = "ClusterSelected" ConditionReasonClustersUpdatedFailure string = "ClustersUpdatedFailure" ConditionReasonClustersUpdated string = "ClustersUpdated" )
Variables ¶
var ( GroupName = "imageregistry.open-cluster-management.io" // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: GroupName, 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 ImageRegistrySpec ¶
type ImageRegistrySpec struct { // Registry is the address of overridden image registry // +kubebuilder:validation:Required // +required Registry string `json:"registry"` // PullSecret is the name of image pull secret which should be in the same namespace with the managedClusterImageRegistry. // +kubebuilder:validation:Required // +required PullSecret corev1.LocalObjectReference `json:"pullSecret"` // PlacementRef is the referred Placement name. // +kubebuilder:validation:Required // +required PlacementRef PlacementRef `json:"placementRef"` }
ImageRegistrySpec is the spec of managedClusterImageRegistry.
func (*ImageRegistrySpec) DeepCopy ¶
func (in *ImageRegistrySpec) DeepCopy() *ImageRegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRegistrySpec.
func (*ImageRegistrySpec) DeepCopyInto ¶
func (in *ImageRegistrySpec) DeepCopyInto(out *ImageRegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageRegistryStatus ¶
type ImageRegistryStatus struct { // Conditions contains condition information for a managedClusterImageRegistry // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
func (*ImageRegistryStatus) DeepCopy ¶
func (in *ImageRegistryStatus) DeepCopy() *ImageRegistryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRegistryStatus.
func (*ImageRegistryStatus) DeepCopyInto ¶
func (in *ImageRegistryStatus) DeepCopyInto(out *ImageRegistryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedClusterImageRegistry ¶
type ManagedClusterImageRegistry struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` // Spec defines the information of the ManagedClusterImageRegistry. // +required Spec ImageRegistrySpec `json:"spec"` // Status represents the desired status of the managedClusterImageRegistry. // +optional Status ImageRegistryStatus `json:"status,omitempty"` }
ManagedClusterImageRegistry represents the image overridden configuration information.
func (*ManagedClusterImageRegistry) DeepCopy ¶
func (in *ManagedClusterImageRegistry) DeepCopy() *ManagedClusterImageRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterImageRegistry.
func (*ManagedClusterImageRegistry) DeepCopyInto ¶
func (in *ManagedClusterImageRegistry) DeepCopyInto(out *ManagedClusterImageRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedClusterImageRegistry) DeepCopyObject ¶
func (in *ManagedClusterImageRegistry) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedClusterImageRegistryList ¶
type ManagedClusterImageRegistryList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional metav1.ListMeta `json:"metadata,omitempty"` // List of ManagedClusterInfo objects. Items []ManagedClusterImageRegistry `json:"items"` }
ManagedClusterImageRegistryList is a list of ManagedClusterImageRegistry objects.
func (*ManagedClusterImageRegistryList) DeepCopy ¶
func (in *ManagedClusterImageRegistryList) DeepCopy() *ManagedClusterImageRegistryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterImageRegistryList.
func (*ManagedClusterImageRegistryList) DeepCopyInto ¶
func (in *ManagedClusterImageRegistryList) DeepCopyInto(out *ManagedClusterImageRegistryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedClusterImageRegistryList) DeepCopyObject ¶
func (in *ManagedClusterImageRegistryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlacementRef ¶
type PlacementRef struct { // Group is the api group of the placement. Current group is cluster.open-cluster-management.io. // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=cluster.open-cluster-management.io // +required Group string `json:"group"` // Resource is the resource type of the Placement. Current resource is placement or placements. // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=placement;placements // +required Resource string `json:"resource"` // Name is the name of the Placement. // +kubebuilder:validation:Required // +required Name string `json:"name"` }
PlacementRef is the referred placement
func (*PlacementRef) DeepCopy ¶
func (in *PlacementRef) DeepCopy() *PlacementRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementRef.
func (*PlacementRef) DeepCopyInto ¶
func (in *PlacementRef) DeepCopyInto(out *PlacementRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.