MCPcopy Create free account
hub / github.com/buildpacks/pack / constructLifecycleDescriptor

Function constructLifecycleDescriptor

internal/builder/builder.go:224–232  ·  view source on GitHub ↗
(metadata Metadata)

Source from the content-addressed store, hash-verified

222}
223
224func constructLifecycleDescriptor(metadata Metadata) LifecycleDescriptor {
225 return CompatDescriptor(LifecycleDescriptor{
226 Info: LifecycleInfo{
227 Version: metadata.Lifecycle.Version,
228 },
229 API: metadata.Lifecycle.API,
230 APIs: metadata.Lifecycle.APIs,
231 })
232}
233
234func addImgLabelsToBuildr(bldr *Builder) error {
235 var err error

Callers 1

constructBuilderFunction · 0.85

Calls 1

CompatDescriptorFunction · 0.85

Tested by

no test coverage detected