MCPcopy Index your code
hub / github.com/buildpacks/pack

github.com/buildpacks/pack @v0.40.7 sqlite

repository ↗ · DeepWiki ↗ · release v0.40.7 ↗
2,827 symbols 12,245 edges 435 files 744 documented · 26% 1 cross-repo links
README

pack - Buildpack CLI

Build results Go Report Card codecov GoDoc GitHub license CII Best Practices Slack Gitpod ready-to-code

pack makes it easy for... - App Developers to use buildpacks to convert code into runnable images. - Buildpack Authors to develop and package buildpacks for distribution. - Operators to package buildpacks for distribution and maintain applications.

Usage

Getting Started

Get started by running through our tutorial: An App’s Brief Journey from Source to Image

Contributing

  • CONTRIBUTING - Information on how to contribute, including the pull request process.
  • DEVELOPMENT - Further detail to help you during the development process.
  • RELEASE - Further details about our release process.

Documentation

Check out the command line documentation here

Specifications

pack is a CLI implementation of the Platform Interface Specification for Cloud Native Buildpacks.

To learn more about the details, check out the specs repository.

Extension points exported contracts — how you extend this code

BlobDownloader (Interface)
go:generate mockgen -package testmocks -destination ../testmocks/mock_blob_downloader.go github.com/buildpacks/pack/pkg/ [7 …
pkg/client/client.go
BuildModule (Interface)
go:generate mockgen -package testmocks -destination ../testmocks/mock_build_module.go github.com/buildpacks/pack/pkg/bui [8 …
pkg/buildpack/buildpack.go
InspectImageWriterFactory (Interface)
go:generate mockgen -package testmocks -destination testmocks/mock_inspect_image_writer_factory.go github.com/buildpacks [11 …
internal/commands/inspect_image.go
Blob (Interface)
Blob is an interface to wrap opening blobs [16 implementers]
internal/builder/lifecycle.go
Blob (Interface)
(no doc) [16 implementers]
pkg/blob/blob.go
InspectImageWriter (Interface)
(no doc) [7 implementers]
internal/inspectimage/writer/factory.go
Logger (Interface)
Logger defines behavior required by a logging package used by pack libraries [2 implementers]
pkg/logging/logging.go
TestBuildModule (Interface)
(no doc) [4 implementers]
acceptance/buildpacks/manager.go

Core symbols most depended-on inside this repo

Execute
called by 491
pkg/client/build.go
Nil
called by 407
testhelpers/assertions.go
Errorf
called by 304
pkg/buildpack/downloader.go
Name
called by 234
pkg/client/input_image_reference.go
Close
called by 218
pkg/archive/archive.go
EXPECT
called by 211
pkg/testmocks/mock_docker_client.go
NewLogWithWriters
called by 210
pkg/logging/logger_writers.go
EXPECT
called by 206
internal/commands/testmocks/mock_pack_client.go

Shape

Function 1,207
Method 1,164
Struct 342
Interface 63
FuncType 31
TypeAlias 20

Languages

Go100%

Modules by API surface

pkg/testmocks/mock_docker_client.go230 symbols
internal/builder/builder.go84 symbols
testhelpers/testhelpers.go79 symbols
pkg/buildpack/buildpack.go53 symbols
pkg/client/build.go52 symbols
internal/commands/testmocks/mock_pack_client.go46 symbols
internal/sshdialer/ssh_dialer_test.go43 symbols
acceptance/assertions/output.go42 symbols
pkg/client/client.go35 symbols
pkg/archive/archive.go34 symbols
internal/sshdialer/server_test.go33 symbols
pkg/buildpack/builder.go32 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

4d63.com/gocheckcompilerdirectivesv1.3.0 · 1×
4d63.com/gochecknoglobalsv0.2.2 · 1×
cyphar.com/go-pathrsv0.2.1 · 1×
dario.cat/mergov1.0.2 · 1×
github.com/4meepo/tagalignv1.4.2 · 1×
github.com/Abirdcfly/dupwordv0.1.3 · 1×
github.com/Antonboom/errnamev1.1.0 · 1×
github.com/Antonboom/nilnilv1.1.0 · 1×
github.com/Antonboom/testifylintv1.6.0 · 1×
github.com/Azure/azure-sdk-for-gov68.0.0+incompatible · 1×
github.com/Azure/go-ansitermv0.0.0-2025010203350 · 1×
github.com/Azure/go-autorestv14.2.0+incompatible · 1×

For agents

$ claude mcp add pack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact