Versions in this module Expand all Collapse all v0 v0.56.3 Sep 3, 2019 v0.55.3 Feb 16, 2019 Changes in this version + const ErrIncompatibleCNIVersion + const ErrUnknown + const ErrUnsupportedField + var NotImplementedError = errors.New("Not Implemented") + func GetKeyField(keyString string, v reflect.Value) reflect.Value + func LoadArgs(args string, container interface{}) error + func ParseCIDR(s string) (*net.IPNet, error) + func PrintResult(result Result, version string) error + type CommonArgs struct + IgnoreUnknown UnmarshallableBool + type DNS struct + Domain string + Nameservers []string + Options []string + Search []string + type Error struct + Code uint + Details string + Msg string + func (e *Error) Error() string + func (e *Error) Print() error + type IPNet net.IPNet + func (n *IPNet) UnmarshalJSON(data []byte) error + func (n IPNet) MarshalJSON() ([]byte, error) + type NetConf struct + CNIVersion string + Capabilities map[string]bool + DNS DNS + IPAM struct{ ... } + Name string + Type string + type NetConfList struct + CNIVersion string + Name string + Plugins []*NetConf + type Result interface + GetAsVersion func(version string) (Result, error) + Print func() error + String func() string + Version func() string + type ResultFactoryFunc func([]byte) (Result, error) + type Route struct + Dst net.IPNet + GW net.IP + func (r *Route) MarshalJSON() ([]byte, error) + func (r *Route) String() string + func (r *Route) UnmarshalJSON(data []byte) error + type UnmarshalableArgsError struct + type UnmarshallableBool bool + func (b *UnmarshallableBool) UnmarshalText(data []byte) error + type UnmarshallableString string + func (s *UnmarshallableString) UnmarshalText(data []byte) error Incompatible versions in this module v2.8.0-3.2.1+incompatible Apr 9, 2020 v2.6.0-3.2.0+incompatible Aug 21, 2019