Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +kubebuilder:object:generate=true +groupName=cm-cli.open-cluster-management.io
Copyright Contributors to the Open Cluster Management project
Index ¶
- Constants
- Variables
- func GetScenarioResourcesReader() *asset.ScenarioResourcesReader
- func Resource(resource string) schema.GroupResource
- type PrintClusterClaim
- type PrintClusterClaimCredential
- type PrintClusterClaimCredentialList
- type PrintClusterClaimCredentialSpec
- type PrintClusterClaimList
- type PrintClusterClaimSpec
- type PrintClusterPool
- type PrintClusterPoolHost
- type PrintClusterPoolHostList
- type PrintClusterPoolHostSpec
- type PrintClusterPoolList
- type PrintClusterPoolSpec
- type PrintComponent
- type PrintComponentList
- type PrintComponentSpec
- type PrintPolicies
- type PrintPoliciesList
- type PrintPoliciesSpec
Constants ¶
const GroupName = "cm-cli.open-cluster-management.io"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func GetScenarioResourcesReader ¶
func GetScenarioResourcesReader() *asset.ScenarioResourcesReader
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type PrintClusterClaim ¶
type PrintClusterClaim struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PrintClusterClaimSpec `json:"spec,omitempty"`
}
func (*PrintClusterClaim) DeepCopy ¶
func (in *PrintClusterClaim) DeepCopy() *PrintClusterClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterClaim.
func (*PrintClusterClaim) DeepCopyInto ¶
func (in *PrintClusterClaim) DeepCopyInto(out *PrintClusterClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterClaim) DeepCopyObject ¶
func (in *PrintClusterClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterClaimCredential ¶
type PrintClusterClaimCredential struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PrintClusterClaimCredentialSpec `json:"spec,omitempty"`
}
func (*PrintClusterClaimCredential) DeepCopy ¶
func (in *PrintClusterClaimCredential) DeepCopy() *PrintClusterClaimCredential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterClaimCredential.
func (*PrintClusterClaimCredential) DeepCopyInto ¶
func (in *PrintClusterClaimCredential) DeepCopyInto(out *PrintClusterClaimCredential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterClaimCredential) DeepCopyObject ¶
func (in *PrintClusterClaimCredential) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterClaimCredentialList ¶
type PrintClusterClaimCredentialList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
// List of PrintClusterPool.
// +listType=set
Items []PrintClusterClaimCredential `json:"items"`
}
PrintClusterClaimCredentialList contains a list of PrintClusterPool
func (*PrintClusterClaimCredentialList) DeepCopy ¶
func (in *PrintClusterClaimCredentialList) DeepCopy() *PrintClusterClaimCredentialList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterClaimCredentialList.
func (*PrintClusterClaimCredentialList) DeepCopyInto ¶
func (in *PrintClusterClaimCredentialList) DeepCopyInto(out *PrintClusterClaimCredentialList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterClaimCredentialList) DeepCopyObject ¶
func (in *PrintClusterClaimCredentialList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterClaimCredentialSpec ¶
type PrintClusterClaimCredentialSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
User string `json:"user"`
Password string `json:"password"`
Basedomain string `json:"baseDomain"`
ApiUrl string `json:"apiServer"`
ConsoleUrl string `json:"console"`
}
PrintClusterClaimCredentialSpec defines the desired state of PrintClusterPool
func (*PrintClusterClaimCredentialSpec) DeepCopy ¶
func (in *PrintClusterClaimCredentialSpec) DeepCopy() *PrintClusterClaimCredentialSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterClaimCredentialSpec.
func (*PrintClusterClaimCredentialSpec) DeepCopyInto ¶
func (in *PrintClusterClaimCredentialSpec) DeepCopyInto(out *PrintClusterClaimCredentialSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrintClusterClaimList ¶
type PrintClusterClaimList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
// List of PrintClusterPool.
// +listType=set
Items []PrintClusterClaim `json:"items"`
}
PrintClusterClaimList contains a list of PrintClusterPool
func (*PrintClusterClaimList) DeepCopy ¶
func (in *PrintClusterClaimList) DeepCopy() *PrintClusterClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterClaimList.
func (*PrintClusterClaimList) DeepCopyInto ¶
func (in *PrintClusterClaimList) DeepCopyInto(out *PrintClusterClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterClaimList) DeepCopyObject ¶
func (in *PrintClusterClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterClaimSpec ¶
type PrintClusterClaimSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
ClusterPoolHostName string `json:"clusterPoolHostName"`
InUse bool `json:"clusterClaimInUse"`
ClusterClaim *hivev1.ClusterClaim `json:"clusterClaim"`
Hibernate string `json:"hibernate"`
PowerState string `json:"powerState"`
ID string `json:"id"`
Lifetime string `json:"lifetime"`
Age string `json:"age"`
ErrorMessage string `json:"error"`
}
PrintClusterClaimSpec defines the desired state of PrintClusterPool
func (*PrintClusterClaimSpec) DeepCopy ¶
func (in *PrintClusterClaimSpec) DeepCopy() *PrintClusterClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterClaimSpec.
func (*PrintClusterClaimSpec) DeepCopyInto ¶
func (in *PrintClusterClaimSpec) DeepCopyInto(out *PrintClusterClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrintClusterPool ¶
type PrintClusterPool struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PrintClusterPoolSpec `json:"spec,omitempty"`
}
func (*PrintClusterPool) DeepCopy ¶
func (in *PrintClusterPool) DeepCopy() *PrintClusterPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterPool.
func (*PrintClusterPool) DeepCopyInto ¶
func (in *PrintClusterPool) DeepCopyInto(out *PrintClusterPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterPool) DeepCopyObject ¶
func (in *PrintClusterPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterPoolHost ¶
type PrintClusterPoolHost struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PrintClusterPoolHostSpec `json:"spec,omitempty"`
}
func (*PrintClusterPoolHost) DeepCopy ¶
func (in *PrintClusterPoolHost) DeepCopy() *PrintClusterPoolHost
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterPoolHost.
func (*PrintClusterPoolHost) DeepCopyInto ¶
func (in *PrintClusterPoolHost) DeepCopyInto(out *PrintClusterPoolHost)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterPoolHost) DeepCopyObject ¶
func (in *PrintClusterPoolHost) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterPoolHostList ¶
type PrintClusterPoolHostList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
// List of PrintClusterPool.
// +listType=set
Items []PrintClusterPoolHost `json:"items"`
}
PrintClusterPoolHostList contains a list of PrintClusterPool
func (*PrintClusterPoolHostList) DeepCopy ¶
func (in *PrintClusterPoolHostList) DeepCopy() *PrintClusterPoolHostList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterPoolHostList.
func (*PrintClusterPoolHostList) DeepCopyInto ¶
func (in *PrintClusterPoolHostList) DeepCopyInto(out *PrintClusterPoolHostList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterPoolHostList) DeepCopyObject ¶
func (in *PrintClusterPoolHostList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterPoolHostSpec ¶
type PrintClusterPoolHostSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
// Name of the cluster pool
Name string `json:"name"`
// true if this cluster pool is the Active one
Active bool `json:"active"`
// The API address of the cluster where your `ClusterPools` are defined. Also referred to as the "ClusterPool host"
APIServer string `json:"apiServer"`
// The URL of the OpenShift console for the ClusterPool host
Console string `json:"console"`
// Namespace where `ClusterPools` are defined
Namespace string `json:"namespace"`
// Name of a `Group` (`user.openshift.io/v1`) that should be added to each `ClusterClaim` for team access
Group string `json:"group"`
//ServerNamespace namespace where RHACM or MCE is installed
ServerNamespace string `json:"serverNamespace"`
}
PrintClusterPoolHostSpec defines the desired state of PrintClusterPool
func (*PrintClusterPoolHostSpec) DeepCopy ¶
func (in *PrintClusterPoolHostSpec) DeepCopy() *PrintClusterPoolHostSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterPoolHostSpec.
func (*PrintClusterPoolHostSpec) DeepCopyInto ¶
func (in *PrintClusterPoolHostSpec) DeepCopyInto(out *PrintClusterPoolHostSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrintClusterPoolList ¶
type PrintClusterPoolList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
// List of PrintClusterPool.
// +listType=set
Items []PrintClusterPool `json:"items"`
}
PrintClusterPoolList contains a list of PrintClusterPool
func (*PrintClusterPoolList) DeepCopy ¶
func (in *PrintClusterPoolList) DeepCopy() *PrintClusterPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterPoolList.
func (*PrintClusterPoolList) DeepCopyInto ¶
func (in *PrintClusterPoolList) DeepCopyInto(out *PrintClusterPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintClusterPoolList) DeepCopyObject ¶
func (in *PrintClusterPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintClusterPoolSpec ¶
type PrintClusterPoolSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
// Foo string `json:"foo,omitempty"`
ClusterPoolHostName string `json:"clusterPoolHostName"`
ClusterPool *hivev1.ClusterPool `json:"clusterPool"`
}
PrintClusterPoolSpec defines the desired state of PrintClusterPool
func (*PrintClusterPoolSpec) DeepCopy ¶
func (in *PrintClusterPoolSpec) DeepCopy() *PrintClusterPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintClusterPoolSpec.
func (*PrintClusterPoolSpec) DeepCopyInto ¶
func (in *PrintClusterPoolSpec) DeepCopyInto(out *PrintClusterPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrintComponent ¶ added in v1.0.11
type PrintComponent struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PrintComponentSpec `json:"spec,omitempty"`
}
func (*PrintComponent) DeepCopy ¶ added in v1.0.11
func (in *PrintComponent) DeepCopy() *PrintComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintComponent.
func (*PrintComponent) DeepCopyInto ¶ added in v1.0.11
func (in *PrintComponent) DeepCopyInto(out *PrintComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintComponent) DeepCopyObject ¶ added in v1.0.11
func (in *PrintComponent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintComponentList ¶ added in v1.0.11
type PrintComponentList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
// List of PrintClusterPool.
// +listType=set
Items []PrintComponent `json:"items"`
}
PrintComponentList contains a list of PrintClusterPool
func (*PrintComponentList) DeepCopy ¶ added in v1.0.11
func (in *PrintComponentList) DeepCopy() *PrintComponentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintComponentList.
func (*PrintComponentList) DeepCopyInto ¶ added in v1.0.11
func (in *PrintComponentList) DeepCopyInto(out *PrintComponentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintComponentList) DeepCopyObject ¶ added in v1.0.11
func (in *PrintComponentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintComponentSpec ¶ added in v1.0.11
type PrintComponentSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
Enabled bool `json:"enabled"`
ClusterClaim *hivev1.ClusterClaim `json:"clusterClaim"`
}
PrintComponentSpec defines the desired state of PrintClusterPool
func (*PrintComponentSpec) DeepCopy ¶ added in v1.0.11
func (in *PrintComponentSpec) DeepCopy() *PrintComponentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintComponentSpec.
func (*PrintComponentSpec) DeepCopyInto ¶ added in v1.0.11
func (in *PrintComponentSpec) DeepCopyInto(out *PrintComponentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrintPolicies ¶
type PrintPolicies struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PrintPoliciesSpec `json:"spec,omitempty"`
}
func (*PrintPolicies) DeepCopy ¶
func (in *PrintPolicies) DeepCopy() *PrintPolicies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintPolicies.
func (*PrintPolicies) DeepCopyInto ¶
func (in *PrintPolicies) DeepCopyInto(out *PrintPolicies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintPolicies) DeepCopyObject ¶
func (in *PrintPolicies) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintPoliciesList ¶
type PrintPoliciesList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
// List of PrintPolicies.
// +listType=set
Items []PrintPolicies `json:"items"`
}
PrintPoliciesList contains a list of PrintPolicies
func (*PrintPoliciesList) DeepCopy ¶
func (in *PrintPoliciesList) DeepCopy() *PrintPoliciesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintPoliciesList.
func (*PrintPoliciesList) DeepCopyInto ¶
func (in *PrintPoliciesList) DeepCopyInto(out *PrintPoliciesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrintPoliciesList) DeepCopyObject ¶
func (in *PrintPoliciesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrintPoliciesSpec ¶
PrintPoliciesSpec defines the desired state of PrintPolicies
func (*PrintPoliciesSpec) DeepCopy ¶
func (in *PrintPoliciesSpec) DeepCopy() *PrintPoliciesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrintPoliciesSpec.
func (*PrintPoliciesSpec) DeepCopyInto ¶
func (in *PrintPoliciesSpec) DeepCopyInto(out *PrintPoliciesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.