fakes

package
v0.0.0-...-0607161 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executable

type Executable struct {
	ExecuteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Execution pexec.Execution
		}
		Returns struct {
			Error error
		}
		Stub func(pexec.Execution) error
	}
}

func (*Executable) Execute

func (f *Executable) Execute(param1 pexec.Execution) error

type PackageInterface

type PackageInterface struct {
	GetPackageManagerCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			String string
		}
		Stub func(string) string
	}
	GetPackageScriptsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			MapStringString map[string]string
			Error           error
		}
		Stub func(string) (map[string]string, error)
	}
}

func (*PackageInterface) GetPackageManager

func (f *PackageInterface) GetPackageManager(param1 string) string

func (*PackageInterface) GetPackageScripts

func (f *PackageInterface) GetPackageScripts(param1 string) (map[string]string, error)

Jump to

Keyboard shortcuts

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