Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the apps v1 API group +k8s:deepcopy-gen=package,register +groupName=apps.open-cluster-management.io
Package v1 contains API Schema definitions for the apps v1 API group +k8s:deepcopy-gen=package,register +groupName=apps.open-cluster-management.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "apps.open-cluster-management.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds to the SchemeBuilder. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type ArgoServerSpec ¶
type ArgoServerSpec struct { Cluster string `json:"cluster,omitempty"` ArgoNamespace string `json:"argoNamespace"` }
ArgoServerSpec defines a argo server installed in a managed cluster.
type GitOpsCluster ¶
type GitOpsCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec GitOpsClusterSpec `json:"spec"` Status GitOpsClusterStatus `json:"status,omitempty"` }
GitOpsCluster is the Schema for the gitopsclusters API.
func (*GitOpsCluster) DeepCopy ¶
func (in *GitOpsCluster) DeepCopy() *GitOpsCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsCluster.
func (*GitOpsCluster) DeepCopyInto ¶
func (in *GitOpsCluster) DeepCopyInto(out *GitOpsCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitOpsCluster) DeepCopyObject ¶
func (in *GitOpsCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitOpsClusterList ¶
type GitOpsClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GitOpsCluster `json:"items"` }
GitOpsClusterList contains a list of GitOpsCluster.
func (*GitOpsClusterList) DeepCopy ¶
func (in *GitOpsClusterList) DeepCopy() *GitOpsClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsClusterList.
func (*GitOpsClusterList) DeepCopyInto ¶
func (in *GitOpsClusterList) DeepCopyInto(out *GitOpsClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitOpsClusterList) DeepCopyObject ¶
func (in *GitOpsClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitOpsClusterSpec ¶
type GitOpsClusterSpec struct { ArgoServer ArgoServerSpec `json:"argoServer"` PlacementRef *corev1.ObjectReference `json:"placementRef"` }
GitOpsClusterSpec defines the desired state of GitOpsCluster.
func (*GitOpsClusterSpec) DeepCopy ¶
func (in *GitOpsClusterSpec) DeepCopy() *GitOpsClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsClusterSpec.
func (*GitOpsClusterSpec) DeepCopyInto ¶
func (in *GitOpsClusterSpec) DeepCopyInto(out *GitOpsClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitOpsClusterStatus ¶
type GitOpsClusterStatus struct { LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` Message string `json:"message,omitempty"` Phase string `json:"phase,omitempty"` }
GitOpsClusterStatus defines the observed state of GitOpsCluster.
func (*GitOpsClusterStatus) DeepCopy ¶
func (in *GitOpsClusterStatus) DeepCopy() *GitOpsClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsClusterStatus.
func (*GitOpsClusterStatus) DeepCopyInto ¶
func (in *GitOpsClusterStatus) DeepCopyInto(out *GitOpsClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.