Documentation ¶
Index ¶
- type LoopbackPodInterfaceDriver
- type MemifPodInterfaceDriver
- type PodInterfaceDriverData
- func (i *PodInterfaceDriverData) DoPodIfNatConfiguration(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack, swIfIndex uint32) (err error)
- func (i *PodInterfaceDriverData) DoPodInterfaceConfiguration(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack, swIfIndex uint32, ...) (err error)
- func (i *PodInterfaceDriverData) SearchPodInterface(podSpec *storage.LocalPodSpec) (swIfIndex uint32)
- func (i *PodInterfaceDriverData) UndoPodIfNatConfiguration(swIfIndex uint32)
- func (i *PodInterfaceDriverData) UndoPodInterfaceConfiguration(swIfIndex uint32)
- type TunTapPodInterfaceDriver
- type VclPodInterfaceDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoopbackPodInterfaceDriver ¶
type LoopbackPodInterfaceDriver struct {
PodInterfaceDriverData
}
func NewLoopbackPodInterfaceDriver ¶
func NewLoopbackPodInterfaceDriver(vpp *vpplink.VppLink, log *logrus.Entry) *LoopbackPodInterfaceDriver
func (*LoopbackPodInterfaceDriver) CreateInterface ¶
func (i *LoopbackPodInterfaceDriver) CreateInterface(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack) (err error)
func (*LoopbackPodInterfaceDriver) DeleteInterface ¶
func (i *LoopbackPodInterfaceDriver) DeleteInterface(podSpec *storage.LocalPodSpec)
type MemifPodInterfaceDriver ¶
type MemifPodInterfaceDriver struct {
PodInterfaceDriverData
}
func NewMemifPodInterfaceDriver ¶
func NewMemifPodInterfaceDriver(vpp *vpplink.VppLink, log *logrus.Entry) *MemifPodInterfaceDriver
func (*MemifPodInterfaceDriver) CreateInterface ¶
func (i *MemifPodInterfaceDriver) CreateInterface(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack) (err error)
func (*MemifPodInterfaceDriver) DeleteInterface ¶
func (i *MemifPodInterfaceDriver) DeleteInterface(podSpec *storage.LocalPodSpec)
type PodInterfaceDriverData ¶
type PodInterfaceDriverData struct { NDataThreads int // contains filtered or unexported fields }
func (*PodInterfaceDriverData) DoPodIfNatConfiguration ¶
func (i *PodInterfaceDriverData) DoPodIfNatConfiguration(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack, swIfIndex uint32) (err error)
func (*PodInterfaceDriverData) DoPodInterfaceConfiguration ¶
func (i *PodInterfaceDriverData) DoPodInterfaceConfiguration(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack, swIfIndex uint32, isL3 bool) (err error)
func (*PodInterfaceDriverData) SearchPodInterface ¶
func (i *PodInterfaceDriverData) SearchPodInterface(podSpec *storage.LocalPodSpec) (swIfIndex uint32)
func (*PodInterfaceDriverData) UndoPodIfNatConfiguration ¶
func (i *PodInterfaceDriverData) UndoPodIfNatConfiguration(swIfIndex uint32)
func (*PodInterfaceDriverData) UndoPodInterfaceConfiguration ¶
func (i *PodInterfaceDriverData) UndoPodInterfaceConfiguration(swIfIndex uint32)
type TunTapPodInterfaceDriver ¶
type TunTapPodInterfaceDriver struct {
PodInterfaceDriverData
}
func NewTunTapPodInterfaceDriver ¶
func NewTunTapPodInterfaceDriver(vpp *vpplink.VppLink, log *logrus.Entry) *TunTapPodInterfaceDriver
func (*TunTapPodInterfaceDriver) CreateInterface ¶
func (i *TunTapPodInterfaceDriver) CreateInterface(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack, doHostSideConf bool) error
func (*TunTapPodInterfaceDriver) DeleteInterface ¶
func (i *TunTapPodInterfaceDriver) DeleteInterface(podSpec *storage.LocalPodSpec)
type VclPodInterfaceDriver ¶
type VclPodInterfaceDriver struct {
PodInterfaceDriverData
}
func NewVclPodInterfaceDriver ¶
func NewVclPodInterfaceDriver(vpp *vpplink.VppLink, log *logrus.Entry) *VclPodInterfaceDriver
func (*VclPodInterfaceDriver) CreateInterface ¶
func (i *VclPodInterfaceDriver) CreateInterface(podSpec *storage.LocalPodSpec, stack *vpplink.CleanupStack) (err error)
func (*VclPodInterfaceDriver) DeleteInterface ¶
func (i *VclPodInterfaceDriver) DeleteInterface(podSpec *storage.LocalPodSpec)
func (*VclPodInterfaceDriver) Init ¶
func (i *VclPodInterfaceDriver) Init() (err error)
Click to show internal directories.
Click to hide internal directories.