Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAMConfig ¶
type InterfaceConfigurator ¶ added in v1.9.0
type InterfaceConfigurator interface { ConfigureSriovSecondaryInterface(podName, podNamespace, containerID, containerNetNS, containerInterfaceName string, mtu int, podSriovVFDeviceID string, result *current.Result) error ConfigureVLANSecondaryInterface(podName, podNamespace, containerID, containerNetNS, containerInterfaceName string, mtu int, vlanID uint16, result *current.Result) (string, error) DeleteVLANSecondaryInterface(containerID, hostInterfaceName, ovsPortUUID string) error }
type KubeletPodResources ¶ added in v1.14.0
type KubeletPodResources struct {
// contains filtered or unexported fields
}
type PodController ¶
type PodController struct {
// contains filtered or unexported fields
}
func NewPodController ¶
func NewPodController( kubeClient clientset.Interface, netAttachDefClient netdefclient.K8sCniCncfIoV1Interface, podInformer cache.SharedIndexInformer, nodeName string, podCache cnipodcache.CNIPodInfoStore, ovsBridgeClient ovsconfig.OVSBridgeClient, ) (*PodController, error)
func (*PodController) Run ¶
func (pc *PodController) Run(stopCh <-chan struct{})
func (*PodController) Worker ¶
func (pc *PodController) Worker()
type SecondaryNetworkConfig ¶
type SecondaryNetworkConfig struct { CNIVersion string `json:"cniVersion,omitempty"` Name string `json:"name,omitempty"` // Set type to "antrea" Type string `json:"type,omitempty"` // Set networkType to "sriov" NetworkType cnipodcache.NetworkType `json:"networkType,omitempty"` MTU int32 `json:"mtu,omitempty"` VLAN int32 `json:"vlan,omitempty"` IPAM IPAMConfig `json:"ipam,omitempty"` }
Click to show internal directories.
Click to hide internal directories.