fakes

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 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 BuildpackYMLParser

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

func (*BuildpackYMLParser) Parse

func (f *BuildpackYMLParser) Parse(param1 string) (string, error)

type DependencyManager

type DependencyManager struct {
	GenerateBillOfMaterialsCall struct {
		CallCount int
		Receives  struct {
			Dependencies []postal.Dependency
		}
		Returns struct {
			BOMEntrySlice []packit.BOMEntry
		}
		Stub func(...postal.Dependency) []packit.BOMEntry
		// contains filtered or unexported fields
	}
	InstallCall struct {
		CallCount int
		Receives  struct {
			Dependency postal.Dependency
			CnbPath    string
			LayerPath  string
		}
		Returns struct {
			Error error
		}
		Stub func(postal.Dependency, string, string) error
		// contains filtered or unexported fields
	}
	ResolveCall struct {
		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)
		// contains filtered or unexported fields
	}
}

func (*DependencyManager) GenerateBillOfMaterials added in v0.3.0

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

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 DependencyMapper

type DependencyMapper struct {
	FindCorrespondingVersionCall struct {
		CallCount int
		Receives  struct {
			Path       string
			VersionKey string
		}
		Returns struct {
			String string
			Error  error
		}
		Stub func(string, string) (string, error)
		// contains filtered or unexported fields
	}
}

func (*DependencyMapper) FindCorrespondingVersion

func (f *DependencyMapper) FindCorrespondingVersion(param1 string, param2 string) (string, error)

type DotnetSymlinker

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

type EntryResolver

type EntryResolver struct {
	MergeLayerTypesCall struct {
		CallCount int
		Receives  struct {
			Name    string
			Entries []packit.BuildpackPlanEntry
		}
		Returns struct {
			Launch bool
			Build  bool
		}
		Stub func(string, []packit.BuildpackPlanEntry) (bool, bool)
		// contains filtered or unexported fields
	}
	ResolveCall struct {
		CallCount int
		Receives  struct {
			Name      string
			Entries   []packit.BuildpackPlanEntry
			Priorites []interface {
			}
		}
		Returns struct {
			BuildpackPlanEntry      packit.BuildpackPlanEntry
			BuildpackPlanEntrySlice []packit.BuildpackPlanEntry
		}
		Stub func(string, []packit.BuildpackPlanEntry, []interface {
		}) (packit.BuildpackPlanEntry, []packit.BuildpackPlanEntry)
		// contains filtered or unexported fields
	}
}

func (*EntryResolver) MergeLayerTypes added in v0.1.10

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

func (*EntryResolver) Resolve

func (f *EntryResolver) Resolve(param1 string, param2 []packit.BuildpackPlanEntry, param3 []interface {
}) (packit.BuildpackPlanEntry, []packit.BuildpackPlanEntry)

Jump to

Keyboard shortcuts

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