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: 4 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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