v1

package
v0.0.0-...-c0fa9ef Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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
)

Functions

This section is empty.

Types

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.

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 {
	// Mode can be "host" or "dpu" and it defines on which side we are
	// TODO: add support for auto
	Mode string `json:"mode,omitempty"`

	// 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 {
}

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 {
	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