Discover Packages
github.phpd.cn/rkt/rkt
networking
net
package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Feb 6, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
LoadNet loads a JSON-encoded Net from the filesystem.
type IfConfig struct {
IP gonet .IP `json:"ip,omitempty"`
IP6 gonet .IP `json:"ip6,omitempty"`
}
this is what net plugin returns to rkt
type Net struct {
Filename string
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
IPAM struct {
Type string `json:"type,omitempty"`
} `json:"ipam,omitempty"`
}
Net describes a network.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.