fakes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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 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
	}
}

func (*EntryResolver) MergeLayerTypes

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

type Executable

type Executable struct {
	ExecuteCall struct {
		CallCount int
		Receives  struct {
			Execution pexec.Execution
		}
		Returns struct {
			Error error
		}
		Stub func(pexec.Execution) error
		// contains filtered or unexported fields
	}
}

func (*Executable) Execute

func (f *Executable) Execute(param1 pexec.Execution) error

type InstallProcess

type InstallProcess struct {
	ExecuteCall struct {
		CallCount int
		Receives  struct {
			WorkingDir string
			TargetDir  string
			CacheDir   string
		}
		Returns struct {
			Error error
		}
		Stub func(string, string, string) error
		// contains filtered or unexported fields
	}
}

func (*InstallProcess) Execute

func (f *InstallProcess) Execute(param1 string, param2 string, param3 string) error

type SBOMGenerator added in v0.4.0

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

func (*SBOMGenerator) Generate added in v0.4.0

func (f *SBOMGenerator) Generate(param1 string) (sbom.SBOM, error)

type SitePackagesProcess

type SitePackagesProcess struct {
	ExecuteCall struct {
		CallCount int
		Receives  struct {
			LayerPath string
		}
		Returns struct {
			SitePackagesPath string
			Err              error
		}
		Stub func(string) (string, error)
		// contains filtered or unexported fields
	}
}

func (*SitePackagesProcess) Execute

func (f *SitePackagesProcess) Execute(param1 string) (string, error)

Jump to

Keyboard shortcuts

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