MCPcopy Index your code
hub / github.com/buildpacks-community/kpack

github.com/buildpacks-community/kpack @v0.17.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.17.2 ↗ · + Follow
1,527 symbols 4,986 edges 223 files 157 documented · 10%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

kpack

Build Status codecov

Kubernetes Native Container Build Service

kpack extends Kubernetes and utilizes unprivileged kubernetes primitives to provide builds of OCI images as a platform implementation of Cloud Native Buildpacks (CNB).

kpack provides a declarative builder resource that configures a Cloud Native Buildpacks build configuration with the desired buildpack order and operating system stack.

kpack provides a declarative image resource that builds an OCI image and schedules rebuilds on source changes and from builder buildpack and builder stack updates.

kpack also provides a build type to execute a single Cloud Native Buildpack OCI image build.

kpack gif

Documentation & Getting Started

kpack Working Group

There is a weekly working group meeting to discuss all things kpack!

The calendar and links are located on the Buildpacks Community Page

Come join us in the CNCF slack as well!

Extension points exported contracts — how you extend this code

StoreReader (Interface)
go:generate counterfeiter . StoreReader [10 implementers]
pkg/reconciler/buildpack/buildpack.go
ImageClient (Interface)
(no doc) [6 implementers]
pkg/registry/fetch.go
Keychain (Interface)
(no doc) [16 implementers]
pkg/blob/keychain.go
GitKeychain (Interface)
(no doc) [16 implementers]
pkg/git/git_keychain.go
ImageFetcher (Interface)
(no doc) [6 implementers]
pkg/cnb/build_metadata.go
ImageFetcher (Interface)
(no doc) [6 implementers]
pkg/buildpod/generator.go
ImageReader (Interface)
(no doc) [10 implementers]
pkg/slsa/attest.go
Change (Interface)
(no doc) [6 implementers]
pkg/buildchange/change.go

Core symbols most depended-on inside this repo

KpackV1alpha2
called by 92
pkg/client/clientset/versioned/clientset.go
New
called by 89
pkg/buildchange/change.go
Test
called by 88
pkg/reconciler/testhelpers/reconciler_tester.go
String
called by 85
pkg/reconciler/tracker.go
Get
called by 75
pkg/duckbuilder/informer.go
Informer
called by 52
pkg/client/informers/externalversions/generic.go
Error
called by 43
pkg/reconciler/network_error_reconciler.go
resolve
called by 38
pkg/cnb/buildpack_resolver.go

Shape

Function 607
Method 600
Struct 251
Interface 40
TypeAlias 21
FuncType 8

Languages

Go100%

Modules by API surface

pkg/openapi/generated.openapi.go120 symbols
pkg/apis/core/v1alpha1/zz_generated.deepcopy.go52 symbols
pkg/apis/core/v1alpha1/source_types.go34 symbols
pkg/cnb/builder_builder.go32 symbols
pkg/buildpod/generator.go22 symbols
pkg/client/informers/externalversions/factory.go21 symbols
pkg/cnb/fakes_test.go20 symbols
pkg/reconciler/testhelpers/listers.go19 symbols
pkg/slsa/attest.go18 symbols
pkg/git/git_keychain.go17 symbols
pkg/registry/fetch.go16 symbols
pkg/reconciler/image/image_test.go16 symbols

Datastores touched

(mysql)Database · 1 repos
defaultDatabase · 1 repos

For agents

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

⬇ download graph artifact