Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNetworker ¶
Types ¶
type T ¶
func (T) BackendDevName ¶
func (T) CNIConfigData ¶
CNIConfigData returns a cni network configuration, like
{ "cniVersion": "0.3.0", "name": "net1", "type": "bridge", "bridge": "obr_net1", "isGateway": true, "ipMasq": false, "ipam": { "type": "host-local", "subnet": "10.23.0.0/26", "routes": [ { "dst": "0.0.0.0/0" }, { "dst": "10.23.0.0/24", "gw": "10.23.0.1" } ] } }
Click to show internal directories.
Click to hide internal directories.