Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the config v1 API group +kubebuilder:object:generate=true +groupName=config.openshift.io
Index ¶
- Variables
- type DataProcessingUnit
- type DataProcessingUnitConfig
- type DataProcessingUnitConfigList
- type DataProcessingUnitConfigSpec
- type DataProcessingUnitConfigStatus
- type DataProcessingUnitList
- type DataProcessingUnitSpec
- type DataProcessingUnitStatus
- type DpuOperatorConfig
- func (in *DpuOperatorConfig) DeepCopy() *DpuOperatorConfig
- func (in *DpuOperatorConfig) DeepCopyInto(out *DpuOperatorConfig)
- func (in *DpuOperatorConfig) DeepCopyObject() runtime.Object
- func (r *DpuOperatorConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DpuOperatorConfig) ValidateCreate(tx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DpuOperatorConfig) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DpuOperatorConfig) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)
- type DpuOperatorConfigList
- type DpuOperatorConfigSpec
- type DpuOperatorConfigStatus
- type NetworkFunction
- type ServiceFunctionChain
- type ServiceFunctionChainList
- type ServiceFunctionChainSpec
- type ServiceFunctionChainStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 DataProcessingUnitConfig ¶
type DataProcessingUnitConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DataProcessingUnitConfigSpec `json:"spec,omitempty"`
Status DataProcessingUnitConfigStatus `json:"status,omitempty"`
}
DataProcessingUnitConfig is the Schema for the dataprocessingunitconfigs API.
func (*DataProcessingUnitConfig) DeepCopy ¶
func (in *DataProcessingUnitConfig) DeepCopy() *DataProcessingUnitConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProcessingUnitConfig.
func (*DataProcessingUnitConfig) DeepCopyInto ¶
func (in *DataProcessingUnitConfig) DeepCopyInto(out *DataProcessingUnitConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataProcessingUnitConfig) DeepCopyObject ¶
func (in *DataProcessingUnitConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataProcessingUnitConfigList ¶
type DataProcessingUnitConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DataProcessingUnitConfig `json:"items"`
}
DataProcessingUnitConfigList contains a list of DataProcessingUnitConfig.
func (*DataProcessingUnitConfigList) DeepCopy ¶
func (in *DataProcessingUnitConfigList) DeepCopy() *DataProcessingUnitConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProcessingUnitConfigList.
func (*DataProcessingUnitConfigList) DeepCopyInto ¶
func (in *DataProcessingUnitConfigList) DeepCopyInto(out *DataProcessingUnitConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataProcessingUnitConfigList) DeepCopyObject ¶
func (in *DataProcessingUnitConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataProcessingUnitConfigSpec ¶
type DataProcessingUnitConfigSpec struct {
// DpuSelector specifies which DPUs this DpuConfig CR should target.
// If empty, the DpuConfig will target all DPUs.
// +optional
DpuSelector *metav1.LabelSelector `json:"dpuSelector,omitempty"`
// Foo is an example field of DataProcessingUnitConfig. Edit dataprocessingunitconfig_types.go to remove/update
Foo string `json:"foo,omitempty"`
}
DataProcessingUnitConfigSpec defines the desired state of DataProcessingUnitConfig.
func (*DataProcessingUnitConfigSpec) DeepCopy ¶
func (in *DataProcessingUnitConfigSpec) DeepCopy() *DataProcessingUnitConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProcessingUnitConfigSpec.
func (*DataProcessingUnitConfigSpec) DeepCopyInto ¶
func (in *DataProcessingUnitConfigSpec) DeepCopyInto(out *DataProcessingUnitConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataProcessingUnitConfigStatus ¶
type DataProcessingUnitConfigStatus struct {
}
DataProcessingUnitConfigStatus defines the observed state of DataProcessingUnitConfig.
func (*DataProcessingUnitConfigStatus) DeepCopy ¶
func (in *DataProcessingUnitConfigStatus) DeepCopy() *DataProcessingUnitConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProcessingUnitConfigStatus.
func (*DataProcessingUnitConfigStatus) DeepCopyInto ¶
func (in *DataProcessingUnitConfigStatus) DeepCopyInto(out *DataProcessingUnitConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *DataProcessingUnitList) DeepCopy() *DataProcessingUnitList
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 ¶
func (in *DataProcessingUnitSpec) DeepCopy() *DataProcessingUnitSpec
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 ¶
func (in *DataProcessingUnitStatus) DeepCopy() *DataProcessingUnitStatus
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
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 ¶
func (in *DpuOperatorConfigList) DeepCopy() *DpuOperatorConfigList
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 ¶
func (in *DpuOperatorConfigSpec) DeepCopy() *DpuOperatorConfigSpec
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 ¶
func (in *DpuOperatorConfigStatus) DeepCopy() *DpuOperatorConfigStatus
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 ¶
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 ¶
func (in *ServiceFunctionChain) DeepCopy() *ServiceFunctionChain
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 ¶
func (in *ServiceFunctionChainList) DeepCopy() *ServiceFunctionChainList
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 ¶
func (in *ServiceFunctionChainSpec) DeepCopy() *ServiceFunctionChainSpec
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 ¶
func (in *ServiceFunctionChainStatus) DeepCopy() *ServiceFunctionChainStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceFunctionChainStatus.
func (*ServiceFunctionChainStatus) DeepCopyInto ¶
func (in *ServiceFunctionChainStatus) DeepCopyInto(out *ServiceFunctionChainStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.