fakes

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BashCmd added in v0.0.16

type BashCmd struct {
	RunBashCmdCall struct {
		CallCount int
		Receives  struct {
			Command    string
			WorkingDir string
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(string, string) (string, error)
		// contains filtered or unexported fields
	}
}

func (*BashCmd) RunBashCmd added in v0.0.16

func (f *BashCmd) RunBashCmd(param1 string, param2 string) (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 PumaInstaller added in v0.0.16

type PumaInstaller struct {
	CreatePumaProcessCall struct {
		CallCount int
		Receives  struct {
			Context       packit.BuildContext
			Configuration bundler.Configuration
			Logger        scribe.Logger
		}
		Returns struct {
			Process packit.Process
			Error   error
		}
		Stub func(packit.BuildContext, bundler.Configuration, scribe.Logger) (packit.Process, error)
		// contains filtered or unexported fields
	}
	InstallPumaCall struct {
		CallCount int
		Receives  struct {
			Context       packit.BuildContext
			Configuration bundler.Configuration
			Logger        scribe.Logger
		}
		Returns struct {
			Error error
		}
		Stub func(packit.BuildContext, bundler.Configuration, scribe.Logger) error
		// contains filtered or unexported fields
	}
}

func (*PumaInstaller) CreatePumaProcess added in v0.0.16

func (f *PumaInstaller) CreatePumaProcess(param1 packit.BuildContext, param2 bundler.Configuration, param3 scribe.Logger) (packit.Process, error)

func (*PumaInstaller) InstallPuma added in v0.0.16

func (f *PumaInstaller) InstallPuma(param1 packit.BuildContext, param2 bundler.Configuration, param3 scribe.Logger) error

type VersionResolver

type VersionResolver struct {
	LookupCall struct {
		CallCount int
		Receives  struct {
			WorkingDir string
			Bashcmd    bundler.BashCmd
		}
		Returns struct {
			Version string
			Err     error
		}
		Stub func(string, bundler.BashCmd) (string, error)
		// contains filtered or unexported fields
	}
}

func (*VersionResolver) Lookup

func (f *VersionResolver) Lookup(param1 string, param2 bundler.BashCmd) (string, error)

Jump to

Keyboard shortcuts

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