v1

package
v0.0.0-...-ac6acfc Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the flowconfig v1 API group +kubebuilder:object:generate=true +groupName=flowconfig.intel.com

Index

Constants

This section is empty.

Variables

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

type FlowAction struct {
	Type string `json:"type,omitempty"`
	// +kubebuilder:pruning:PreserveUnknownFields
	Conf *runtime.RawExtension `json:"conf,omitempty"`
}

FlowAction defines flow actions

func (*FlowAction) DeepCopy

func (in *FlowAction) DeepCopy() *FlowAction

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

func (*FlowAction) DeepCopyInto

func (in *FlowAction) DeepCopyInto(out *FlowAction)

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

type FlowAttr

type FlowAttr struct {
	Group    uint32 `json:"group,omitempty"`
	Priority uint32 `json:"priority,omitempty"`
	Ingress  uint32 `json:"ingress,omitempty"`
	Egress   uint32 `json:"egress,omitempty"`
	Transfer uint32 `json:"transfer,omitempty"`
	Reserved uint32 `json:"reserved,omitempty"`
}

FlowAttr defines Flow rule attributes

func (*FlowAttr) DeepCopy

func (in *FlowAttr) DeepCopy() *FlowAttr

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

func (*FlowAttr) DeepCopyInto

func (in *FlowAttr) DeepCopyInto(out *FlowAttr)

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

type FlowConfigNodeAgentDeployment

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

	Spec   FlowConfigNodeAgentDeploymentSpec   `json:"spec,omitempty"`
	Status FlowConfigNodeAgentDeploymentStatus `json:"status,omitempty"`
}

FlowConfigNodeAgentDeployment is the Schema for the flowconfignodeagentdeployments API

func (*FlowConfigNodeAgentDeployment) DeepCopy

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

func (*FlowConfigNodeAgentDeployment) DeepCopyInto

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

func (*FlowConfigNodeAgentDeployment) DeepCopyObject

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

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

type FlowConfigNodeAgentDeploymentList

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

FlowConfigNodeAgentDeploymentList contains a list of FlowConfigNodeAgentDeployment

func (*FlowConfigNodeAgentDeploymentList) DeepCopy

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

func (*FlowConfigNodeAgentDeploymentList) DeepCopyInto

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

func (*FlowConfigNodeAgentDeploymentList) DeepCopyObject

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

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

type FlowConfigNodeAgentDeploymentSpec

type FlowConfigNodeAgentDeploymentSpec struct {

	// NADAnnotation is the name reference to Network Attachement Definition required by UFT container
	NADAnnotation string `json:"NADAnnotation,omitempty"`
	// DCFVfPoolName is the name reference to CVL admin VF pool
	DCFVfPoolName string `json:"DCFVfPoolName,omitempty"`
}

FlowConfigNodeAgentDeploymentSpec defines the desired state of FlowConfigNodeAgentDeployment

func (*FlowConfigNodeAgentDeploymentSpec) DeepCopy

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

func (*FlowConfigNodeAgentDeploymentSpec) DeepCopyInto

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

type FlowConfigNodeAgentDeploymentStatus

type FlowConfigNodeAgentDeploymentStatus struct {
}

FlowConfigNodeAgentDeploymentStatus defines the observed state of FlowConfigNodeAgentDeployment

func (*FlowConfigNodeAgentDeploymentStatus) DeepCopy

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

func (*FlowConfigNodeAgentDeploymentStatus) DeepCopyInto

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

type FlowItem

type FlowItem struct {
	Type string `json:"type,omitempty"`
	// +kubebuilder:pruning:PreserveUnknownFields
	Spec *runtime.RawExtension `json:"spec,omitempty"`
	// +kubebuilder:pruning:PreserveUnknownFields
	Last *runtime.RawExtension `json:"last,omitempty"`
	// +kubebuilder:pruning:PreserveUnknownFields
	Mask *runtime.RawExtension `json:"mask,omitempty"`
}

FlowItem defines flow pattern definition

func (*FlowItem) DeepCopy

func (in *FlowItem) DeepCopy() *FlowItem

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

func (*FlowItem) DeepCopyInto

func (in *FlowItem) DeepCopyInto(out *FlowItem)

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

