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

Method SetLifecycle

internal/builder/builder.go:394–397  ·  view source on GitHub ↗

SetLifecycle sets the lifecycle of the builder

(lifecycle Lifecycle)

Source from the content-addressed store, hash-verified

392
393// SetLifecycle sets the lifecycle of the builder
394func (b *Builder) SetLifecycle(lifecycle Lifecycle) {
395 b.lifecycle = lifecycle
396 b.lifecycleDescriptor = lifecycle.Descriptor()
397}
398
399// SetEnv sets an environment variable to a value
400func (b *Builder) SetEnv(env map[string]string) {

Callers 2

createBaseBuilderMethod · 0.80
testBuilderFunction · 0.80

Calls 1

DescriptorMethod · 0.65

Tested by 1

testBuilderFunction · 0.64