package testutils
import "github.com/containernetworking/cni/pkg/testutils"
Index ¶
- func CmdAddWithResult(cniNetns, cniIfname string, f func() error) (*types.Result, error)
- func CmdDelWithResult(cniNetns, cniIfname string, f func() error) error
- type BadReader
Functions ¶
func CmdAddWithResult ¶
func CmdDelWithResult ¶
Types ¶
type BadReader ¶
type BadReader struct { Error error }
BadReader is an io.Reader which always errors
func (*BadReader) Close ¶
func (*BadReader) Read ¶
Source Files ¶
- Version
- v0.4.0
- Published
- Jan 13, 2017
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 23 hours ago –
Tools for package owners.