package fakes
import "github.com/containernetworking/cni/pkg/invoke/fakes"
Index ¶
Types ¶
type CNIArgs ¶
type CNIArgs struct { AsEnvCall struct { Returns struct { Env []string } } }
func (*CNIArgs) AsEnv ¶
type RawExec ¶
type RawExec struct { ExecPluginCall struct { Received struct { PluginPath string StdinData []byte Environ []string } Returns struct { ResultBytes []byte Error error } } }
func (*RawExec) ExecPlugin ¶
type VersionDecoder ¶
type VersionDecoder struct { DecodeCall struct { Received struct { JSONBytes []byte } Returns struct { PluginInfo version.PluginInfo Error error } } }
func (*VersionDecoder) Decode ¶
func (e *VersionDecoder) Decode(jsonData []byte) (version.PluginInfo, error)
Source Files ¶
cni_args.go raw_exec.go version_decoder.go
- Version
- v0.5.0
- Published
- Mar 6, 2017
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 17 hours ago –
Tools for package owners.