danmep

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: BSD-3-Clause Imports: 14 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddIpvlanInterface

func AddIpvlanInterface(dnet *danmtypes.DanmNet, ep danmtypes.DanmEp) error

func CidsByHost

func CidsByHost(client danmclientset.Interface, host string) (map[string]danmtypes.DanmEp, error)

CidsByHost returns a map of Eps The Eps in the map are indexed with the name of the K8s host their Pods are running on

func CreateRoutesInNetNs

func CreateRoutesInNetNs(ep danmtypes.DanmEp, dnet *danmtypes.DanmNet) error

func DeleteIpvlanInterface

func DeleteIpvlanInterface(ep danmtypes.DanmEp) error

DeleteIpvlanInterface deletes a Pod's IPVLAN network interface based on the related DanmEp

func DetermineHostDeviceName

func DetermineHostDeviceName(dnet *danmtypes.DanmNet) string

func FindByCid

func FindByCid(client danmclientset.Interface, cid string) ([]danmtypes.DanmEp, error)

FindByCid returns a map of Eps which belong to the same Pod

func SetDanmEpSysctls

func SetDanmEpSysctls(ep danmtypes.DanmEp) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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