Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the work.open-cluster-management-extension.io v1beta1 API group +kubebuilder:object:generate=true +groupName=work.open-cluster-management-extension.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "work.open-cluster-management-extension.io", Version: "v1beta1"} // 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 ClusterWorkState ¶
type ClusterWorkState struct { // ManagedCluster Name Name string `json:"name"` // ManagedCluster manifest work resources state ManifestState string `json:"manifestState,omitempty"` }
ClusterWorkState indicate the selected clusters manifest work status
func (*ClusterWorkState) DeepCopy ¶
func (in *ClusterWorkState) DeepCopy() *ClusterWorkState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkState.
func (*ClusterWorkState) DeepCopyInto ¶
func (in *ClusterWorkState) DeepCopyInto(out *ClusterWorkState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedClusterGroupWork ¶
type ManagedClusterGroupWork struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedClusterGroupWorkSpec `json:"spec,omitempty"` Status ManagedClusterGroupWorkStatus `json:"status,omitempty"` }
ManagedClusterGroupWork is the Schema for the managedclustergroupworks API
func (*ManagedClusterGroupWork) DeepCopy ¶
func (in *ManagedClusterGroupWork) DeepCopy() *ManagedClusterGroupWork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterGroupWork.
func (*ManagedClusterGroupWork) DeepCopyInto ¶
func (in *ManagedClusterGroupWork) DeepCopyInto(out *ManagedClusterGroupWork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedClusterGroupWork) DeepCopyObject ¶
func (in *ManagedClusterGroupWork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedClusterGroupWorkList ¶
type ManagedClusterGroupWorkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagedClusterGroupWork `json:"items"` }
ManagedClusterGroupWorkList contains a list of ManagedClusterGroupWork
func (*ManagedClusterGroupWorkList) DeepCopy ¶
func (in *ManagedClusterGroupWorkList) DeepCopy() *ManagedClusterGroupWorkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterGroupWorkList.
func (*ManagedClusterGroupWorkList) DeepCopyInto ¶
func (in *ManagedClusterGroupWorkList) DeepCopyInto(out *ManagedClusterGroupWorkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedClusterGroupWorkList) DeepCopyObject ¶
func (in *ManagedClusterGroupWorkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedClusterGroupWorkSpec ¶
type ManagedClusterGroupWorkSpec struct { // +optional Placement common.GenericPlacementReference `json:"placement,omitempty"` // +optional common.GenericPlacementFields `json:",inline"` // List of manifestWorks to be applied on the selected clusters // +optional ManifestWork workv1.ManifestWorkSpec `json:"manifestWork,omitempty"` }
ManagedClusterGroupWorkSpec defines the desired state of ManagedClusterGroupWork
func (*ManagedClusterGroupWorkSpec) DeepCopy ¶
func (in *ManagedClusterGroupWorkSpec) DeepCopy() *ManagedClusterGroupWorkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterGroupWorkSpec.
func (*ManagedClusterGroupWorkSpec) DeepCopyInto ¶
func (in *ManagedClusterGroupWorkSpec) DeepCopyInto(out *ManagedClusterGroupWorkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedClusterGroupWorkStatus ¶
type ManagedClusterGroupWorkStatus struct { //List of the ManagedClusterGroupAct conditions Conditions []metav1.Condition `json:"conditions,omitempty"` // List of the selected managedClusters with act status Clusters []*ClusterWorkState `json:"clusters,omitempty"` }
ManagedClusterGroupWorkStatus defines the observed state of ManagedClusterGroupWork
func (*ManagedClusterGroupWorkStatus) DeepCopy ¶
func (in *ManagedClusterGroupWorkStatus) DeepCopy() *ManagedClusterGroupWorkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterGroupWorkStatus.
func (*ManagedClusterGroupWorkStatus) DeepCopyInto ¶
func (in *ManagedClusterGroupWorkStatus) DeepCopyInto(out *ManagedClusterGroupWorkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.