v1alpha1

package
v0.0.0-...-e2c60c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the multiarch v1alpha1 API group +kubebuilder:object:generate=true +groupName=multiarch.openshift.io

Index

Constants

This section is empty.

Variables

View Source
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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfig.

func (*ClusterPodPlacementConfig) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfigList.

func (*ClusterPodPlacementConfigList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfigSpec.

func (*ClusterPodPlacementConfigSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPlacementConfigStatus.

func (*ClusterPodPlacementConfigStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL