fakes

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 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 {
		CallCount int
		Receives  struct {
			WorkingDir string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
		// contains filtered or unexported fields
	}
}

func (*BuildProcess) Execute

func (f *BuildProcess) Execute(param1 string) error

type Calculator

type Calculator struct {
	SumCall struct {
		CallCount int
		Receives  struct {
			Paths []string
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(...string) (string, error)
		// contains filtered or unexported fields
	}
}

func (*Calculator) Sum

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

type EntryResolver

type EntryResolver struct {
	ResolveCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			BuildpackPlanEntrySlice []packit.BuildpackPlanEntry
		}
		Returns struct {
			BuildpackPlanEntry packit.BuildpackPlanEntry
		}
		Stub func([]packit.BuildpackPlanEntry) packit.BuildpackPlanEntry
	}
}

func (*EntryResolver) Resolve

func (f *EntryResolver) Resolve(param1 []packit.BuildpackPlanEntry) packit.BuildpackPlanEntry

type EnvironmentConfiguration added in v0.0.2

type EnvironmentConfiguration struct {
	ConfigureCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			LaunchEnv packit.Environment
		}
		Returns struct {
			Error error
		}
		Stub func(packit.Environment) error
	}
}

func (*EnvironmentConfiguration) Configure added in v0.0.2

func (f *EnvironmentConfiguration) Configure(param1 packit.Environment) error

type EnvironmentSetup

type EnvironmentSetup struct {
	LinkCall struct {
		CallCount int
		Receives  struct {
			LayerPath  string
			WorkingDir string
		}
		Returns struct {
			Error error
		}
		Stub func(string, string) error
		// contains filtered or unexported fields
	}
	ResetLayerCall struct {
		CallCount int
		Receives  struct {
			LayerPath string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
		// contains filtered or unexported fields
	}
	ResetLocalCall struct {
		CallCount int
		Receives  struct {
			WorkingDir string
		}
		Returns struct {
			Error error
		}
		Stub func(string) error
		// contains filtered or unexported fields
	}
}
func (f *EnvironmentSetup) Link(param1 string, param2 string) error

func (*EnvironmentSetup) ResetLayer

func (f *EnvironmentSetup) ResetLayer(param1 string) error

func (*EnvironmentSetup) ResetLocal

func (f *EnvironmentSetup) ResetLocal(param1 string) error

type Executable

type Executable struct {
	ExecuteCall struct {
		CallCount int
		Receives  struct {
			Execution pexec.Execution
		}
		Returns struct {
			Error error
		}
		Stub func(pexec.Execution) error
		// contains filtered or unexported fields
	}
}

func (*Executable) Execute

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

type Parser

type Parser struct {
	ParseCall struct {
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			HasRails bool
			Err      error
		}
		Stub func(string) (bool, error)
		// contains filtered or unexported fields
	}
}

func (*Parser) Parse

func (f *Parser) Parse(param1 string) (bool, error)

Jump to

Keyboard shortcuts

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