fakes

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 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 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 Planner

type Planner struct {
	MergeLayerTypesCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			String                  string
			BuildpackPlanEntrySlice []packit.BuildpackPlanEntry
		}
		Returns struct {
			Launch bool
			Build  bool
		}
		Stub func(string, []packit.BuildpackPlanEntry) (bool, bool)
	}
}

func (*Planner) MergeLayerTypes

func (f *Planner) MergeLayerTypes(param1 string, param2 []packit.BuildpackPlanEntry) (bool, bool)

type Runner

type Runner struct {
	ExecuteCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			CondaEnvPath   string
			CondaCachePath string
			WorkingDir     string
		}
		Returns struct {
			Error error
		}
		Stub func(string, string, string) error
	}
	ShouldRunCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			WorkingDir string
			Metadata   map[string]interface {
			}
		}
		Returns struct {
			Bool   bool
			String string
			Error  error
		}
		Stub func(string, map[string]interface {
		}) (bool, string, error)
	}
}

func (*Runner) Execute

func (f *Runner) Execute(param1 string, param2 string, param3 string) error

func (*Runner) ShouldRun

func (f *Runner) ShouldRun(param1 string, param2 map[string]interface {
}) (bool, string, error)

type Summer

type Summer struct {
	SumCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Arg []string
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(...string) (string, error)
	}
}

func (*Summer) Sum

func (f *Summer) Sum(param1 ...string) (string, error)

Jump to

Keyboard shortcuts

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