tools

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//Version version of the network daemon
	Version = "1.2.1"
)

Variables

This section is empty.

Functions

func CompareArrays

func CompareArrays(array1, array2, diff []string) []string

CompareArrays returns the elements that are in array1 and not in array2

func CompareIDArrays

func CompareIDArrays(array1, array2, diff []string) []string

CompareIDArrays returns the elements that are in array1 and not in array2

func GetInterfaces

func GetInterfaces() []dockercloud.Network

GetInterfaces lists the interfaces of the current node

func RemoveDuplicates

func RemoveDuplicates(elements []string) []string

RemoveDuplicates removes potential duplicated elements in the elements array

Types

This section is empty.

Jump to

Keyboard shortcuts

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