Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedVersions = []string{"", "0.1.0", implementedSpecVersion}
Functions ¶
Types ¶
type IPConfig ¶
IPConfig contains values necessary to configure an interface
func (*IPConfig) MarshalJSON ¶
func (*IPConfig) UnmarshalJSON ¶
type Result ¶
type Result struct { IP4 *IPConfig `json:"ip4,omitempty"` IP6 *IPConfig `json:"ip6,omitempty"` DNS types.DNS `json:"dns,omitempty"` }
Result is what gets returned from the plugin (via stdout) to the caller
Click to show internal directories.
Click to hide internal directories.