Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create creates a CNI Result using the given JSON with the expected version, or an error if the creation could not be performed
func CreateFromBytes ¶
CreateFromBytes creates a CNI Result from the given JSON, automatically detecting the CNI spec version of the result. An error is returned if the operation could not be performed.
func DecodeVersion ¶
DecodeVersion returns the CNI version from CNI configuration or result JSON, or an error if the operation could not be performed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.