Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultMetadataRestorer ¶
func NewDefaultMetadataRestorer ¶ added in v0.14.1
func NewDefaultMetadataRestorer(layersDir string, skipLayers bool, logger log.Logger) *DefaultMetadataRestorer
func (*DefaultMetadataRestorer) Restore ¶
func (r *DefaultMetadataRestorer) Restore(buildpacks []buildpack.GroupElement, appMeta platform.LayersMetadata, cacheMeta platform.CacheMetadata, layerSHAStore SHAStore) error
type DefaultSBOMRestorer ¶
func (*DefaultSBOMRestorer) RestoreFromCache ¶
func (r *DefaultSBOMRestorer) RestoreFromCache(cache Cache, layerDigest string) error
func (*DefaultSBOMRestorer) RestoreFromPrevious ¶
func (r *DefaultSBOMRestorer) RestoreFromPrevious(image imgutil.Image, layerDigest string) error
func (*DefaultSBOMRestorer) RestoreToBuildpackLayers ¶
func (r *DefaultSBOMRestorer) RestoreToBuildpackLayers(detectedBps []buildpack.GroupElement) error
type MetadataRestorer ¶
type MetadataRestorer interface {
Restore(buildpacks []buildpack.GroupElement, appMeta platform.LayersMetadata, cacheMeta platform.CacheMetadata, layerSHAStore SHAStore) error
}
type NopMetadataRestorer ¶ added in v0.14.1
type NopMetadataRestorer struct{}
func (*NopMetadataRestorer) Restore ¶ added in v0.14.1
func (r *NopMetadataRestorer) Restore(_ []buildpack.GroupElement, _ platform.LayersMetadata, _ platform.CacheMetadata, _ SHAStore) error
type NopSBOMRestorer ¶ added in v0.14.0
type NopSBOMRestorer struct{}
func (*NopSBOMRestorer) RestoreFromCache ¶ added in v0.14.0
func (r *NopSBOMRestorer) RestoreFromCache(_ Cache, _ string) error
func (*NopSBOMRestorer) RestoreFromPrevious ¶ added in v0.14.0
func (r *NopSBOMRestorer) RestoreFromPrevious(_ imgutil.Image, _ string) error
func (*NopSBOMRestorer) RestoreToBuildpackLayers ¶ added in v0.14.0
func (r *NopSBOMRestorer) RestoreToBuildpackLayers(_ []buildpack.GroupElement) error
type SBOMRestorer ¶
type SBOMRestorer interface { RestoreFromPrevious(image imgutil.Image, layerDigest string) error RestoreFromCache(cache Cache, layerDigest string) error RestoreToBuildpackLayers(detectedBps []buildpack.GroupElement) error }
func NewSBOMRestorer ¶
func NewSBOMRestorer(opts SBOMRestorerOpts, platformAPI *api.Version) SBOMRestorer
type SBOMRestorerOpts ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.