fakes

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependencyManager

type DependencyManager struct {
	DeliverCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Dependency   postal.Dependency
			CnbPath      string
			LayerPath    string
			PlatformPath string
		}
		Returns struct {
			Error error
		}
		Stub func(postal.Dependency, string, string, string) error
	}
	GenerateBillOfMaterialsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Dependencies []postal.Dependency
		}
		Returns struct {
			BOMEntrySlice []packit.BOMEntry
		}
		Stub func(...postal.Dependency) []packit.BOMEntry
	}
	ResolveCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Path    string
			Id      string
			Version string
			Stack   string
		}
		Returns struct {
			Dependency postal.Dependency
			Error      error
		}
		Stub func(string, string, string, string) (postal.Dependency, error)
	}
}

func (*DependencyManager) Deliver

func (f *DependencyManager) Deliver(param1 postal.Dependency, param2 string, param3 string, param4 string) error

func (*DependencyManager) GenerateBillOfMaterials

func (f *DependencyManager) GenerateBillOfMaterials(param1 ...postal.Dependency) []packit.BOMEntry

func (*DependencyManager) Resolve

func (f *DependencyManager) Resolve(param1 string, param2 string, param3 string, param4 string) (postal.Dependency, error)

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 NodeModuleBOM

type NodeModuleBOM struct {
	GenerateCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			WorkingDir string
		}
		Returns struct {
			BOMEntrySlice []packit.BOMEntry
			Error         error
		}
		Stub func(string) ([]packit.BOMEntry, error)
	}
}

func (*NodeModuleBOM) Generate

func (f *NodeModuleBOM) Generate(param1 string) ([]packit.BOMEntry, error)

Jump to

Keyboard shortcuts

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