Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the multiarch v1alpha1 API group +kubebuilder:object:generate=true +groupName=multiarch.openshift.io
Index ¶
- Variables
- type ClusterPodPlacementConfig
- func (dst *ClusterPodPlacementConfig) ConvertFrom(srcRaw conversion.Hub) error
- func (src *ClusterPodPlacementConfig) ConvertTo(dstRaw conversion.Hub) error
- func (in *ClusterPodPlacementConfig) DeepCopy() *ClusterPodPlacementConfig
- func (in *ClusterPodPlacementConfig) DeepCopyInto(out *ClusterPodPlacementConfig)
- func (in *ClusterPodPlacementConfig) DeepCopyObject() runtime.Object
- type ClusterPodPlacementConfigList
- type ClusterPodPlacementConfigSpec
- type ClusterPodPlacementConfigStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "multiarch.openshift.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 ClusterPodPlacementConfig ¶
type ClusterPodPlacementConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterPodPlacementConfigSpec `json:"spec,omitempty"`
Status ClusterPodPlacementConfigStatus `json:"status,omitempty"`
}
ClusterPodPlacementConfig defines the configuration for the architecture aware pod placement operand. Users can only deploy a single object named "cluster". Creating the object enables the operand. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=clusterpodplacementconfigs,scope=Cluster
func (*ClusterPodPlacementConfig) ConvertFrom ¶
func (dst *ClusterPodPlacementConfig) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1beta1) to this.
func (*ClusterPodPlacementConfig) ConvertTo ¶
func (src *ClusterPodPlacementConfig) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this ClusterPodPlacementConfig to the Hub version v1beta1.
func (*ClusterPodPlacementConfig) DeepCopy ¶
func (in *ClusterPodPlacementConfig) DeepCopy() *ClusterPodPlacementConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfig.
func (*ClusterPodPlacementConfig) DeepCopyInto ¶
func (in *ClusterPodPlacementConfig) DeepCopyInto(out *ClusterPodPlacementConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPodPlacementConfig) DeepCopyObject ¶
func (in *ClusterPodPlacementConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPodPlacementConfigList ¶
type ClusterPodPlacementConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterPodPlacementConfig `json:"items"`
}
ClusterPodPlacementConfigList contains a list of ClusterPodPlacementConfig
func (*ClusterPodPlacementConfigList) DeepCopy ¶
func (in *ClusterPodPlacementConfigList) DeepCopy() *ClusterPodPlacementConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfigList.
func (*ClusterPodPlacementConfigList) DeepCopyInto ¶
func (in *ClusterPodPlacementConfigList) DeepCopyInto(out *ClusterPodPlacementConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPodPlacementConfigList) DeepCopyObject ¶
func (in *ClusterPodPlacementConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPodPlacementConfigSpec ¶
type ClusterPodPlacementConfigSpec struct {
// LogVerbosity is the log level for the pod placement components.
// Valid values are: "Normal", "Debug", "Trace", "TraceAll".
// Defaults to "Normal".
// +optional
// +kubebuilder:default=Normal
LogVerbosity common.LogVerbosityLevel `json:"logVerbosity,omitempty"`
// NamespaceSelector selects the namespaces where the pod placement operand can process the nodeAffinity
// of the pods. If left empty, all the namespaces are considered.
// The default sample allows to exclude all the namespaces where the
// label "multiarch.openshift.io/exclude-pod-placement" exists.
// +optional
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
}
ClusterPodPlacementConfigSpec defines the desired state of ClusterPodPlacementConfig
func (*ClusterPodPlacementConfigSpec) DeepCopy ¶
func (in *ClusterPodPlacementConfigSpec) DeepCopy() *ClusterPodPlacementConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfigSpec.
func (*ClusterPodPlacementConfigSpec) DeepCopyInto ¶
func (in *ClusterPodPlacementConfigSpec) DeepCopyInto(out *ClusterPodPlacementConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPodPlacementConfigStatus ¶
type ClusterPodPlacementConfigStatus struct {
// Conditions represents the latest available observations of a ClusterPodPlacementConfig's current state.
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ClusterPodPlacementConfigStatus defines the observed state of ClusterPodPlacementConfig
func (*ClusterPodPlacementConfigStatus) DeepCopy ¶
func (in *ClusterPodPlacementConfigStatus) DeepCopy() *ClusterPodPlacementConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfigStatus.
func (*ClusterPodPlacementConfigStatus) DeepCopyInto ¶
func (in *ClusterPodPlacementConfigStatus) DeepCopyInto(out *ClusterPodPlacementConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.