package invoke
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/appc/cni/pkg/invoke"
Index ¶
- func ExecPluginWithResult(pluginPath string, netconf []byte, args CNIArgs) (*types.Result, error)
- func ExecPluginWithoutResult(pluginPath string, netconf []byte, args CNIArgs) error
- func Find(plugin string) string
- func FindInPath(plugin string, path []string) string
- type Args
- type CNIArgs
Functions ¶
func ExecPluginWithResult ¶
func ExecPluginWithoutResult ¶
func Find ¶
Find returns the full path of the plugin by searching in CNI_PATH
func FindInPath ¶
Types ¶
type Args ¶
type Args struct { Command string ContainerID string NetNS string PluginArgs [][2]string PluginArgsStr string IfName string Path string }
func (*Args) AsEnv ¶
type CNIArgs ¶
type CNIArgs interface { // For use with os/exec; i.e., return nil to inherit the // environment from this process AsEnv() []string }
func ArgsFromEnv ¶
func ArgsFromEnv() CNIArgs
Source Files ¶
args.go exec.go find.go
- Version
- v1.1.4-beta.0
- Published
- Dec 7, 2015
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 35 minutes ago –
Tools for package owners.