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

Method Open

pkg/buildpack/buildpack.go:31–31  ·  view source on GitHub ↗

Open returns a reader to a tar with contents structured as per the distribution spec (currently '/cnb/buildpacks/{ID}/{version}/*', all entries with a zeroed-out timestamp and root UID/GID).

()

Source from the content-addressed store, hash-verified

29 // (currently '/cnb/buildpacks/{ID}/{version}/*', all entries with a zeroed-out
30 // timestamp and root UID/GID).
31 Open() (io.ReadCloser, error)
32 Descriptor() Descriptor
33}
34

Callers 15

assertBuildpackTomlFunction · 0.65
BuildMethod · 0.65
readConfigFileFunction · 0.65
diffIDForFileFunction · 0.65
assertBlobFunction · 0.65
OpenMethod · 0.65
testPackageBuilderFunction · 0.65
testOCILayoutPackageFunction · 0.65
testBuildpackFunction · 0.65
OpenMethod · 0.65
copyFileFunction · 0.65
readDescriptorFunction · 0.65

Implementers 8

mockBuildModulepkg/client/client_test.go
errorBuildModulepkg/buildpack/buildpack_test.go
MockBuildModulepkg/testmocks/mock_build_module.go
MockBuildModuleMockRecorderpkg/testmocks/mock_build_module.go
fakeExtensioninternal/fakes/fake_extension.go
fakeBuildpackinternal/fakes/fake_buildpack.go
MockLifecycleinternal/builder/testmocks/mock_lifecy
MockLifecycleMockRecorderinternal/builder/testmocks/mock_lifecy

Calls

no outgoing calls

Tested by 8

assertBuildpackTomlFunction · 0.52
diffIDForFileFunction · 0.52
assertBlobFunction · 0.52
testPackageBuilderFunction · 0.52
testOCILayoutPackageFunction · 0.52
testBuildpackFunction · 0.52
OpenMethod · 0.52
testArchiveFunction · 0.52