Documentation ¶
Index ¶
- Variables
- func AddService(key string, value string)
- func AddVlannetwork(etcdval string, vlanid string, containerName string)
- func CheckVlanName(vlanname string) (string, bool)
- func CreateVlanNetwork(name string, subnet string, hostif string) error
- func InitSock(socketFile string, socketPath string)
- func Listen(absSocket string)
- func RemoveSock(absFile string)
- type EnvConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var Kapi client.KeysAPI
Functions ¶
func AddService ¶
func AddVlannetwork ¶
func CheckVlanName ¶
func CreateVlanNetwork ¶
the global var is nil in this function, although init in the Listen function,and listen func exec first. so the common var should init in func init
Types ¶
Click to show internal directories.
Click to hide internal directories.