Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the flowconfig v1 API group +kubebuilder:object:generate=true +groupName=flowconfig.intel.com
Index ¶
- Variables
- type FlowAction
- type FlowAttr
- type FlowConfigNodeAgentDeployment
- type FlowConfigNodeAgentDeploymentList
- type FlowConfigNodeAgentDeploymentSpec
- type FlowConfigNodeAgentDeploymentStatus
- type FlowItem
- type FlowRules
- type NodeFlowConfig
- func (in *NodeFlowConfig) DeepCopy() *NodeFlowConfig
- func (in *NodeFlowConfig) DeepCopyInto(out *NodeFlowConfig)
- func (in *NodeFlowConfig) DeepCopyObject() runtime.Object
- func (r *NodeFlowConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NodeFlowConfig) ValidateCreate() error
- func (r *NodeFlowConfig) ValidateDelete() error
- func (r *NodeFlowConfig) ValidateUpdate(old runtime.Object) error
- type NodeFlowConfigList
- type NodeFlowConfigSpec
- type NodeFlowConfigStatus
- type PortsInformation
- type SyncStatusType
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowAttr.
func (*FlowAttr) DeepCopyInto ¶
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 ¶
func (in *FlowConfigNodeAgentDeployment) DeepCopy() *FlowConfigNodeAgentDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowConfigNodeAgentDeployment.
func (*FlowConfigNodeAgentDeployment) DeepCopyInto ¶
func (in *FlowConfigNodeAgentDeployment) DeepCopyInto(out *FlowConfigNodeAgentDeployment)
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 ¶
func (in *FlowConfigNodeAgentDeploymentList) DeepCopy() *FlowConfigNodeAgentDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowConfigNodeAgentDeploymentList.
func (*FlowConfigNodeAgentDeploymentList) DeepCopyInto ¶
func (in *FlowConfigNodeAgentDeploymentList) DeepCopyInto(out *FlowConfigNodeAgentDeploymentList)
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 ¶
func (in *FlowConfigNodeAgentDeploymentSpec) DeepCopy() *FlowConfigNodeAgentDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowConfigNodeAgentDeploymentSpec.
func (*FlowConfigNodeAgentDeploymentSpec) DeepCopyInto ¶
func (in *FlowConfigNodeAgentDeploymentSpec) DeepCopyInto(out *FlowConfigNodeAgentDeploymentSpec)
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 ¶
func (in *FlowConfigNodeAgentDeploymentStatus) DeepCopy() *FlowConfigNodeAgentDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowConfigNodeAgentDeploymentStatus.
func (*FlowConfigNodeAgentDeploymentStatus) DeepCopyInto ¶
func (in *FlowConfigNodeAgentDeploymentStatus) DeepCopyInto(out *FlowConfigNodeAgentDeploymentStatus)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowItem.
func (*FlowItem) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowRules.
func (*FlowRules) DeepCopyInto ¶
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 ¶
func (in *NodeFlowConfigStatus) DeepCopy() *NodeFlowConfigStatus
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" )