type FlowRules

type FlowRules struct {
	PortId  uint32        `json:"portId,omitempty"`
	Attr    *FlowAttr     `json:"attr,omitempty"`
	Pattern []*FlowItem   `json:"pattern,omitempty"`
	Action  []*FlowAction `json:"action,omitempty"`
}

FlowRules struct for flow rules creation and validation

func (*FlowRules) DeepCopy

func (in *FlowRules) DeepCopy() *FlowRules

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

func (*FlowRules) DeepCopyInto

func (in *FlowRules) DeepCopyInto(out *FlowRules)

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

type NodeFlowConfig

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

	Spec   NodeFlowConfigSpec   `json:"spec,omitempty"`
	Status NodeFlowConfigStatus `json:"status,omitempty"`
}

NodeFlowConfig is the Schema for the nodeflowconfigs API

func (*NodeFlowConfig) DeepCopy

func (in *NodeFlowConfig) DeepCopy() *NodeFlowConfig

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

func (*NodeFlowConfig) DeepCopyInto

func (in *NodeFlowConfig) DeepCopyInto(out *NodeFlowConfig)

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

func (*NodeFlowConfig) DeepCopyObject

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

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

func (*NodeFlowConfig) SetupWebhookWithManager

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

func (*NodeFlowConfig) ValidateCreate

func (r *NodeFlowConfig) ValidateCreate() error

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

func (*NodeFlowConfig) ValidateDelete

func (r *NodeFlowConfig) ValidateDelete() error

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

func (*NodeFlowConfig) ValidateUpdate

func (r *NodeFlowConfig) ValidateUpdate(old runtime.Object) error

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

type NodeFlowConfigList

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

NodeFlowConfigList contains a list of NodeFlowConfig

func (*NodeFlowConfigList) DeepCopy

func (in *NodeFlowConfigList) DeepCopy() *NodeFlowConfigList

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

func (*NodeFlowConfigList) DeepCopyInto

func (in *NodeFlowConfigList) DeepCopyInto(out *NodeFlowConfigList)

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

func (*NodeFlowConfigList) DeepCopyObject

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

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

type NodeFlowConfigSpec

type NodeFlowConfigSpec struct {

	// Rules is a list of FlowCreate rules
	Rules []*FlowRules `json:"rules,omitempty"`
}

NodeFlowConfigSpec defines the desired state of NodeFlowConfig

func (*NodeFlowConfigSpec) DeepCopy

func (in *NodeFlowConfigSpec) DeepCopy() *NodeFlowConfigSpec

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

func (*NodeFlowConfigSpec) DeepCopyInto

func (in *NodeFlowConfigSpec) DeepCopyInto(out *NodeFlowConfigSpec)

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

type NodeFlowConfigStatus

type NodeFlowConfigStatus struct {
	PortInfo []PortsInformation `json:"portInfo"`
	// Last applied rules
	Rules      []*FlowRules   `json:"rules,omitempty"`
	SyncStatus SyncStatusType `json:"syncStatus,omitempty"`
	SyncMsg    string         `json:"syncMsg,omitempty"`
}

NodeFlowConfigStatus defines the observed state of NodeFlowConfig

func (*NodeFlowConfigStatus) DeepCopy

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

func (*NodeFlowConfigStatus) DeepCopyInto

func (in *NodeFlowConfigStatus) DeepCopyInto(out *NodeFlowConfigStatus)

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

type PortsInformation

type PortsInformation struct {
	PortId   uint32 `json:"portId"`
	PortPci  string `json:"portPci,omitempty"`
	PortMode string `json:"portMode,omitempty"`
}

PortsInformation defines port information

func (*PortsInformation) DeepCopy

func (in *PortsInformation) DeepCopy() *PortsInformation

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

func (*PortsInformation) DeepCopyInto

func (in *PortsInformation) DeepCopyInto(out *PortsInformation)

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

type SyncStatusType

type SyncStatusType string
const (
	SyncError    SyncStatusType = "Error"
	SyncSuccess  SyncStatusType = "Success"
	SyncProgress SyncStatusType = "Progress"
)

Jump to

Keyboard shortcuts

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