Documentation ¶
Index ¶
Constants ¶
View Source
const ImplementedSpecVersion string = "0.2.0"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPConfig ¶
IPConfig contains values necessary to configure an interface
func (*IPConfig) MarshalJSON ¶
func (*IPConfig) UnmarshalJSON ¶
type Result ¶
type Result struct { CNIVersion string `json:"cniVersion,omitempty"` 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.