v1

package
v0.0.0-...-ba705db Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package v1 contains API Schema definitions for the config v1 API group +kubebuilder:object:generate=true +groupName=config.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: "config.openshift.io", Version: "v1"}

	// 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
)
View Source
var DpuOperatorConfigNamespacedName = types.NamespacedName{
	Name:      vars.DpuOperatorConfigName,
	Namespace: vars.Namespace,
}

Functions

This section is empty.

Types

type DataProcessingUnit

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

	Spec   DataProcessingUnitSpec   `json:"spec,omitempty"`
	Status DataProcessingUnitStatus `json:"status,omitempty"`
}

DataProcessingUnit is the Schema for the dataprocessingunits API

func (*DataProcessingUnit) DeepCopy

func (in *DataProcessingUnit) DeepCopy() *DataProcessingUnit

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

func (*DataProcessingUnit) DeepCopyInto

func (in *DataProcessingUnit) DeepCopyInto(out *DataProcessingUnit)

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

func (*DataProcessingUnit) DeepCopyObject

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

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

type DataProcessingUnitList

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

DataProcessingUnitList contains a list of DataProcessingUnit

func (*DataProcessingUnitList) DeepCopy

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

func (*DataProcessingUnitList) DeepCopyInto

func (in *DataProcessingUnitList) DeepCopyInto(out *DataProcessingUnitList)

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

func (*DataProcessingUnitList) DeepCopyObject

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

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

type DataProcessingUnitSpec

type DataProcessingUnitSpec struct {

	// DpuProductName is the vendor and model name of the DPU
	DpuProductName string `json:"dpuProductName,omitempty"`
	// IsDpuSide indicates if this DPU is on the DPU side
	IsDpuSide bool `json:"isDpuSide"`
	// NodeName is the name of the node where this DPU is located
	NodeName string `json:"nodeName"`
}

DataProcessingUnitSpec defines the desired state of DataProcessingUnit

func (*DataProcessingUnitSpec) DeepCopy

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

func (*DataProcessingUnitSpec) DeepCopyInto

func (in *DataProcessingUnitSpec) DeepCopyInto(out *DataProcessingUnitSpec)

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

type DataProcessingUnitStatus

type DataProcessingUnitStatus struct {

	// Status is the status of the DPU
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

DataProcessingUnitStatus defines the observed state of DataProcessingUnit

func (*DataProcessingUnitStatus) DeepCopy

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

func (*DataProcessingUnitStatus) DeepCopyInto

func (in *DataProcessingUnitStatus) DeepCopyInto(out *DataProcessingUnitStatus)

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

type DpuOperatorConfig

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

	Spec   DpuOperatorConfigSpec   `json:"spec,omitempty"`
	Status DpuOperatorConfigStatus `json:"status,omitempty"`
}

DpuOperatorConfig is the Schema for the dpuoperatorconfigs API

func (*DpuOperatorConfig) DeepCopy

func (in *DpuOperatorConfig) DeepCopy() *DpuOperatorConfig

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

func (*DpuOperatorConfig) DeepCopyInto

func (in *DpuOperatorConfig) DeepCopyInto(out *DpuOperatorConfig)

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

func (*DpuOperatorConfig) DeepCopyObject

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

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

func (*DpuOperatorConfig) SetupWebhookWithManager

func (r *DpuOperatorConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*DpuOperatorConfig) ValidateCreate

func (r *DpuOperatorConfig) ValidateCreate(tx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DpuOperatorConfig) ValidateDelete

func (r *DpuOperatorConfig) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DpuOperatorConfig) ValidateUpdate

func (r *DpuOperatorConfig) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DpuOperatorConfigList

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

DpuOperatorConfigList contains a list of DpuOperatorConfig

func (*DpuOperatorConfigList) DeepCopy

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

func (*DpuOperatorConfigList) DeepCopyInto

func (in *DpuOperatorConfigList) DeepCopyInto(out *DpuOperatorConfigList)

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

func (*DpuOperatorConfigList) DeepCopyObject

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

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

type DpuOperatorConfigSpec

type DpuOperatorConfigSpec struct {
	// Set log level of the operator. Edit dpuoperatorconfig_types.go to remove/update
	LogLevel int `json:"logLevel,omitempty"`
}

DpuOperatorConfigSpec defines the desired state of DpuOperatorConfig

func (*DpuOperatorConfigSpec) DeepCopy

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

func (*DpuOperatorConfigSpec) DeepCopyInto

func (in *DpuOperatorConfigSpec) DeepCopyInto(out *DpuOperatorConfigSpec)

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

type DpuOperatorConfigStatus

type DpuOperatorConfigStatus struct {

	// Conditions is the status of the DpuOperatorConfig
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

DpuOperatorConfigStatus defines the observed state of DpuOperatorConfig

func (*DpuOperatorConfigStatus) DeepCopy

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

func (*DpuOperatorConfigStatus) DeepCopyInto

func (in *DpuOperatorConfigStatus) DeepCopyInto(out *DpuOperatorConfigStatus)

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

type NetworkFunction

type NetworkFunction struct {
	Name  string `json:"name"`
	Image string `json:"image"`
}

func (*NetworkFunction) DeepCopy

func (in *NetworkFunction) DeepCopy() *NetworkFunction

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

func (*NetworkFunction) DeepCopyInto

func (in *NetworkFunction) DeepCopyInto(out *NetworkFunction)

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

type ServiceFunctionChain

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

	Spec   ServiceFunctionChainSpec   `json:"spec,omitempty"`
	Status ServiceFunctionChainStatus `json:"status,omitempty"`
}

ServiceFunctionChain is the Schema for the servicefunctionchains API

func (*ServiceFunctionChain) DeepCopy

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

func (*ServiceFunctionChain) DeepCopyInto

func (in *ServiceFunctionChain) DeepCopyInto(out *ServiceFunctionChain)

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

func (*ServiceFunctionChain) DeepCopyObject

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

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

type ServiceFunctionChainList

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

ServiceFunctionChainList contains a list of ServiceFunctionChain

func (*ServiceFunctionChainList) DeepCopy

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

func (*ServiceFunctionChainList) DeepCopyInto

func (in *ServiceFunctionChainList) DeepCopyInto(out *ServiceFunctionChainList)

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

func (*ServiceFunctionChainList) DeepCopyObject

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

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

type ServiceFunctionChainSpec

type ServiceFunctionChainSpec struct {
	// NodeSelector specifies which nodes this ServiceFunctionChain CR should be able to create the Network Function pod.
	// If empty, the ServiceFunctionChain will try to deploy the Network Function pod on all nodes.
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	NetworkFunctions []NetworkFunction `json:"networkFunctions"`
}

ServiceFunctionChainSpec defines the desired state of ServiceFunctionChain

func (*ServiceFunctionChainSpec) DeepCopy

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

func (*ServiceFunctionChainSpec) DeepCopyInto

func (in *ServiceFunctionChainSpec) DeepCopyInto(out *ServiceFunctionChainSpec)

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

type ServiceFunctionChainStatus

type ServiceFunctionChainStatus struct {
}

func (*ServiceFunctionChainStatus) DeepCopy

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

func (*ServiceFunctionChainStatus) 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