fakes

package
v5.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 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 {
		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
		// contains filtered or unexported fields
	}
	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
	}
	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) 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 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
			Priorities []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

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)

type SBOMGenerator

type SBOMGenerator struct {
	GenerateFromDependencyCall struct {
		CallCount int
		Receives  struct {
			Dependency postal.Dependency
			Dir        string
		}
		Returns struct {
			SBOM  sbom.SBOM
			Error error
		}
		Stub func(postal.Dependency, string) (sbom.SBOM, error)
		// contains filtered or unexported fields
	}
}

func (*SBOMGenerator) GenerateFromDependency

func (f *SBOMGenerator) GenerateFromDependency(param1 postal.Dependency, param2 string) (sbom.SBOM, error)

type VersionParser

type VersionParser struct {
	ParseVersionCall struct {
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			Version string
			Err     error
		}
		Stub func(string) (string, error)
		// contains filtered or unexported fields
	}
}

func (*VersionParser) ParseVersion

func (f *VersionParser) ParseVersion(param1 string) (string, error)

Jump to

Keyboard shortcuts

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