package testutils
import "github.com/containernetworking/cni/pkg/testutils"
Index ¶
- func CmdAddWithResult(cniNetns, cniIfname string, conf []byte, f func() error) (types.Result, []byte, error)
- func CmdDelWithResult(cniNetns, cniIfname string, f func() error) error
- type BadReader
Functions ¶
func CmdAddWithResult ¶
func CmdAddWithResult(cniNetns, cniIfname string, conf []byte, f func() error) (types.Result, []byte, error)
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.5.0
- Published
- Mar 6, 2017
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 17 hours ago –
Tools for package owners.