fakes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 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 BuildPlanRefinery

type BuildPlanRefinery struct {
	BillOfMaterialsCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Dependency postal.Dependency
		}
		Returns struct {
			BuildpackPlanEntry packit.BuildpackPlanEntry
		}
		Stub func(postal.Dependency) packit.BuildpackPlanEntry
	}
}

func (*BuildPlanRefinery) BillOfMaterials

func (f *BuildPlanRefinery) BillOfMaterials(param1 postal.Dependency) packit.BuildpackPlanEntry

type DependencyManager

type DependencyManager struct {
	InstallCall struct {
		sync.Mutex
		CallCount int
		Receives  struct {
			Dependency postal.Dependency
			CnbPath    string
			LayerPath  string
		}
		Returns struct {
			Error error
		}
		Stub func(postal.Dependency, string, string) error
	}
	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) Install

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

func (*DependencyManager) Resolve

func (f *DependencyManager) Resolve(param1 string, param2 string, param3 string, param4 string) (postal.Dependency, 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

Jump to

Keyboard shortcuts

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