package
0.8.1
Repository: https://github.com/appc/cni.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

GetKeyField is a helper function to receive Values Values that represent a pointer to a struct.
LoadArgs parses args from a string in the form "K=V;K2=V2;...".
No description provided by the author
ParseCIDR takes a string like "10.2.3.1/24" and return IPNet with "10.2.3.1" and /24 mask.
No description provided by the author

# Constants

6.
1.
Well known error codes see https://github.com/containernetworking/cni/blob/master/SPEC.md#well-known-error-codes.
4.
7.
5.
Well known error codes see https://github.com/containernetworking/cni/blob/master/SPEC.md#well-known-error-codes.
0.
3.
2.

# Structs

CommonArgs contains the IgnoreUnknown argument and must be embedded by all Arg structs.
DNS contains values interesting for DNS resolvers.
No description provided by the author
No description provided by the author
NetConf describes a network.
NetConfList describes an ordered list of networks.
No description provided by the author
UnmarshalableArgsError is used to indicate error unmarshalling args from the args-string in the form "K=V;K2=V2;...".

# Interfaces

Result is an interface that provides the result of plugin execution.

# Type aliases

like net.IPNet but adds JSON marshalling and unmarshalling.
No description provided by the author
UnmarshallableBool typedef for builtin bool because builtin type's methods can't be declared.
UnmarshallableString typedef for builtin string.