Documentation ¶
Index ¶
- type DependencyManager
- func (f *DependencyManager) Deliver(param1 postal.Dependency, param2 string, param3 string, param4 string) error
- func (f *DependencyManager) GenerateBillOfMaterials(param1 ...postal.Dependency) []packit.BOMEntry
- func (f *DependencyManager) Resolve(param1 string, param2 string, param3 string, param4 string) (postal.Dependency, error)
- type EntryResolver
- type SBOMGenerator
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 ¶ added in v0.4.0
func (f *DependencyManager) Deliver(param1 postal.Dependency, param2 string, param3 string, param4 string) error
func (*DependencyManager) GenerateBillOfMaterials ¶ added in v0.4.0
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 { sync.Mutex CallCount int Receives struct { Name string Entries []packit.BuildpackPlanEntry } Returns struct { Launch bool Build bool } Stub func(string, []packit.BuildpackPlanEntry) (bool, bool) } ResolveCall struct { sync.Mutex 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) } }
func (*EntryResolver) MergeLayerTypes ¶ added in v0.4.0
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 ¶ added in v0.6.0
type SBOMGenerator struct { GenerateFromDependencyCall struct { sync.Mutex CallCount int Receives struct { Dependency postal.Dependency Dir string } Returns struct { SBOM sbom.SBOM Error error } Stub func(postal.Dependency, string) (sbom.SBOM, error) } }
func (*SBOMGenerator) GenerateFromDependency ¶ added in v0.6.0
func (f *SBOMGenerator) GenerateFromDependency(param1 postal.Dependency, param2 string) (sbom.SBOM, error)
Click to show internal directories.
Click to hide internal directories.