Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the discovery v1alpha1 API group +kubebuilder:object:generate=true +groupName=discovery.open-cluster-management.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "discovery.open-cluster-management.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 DiscoveredCluster ¶
type DiscoveredCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DiscoveredClusterSpec `json:"spec,omitempty"` Status DiscoveredClusterStatus `json:"status,omitempty"` }
DiscoveredCluster is the Schema for the discoveredclusters API
func (*DiscoveredCluster) DeepCopy ¶
func (in *DiscoveredCluster) DeepCopy() *DiscoveredCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredCluster.
func (*DiscoveredCluster) DeepCopyInto ¶
func (in *DiscoveredCluster) DeepCopyInto(out *DiscoveredCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveredCluster) DeepCopyObject ¶
func (in *DiscoveredCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (DiscoveredCluster) Equal ¶
func (a DiscoveredCluster) Equal(b DiscoveredCluster) bool
Equal reports whether the spec of a is equal to b.
type DiscoveredClusterList ¶
type DiscoveredClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DiscoveredCluster `json:"items"` }
DiscoveredClusterList contains a list of DiscoveredCluster
func (*DiscoveredClusterList) DeepCopy ¶
func (in *DiscoveredClusterList) DeepCopy() *DiscoveredClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredClusterList.
func (*DiscoveredClusterList) DeepCopyInto ¶
func (in *DiscoveredClusterList) DeepCopyInto(out *DiscoveredClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveredClusterList) DeepCopyObject ¶
func (in *DiscoveredClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiscoveredClusterSpec ¶
type DiscoveredClusterSpec struct { Name string `json:"name" yaml:"name"` DisplayName string `json:"displayName" yaml:"displayName"` Console string `json:"console,omitempty" yaml:"console,omitempty"` APIURL string `json:"apiUrl" yaml:"apiUrl"` CreationTimestamp *metav1.Time `json:"creationTimestamp,omitempty" yaml:"creationTimestamp,omitempty"` ActivityTimestamp *metav1.Time `json:"activityTimestamp,omitempty" yaml:"activityTimestamp,omitempty"` Type string `json:"type" yaml:"type"` OpenshiftVersion string `json:"openshiftVersion,omitempty" yaml:"openshiftVersion,omitempty"` CloudProvider string `json:"cloudProvider,omitempty" yaml:"cloudProvider,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` IsManagedCluster bool `json:"isManagedCluster" yaml:"isManagedCluster"` Credential corev1.ObjectReference `json:"credential,omitempty" yaml:"credential,omitempty"` }
DiscoveredClusterSpec defines the desired state of DiscoveredCluster
func (*DiscoveredClusterSpec) DeepCopy ¶
func (in *DiscoveredClusterSpec) DeepCopy() *DiscoveredClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredClusterSpec.
func (*DiscoveredClusterSpec) DeepCopyInto ¶
func (in *DiscoveredClusterSpec) DeepCopyInto(out *DiscoveredClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoveredClusterStatus ¶
type DiscoveredClusterStatus struct { }
DiscoveredClusterStatus defines the observed state of DiscoveredCluster
func (*DiscoveredClusterStatus) DeepCopy ¶
func (in *DiscoveredClusterStatus) DeepCopy() *DiscoveredClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredClusterStatus.
func (*DiscoveredClusterStatus) DeepCopyInto ¶
func (in *DiscoveredClusterStatus) DeepCopyInto(out *DiscoveredClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoveryConfig ¶
type DiscoveryConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DiscoveryConfigSpec `json:"spec,omitempty"` Status DiscoveryConfigStatus `json:"status,omitempty"` }
DiscoveryConfig is the Schema for the discoveryconfigs API
func (*DiscoveryConfig) DeepCopy ¶
func (in *DiscoveryConfig) DeepCopy() *DiscoveryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryConfig.
func (*DiscoveryConfig) DeepCopyInto ¶
func (in *DiscoveryConfig) DeepCopyInto(out *DiscoveryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveryConfig) DeepCopyObject ¶
func (in *DiscoveryConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiscoveryConfigList ¶
type DiscoveryConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DiscoveryConfig `json:"items"` }
DiscoveryConfigList contains a list of DiscoveryConfig
func (*DiscoveryConfigList) DeepCopy ¶
func (in *DiscoveryConfigList) DeepCopy() *DiscoveryConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryConfigList.
func (*DiscoveryConfigList) DeepCopyInto ¶
func (in *DiscoveryConfigList) DeepCopyInto(out *DiscoveryConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveryConfigList) DeepCopyObject ¶
func (in *DiscoveryConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiscoveryConfigSpec ¶
type DiscoveryConfigSpec struct { // Credential is the secret containing credentials to connect to the OCM api on behalf of a user // +required Credential string `json:"credential"` // Sets restrictions on what kind of clusters to discover // +optional Filters Filter `json:"filters,omitempty"` }
DiscoveryConfigSpec defines the desired state of DiscoveryConfig
func (*DiscoveryConfigSpec) DeepCopy ¶
func (in *DiscoveryConfigSpec) DeepCopy() *DiscoveryConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryConfigSpec.
func (*DiscoveryConfigSpec) DeepCopyInto ¶
func (in *DiscoveryConfigSpec) DeepCopyInto(out *DiscoveryConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoveryConfigStatus ¶
type DiscoveryConfigStatus struct { }
DiscoveryConfigStatus defines the observed state of DiscoveryConfig
func (*DiscoveryConfigStatus) DeepCopy ¶
func (in *DiscoveryConfigStatus) DeepCopy() *DiscoveryConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryConfigStatus.
func (*DiscoveryConfigStatus) DeepCopyInto ¶
func (in *DiscoveryConfigStatus) DeepCopyInto(out *DiscoveryConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Filter ¶
type Filter struct { // LastActive is the last active in days of clusters to discover, determined by activity timestamp // +optional LastActive int `json:"lastActive,omitempty"` // OpenShiftVersions is the list of release versions of OpenShift of the form "<Major>.<Minor>" // +optional OpenShiftVersions []Semver `json:"openShiftVersions,omitempty"` }
Filter ...
func (*Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.