danmep

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 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 DeleteIpvlanInterface

func DeleteIpvlanInterface(ep danmtypes.DanmEp) error

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

func DoesTargetContainerExist

func DoesTargetContainerExist(ep danmtypes.DanmEp) bool

DoesTargetContainerExist interrogates Docker whether the received CID belongs to an alive container, or it is outdated

func FindByCid

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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