Documentation ¶
Index ¶
- func AddIpvlanInterface(dnet *danmtypes.DanmNet, ep danmtypes.DanmEp) error
- func ArePodsConnectedToNetwork(client danmclientset.Interface, dnet *danmtypes.DanmNet) (bool, danmtypes.DanmEp, error)
- func CidsByHost(client danmclientset.Interface, host string) (map[string]danmtypes.DanmEp, error)
- func DeleteIpvlanInterface(ep danmtypes.DanmEp) error
- func DetermineHostDeviceName(dnet *danmtypes.DanmNet) string
- func FindByCid(client danmclientset.Interface, cid string) ([]danmtypes.DanmEp, error)
- func PostProcessInterface(ep danmtypes.DanmEp, dnet *danmtypes.DanmNet) error
- func PutDanmEp(danmClient danmclientset.Interface, ep danmtypes.DanmEp) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIpvlanInterface ¶
func ArePodsConnectedToNetwork ¶
func ArePodsConnectedToNetwork(client danmclientset.Interface, dnet *danmtypes.DanmNet) (bool, danmtypes.DanmEp, error)
ArePodsConnectedToNetwork checks if there are any Pods currently in the system using the particular network. If there is at least, it returns true, and the spec of the first matching DanmEp.
func CidsByHost ¶
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 ¶
DeleteIpvlanInterface deletes a Pod's IPVLAN network interface based on the related DanmEp
func DetermineHostDeviceName ¶
func PostProcessInterface ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.