Documentation
¶
Index ¶
- type BindingsResolver
- type Calculator
- type ConfigGenerator
- type DependencyService
- func (f *DependencyService) Deliver(param1 postal.Dependency, param2 string, param3 string, param4 string) error
- func (f *DependencyService) GenerateBillOfMaterials(param1 ...postal.Dependency) []packit.BOMEntry
- func (f *DependencyService) Resolve(param1 string, param2 string, param3 string, param4 string) (postal.Dependency, error)
- type SBOMGenerator
- type VersionParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingsResolver ¶
type BindingsResolver struct {
ResolveOneCall struct {
CallCount int
Receives struct {
Typ string
Provider string
PlatformDir string
}
Returns struct {
Binding servicebindings.Binding
Error error
}
Stub func(string, string, string) (servicebindings.Binding, error)
// contains filtered or unexported fields
}
}
func (*BindingsResolver) ResolveOne ¶
func (f *BindingsResolver) ResolveOne(param1 string, param2 string, param3 string) (servicebindings.Binding, error)
type Calculator ¶
type ConfigGenerator ¶
type ConfigGenerator struct {
GenerateCall struct {
CallCount int
Receives struct {
Config nginx.Configuration
}
Returns struct {
Error error
}
Stub func(nginx.Configuration) error
// contains filtered or unexported fields
}
}
func (*ConfigGenerator) Generate ¶
func (f *ConfigGenerator) Generate(param1 nginx.Configuration) error
type DependencyService ¶
type DependencyService 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
Name 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 (*DependencyService) Deliver ¶
func (f *DependencyService) Deliver(param1 postal.Dependency, param2 string, param3 string, param4 string) error
func (*DependencyService) GenerateBillOfMaterials ¶
func (f *DependencyService) GenerateBillOfMaterials(param1 ...postal.Dependency) []packit.BOMEntry
func (*DependencyService) Resolve ¶
func (f *DependencyService) Resolve(param1 string, param2 string, param3 string, param4 string) (postal.Dependency, error)
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 {
ParseYmlCall struct {
CallCount int
Receives struct {
WorkDir string
}
Returns struct {
YmlVersion string
Exists bool
Err error
}
Stub func(string) (string, bool, error)
// contains filtered or unexported fields
}
ResolveVersionCall struct {
CallCount int
Receives struct {
CnbPath string
Version string
}
Returns struct {
ResultVersion string
Err error
}
Stub func(string, string) (string, error)
// contains filtered or unexported fields
}
}
func (*VersionParser) ParseYml ¶
func (f *VersionParser) ParseYml(param1 string) (string, bool, error)
func (*VersionParser) ResolveVersion ¶
func (f *VersionParser) ResolveVersion(param1 string, param2 string) (string, error)
Click to show internal directories.
Click to hide internal directories.