fakes

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildProcess

type BuildProcess struct {
	ExecuteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Config gobuild.GoBuildConfiguration
		}
		Returns struct {
			Command string
			Err     error
		}
		Stub func(gobuild.GoBuildConfiguration) (string, error)
	}
}

func (*BuildProcess) Execute

func (f *BuildProcess) Execute(param1 gobuild.GoBuildConfiguration) (string, error)

type ChecksumCalculator

type ChecksumCalculator struct {
	SumCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			Sha string
			Err error
		}
		Stub func(string) (string, error)
	}
}

func (*ChecksumCalculator) Sum

func (f *ChecksumCalculator) Sum(param1 string) (string, error)

type ConfigurationParser added in v0.0.5

type ConfigurationParser struct {
	ParseCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			Targets []string
			Flags   []string
			Err     error
		}
		Stub func(string) ([]string, []string, error)
	}
}

func (*ConfigurationParser) Parse added in v0.0.5

func (f *ConfigurationParser) Parse(param1 string) ([]string, []string, error)

type Executable

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

func (*Executable) Execute

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

type PathManager

type PathManager struct {
	SetupCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Workspace string
		}
		Returns struct {
			GoPath string
			Path   string
			Err    error
		}
		Stub func(string) (string, string, error)
	}
	TeardownCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			GoPath string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
	}
}

func (*PathManager) Setup

func (f *PathManager) Setup(param1 string) (string, string, error)

func (*PathManager) Teardown

func (f *PathManager) Teardown(param1 string) error

type SourceRemover

type SourceRemover struct {
	ClearCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
	}
}

func (*SourceRemover) Clear

func (f *SourceRemover) Clear(param1 string) error

Jump to

Keyboard shortcuts

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