Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAMAllocator ¶ added in v1.15.0
type IPAMAllocator interface { SecondaryNetworkAllocate(podOwner *crdv1a2.PodOwner, networkConfig *cnitypes.NetworkConfig) (*ipam.IPAMResult, error) SecondaryNetworkRelease(podOwner *crdv1a2.PodOwner) error }
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, podUpdateSubscriber channel.Subscriber, 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 { types.NetworkConfig NetworkType cnipodcache.NetworkType `json:"networkType,omitempty"` // VLAN ID of the OVS port. Applicable only to the VLAN network type. If a // non-zero VLAN is specified, it will override the VLAN in the Antrea // IPAM IPPool subnet. VLAN int32 `json:"vlan,omitempty"` }
Click to show internal directories.
Click to hide internal directories.