fakes

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
		}
	}
	FindInPathCall struct {
		Received struct {
			Plugin string
			Paths  []string
		}
		Returns struct {
			Path  string
			Error error
		}
	}
}

func (*RawExec) ExecPlugin

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

func (*RawExec) FindInPath added in v0.7.0

func (e *RawExec) FindInPath(plugin string, paths []string) (string, 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