v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

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

Index

Constants

View Source
const (
	Separator = '/'
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "nodetopology.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

	// SchemeGroupVersion is DEPRECATED, needed for the client generation
	SchemeGroupVersion = GroupVersion
)

Functions

This section is empty.

Types

type MachineConfigPool

type MachineConfigPool struct {
	// Name the name of the machine config pool
	Name string `json:"name"`

	// Conditions represents the latest available observations of MachineConfigPool current state.
	// +optional
	Conditions []mcov1.MachineConfigPoolCondition `json:"conditions,omitempty"`
}

MachineConfigPool defines the observed state of each MachineConfigPool selected by node groups

func (*MachineConfigPool) DeepCopy

func (in *MachineConfigPool) DeepCopy() *MachineConfigPool

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

func (*MachineConfigPool) DeepCopyInto

func (in *MachineConfigPool) DeepCopyInto(out *MachineConfigPool)

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

type NUMAResourcesOperator

type NUMAResourcesOperator struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NUMAResourcesOperatorSpec   `json:"spec,omitempty"`
	Status NUMAResourcesOperatorStatus `json:"status,omitempty"`
}

NUMAResourcesOperator is the Schema for the numaresourcesoperators API

func (*NUMAResourcesOperator) DeepCopy

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

func (*NUMAResourcesOperator) DeepCopyInto

func (in *NUMAResourcesOperator) DeepCopyInto(out *NUMAResourcesOperator)

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

func (*NUMAResourcesOperator) DeepCopyObject

func (in *NUMAResourcesOperator) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NUMAResourcesOperatorList

type NUMAResourcesOperatorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NUMAResourcesOperator `json:"items"`
}

NUMAResourcesOperatorList contains a list of NUMAResourcesOperator

func (*NUMAResourcesOperatorList) DeepCopy

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

func (*NUMAResourcesOperatorList) DeepCopyInto

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

func (*NUMAResourcesOperatorList) DeepCopyObject

func (in *NUMAResourcesOperatorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NUMAResourcesOperatorSpec

type NUMAResourcesOperatorSpec struct {
	NodeGroups []NodeGroup `json:"nodeGroups,omitempty"`

	ExporterImage string `json:"imageSpec,omitempty"`
}

NUMAResourcesOperatorSpec defines the desired state of NUMAResourcesOperator

func (*NUMAResourcesOperatorSpec) DeepCopy

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

func (*NUMAResourcesOperatorSpec) DeepCopyInto

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

type NUMAResourcesOperatorStatus

type NUMAResourcesOperatorStatus struct {
	DaemonSets         []NamespacedName    `json:"daemonsets,omitempty"`
	MachineConfigPools []MachineConfigPool `json:"machineconfigpools,omitempty"`
	// Conditions show the current state of the NUMAResourcesOperator Operator
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

NUMAResourcesOperatorStatus defines the observed state of NUMAResourcesOperator

func (*NUMAResourcesOperatorStatus) DeepCopy

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

func (*NUMAResourcesOperatorStatus) DeepCopyInto

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

type NUMAResourcesScheduler

type NUMAResourcesScheduler struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NUMAResourcesSchedulerSpec   `json:"spec,omitempty"`
	Status NUMAResourcesSchedulerStatus `json:"status,omitempty"`
}

NUMAResourcesScheduler is the Schema for the numaresourcesschedulers API

func (*NUMAResourcesScheduler) DeepCopy

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

func (*NUMAResourcesScheduler) DeepCopyInto

func (in *NUMAResourcesScheduler) DeepCopyInto(out *NUMAResourcesScheduler)

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

func (*NUMAResourcesScheduler) DeepCopyObject

func (in *NUMAResourcesScheduler) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NUMAResourcesSchedulerList

type NUMAResourcesSchedulerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NUMAResourcesScheduler `json:"items"`
}

NUMAResourcesSchedulerList contains a list of NUMAResourcesScheduler

func (*NUMAResourcesSchedulerList) DeepCopy

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

func (*NUMAResourcesSchedulerList) DeepCopyInto

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

func (*NUMAResourcesSchedulerList) DeepCopyObject

func (in *NUMAResourcesSchedulerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NUMAResourcesSchedulerSpec

type NUMAResourcesSchedulerSpec struct {
	SchedulerImage string `json:"imageSpec"`
}

NUMAResourcesSchedulerSpec defines the desired state of NUMAResourcesScheduler

func (*NUMAResourcesSchedulerSpec) DeepCopy

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

func (*NUMAResourcesSchedulerSpec) DeepCopyInto

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

type NUMAResourcesSchedulerStatus

type NUMAResourcesSchedulerStatus struct {
	Deployment NamespacedName `json:"deployment,omitempty"`
	// Conditions show the current state of the NUMAResourcesOperator Operator
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

NUMAResourcesSchedulerStatus defines the observed state of NUMAResourcesScheduler

func (*NUMAResourcesSchedulerStatus) DeepCopy

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

func (*NUMAResourcesSchedulerStatus) DeepCopyInto

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

type NamespacedName

type NamespacedName struct {
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name,omitempty"`
}

NamespacedName comprises a resource name, with a mandatory namespace, rendered as "<namespace>/<name>".

func (*NamespacedName) DeepCopy

func (in *NamespacedName) DeepCopy() *NamespacedName

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

func (*NamespacedName) DeepCopyInto

func (in *NamespacedName) DeepCopyInto(out *NamespacedName)

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

func (NamespacedName) String

func (n NamespacedName) String() string

String returns the general purpose string representation

type NodeGroup

type NodeGroup struct {
	// MachineConfigPoolSelector defines label selector for the machine config pool
	MachineConfigPoolSelector *metav1.LabelSelector `json:"machineConfigPoolSelector,omitempty"`
}

NodeGroup defines group of nodes that will run resource topology exporter daemon set You can choose the group of node by MachineConfigPoolSelector or by NodeSelector

func (*NodeGroup) DeepCopy

func (in *NodeGroup) DeepCopy() *NodeGroup

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

func (*NodeGroup) DeepCopyInto

func (in *NodeGroup) DeepCopyInto(out *NodeGroup)

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