fakes

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNIArgs

type CNIArgs struct {
	AsEnvCall struct {
		Returns struct {
			Env []string
		}
	}
}

func (*CNIArgs) AsEnv

func (a *CNIArgs) AsEnv() []string

type RawExec

type RawExec struct {
	ExecPluginCall struct {
		Received struct {
			PluginPath string
			StdinData  []byte
			Environ    []string
		}
		Returns struct {
			ResultBytes []byte
			Error       error
		}
	}
}

func (*RawExec) ExecPlugin

func (e *RawExec) ExecPlugin(pluginPath string, stdinData []byte, environ []string) ([]byte, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL