MCPcopy Index your code
hub / github.com/carvel-dev/kbld

github.com/carvel-dev/kbld @v0.49.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.49.1 ↗ · + Follow
606 symbols 1,740 edges 103 files 45 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

logo

OpenSSF Best Practices

kbld

kbld (pronounced: kei·bild) seamlessly incorporates image building and image pushing into your development and deployment workflows.

Features:

  • Orchestrates image builds (delegates to tools like Docker, pack, kubectl-buildkit) and registry pushes
  • Works with local Docker daemon and remote registries, for development and production cases
  • Records metadata about image sources in annotation on Kubernetes resources (see examples below)
  • Resolves image references to their digest form (immutable) (details)
  • Provides a way to transport set of images in a single tarball between registries
  • maintaining exactly same digests, hence guaranteeing exactly same content
  • Not specific to Kubernetes, but works really well with Kubernetes configuration files

See building and deploying simple Go application to Kubernetes example that uses kbld.

Join the Community and Make Carvel Better

Carvel is better because of our contributors and maintainers. It is because of you that we can bring great software to the community. Please join us during our online community meetings. Details can be found on our Carvel website.

You can chat with us on Kubernetes Slack in the #carvel channel and follow us on Twitter at @carvel_dev.

Check out which organizations are using and contributing to Carvel: Adopter's list

Development

Consult docs/dev.md for build instructions, code structure details.

Extension points exported contracts — how you extend this code

Image (Interface)
(no doc) [8 implementers]
pkg/kbld/image/factory.go
Matcher (Interface)
(no doc) [5 implementers]
pkg/kbld/search/rule_matcher.go
FileSource (Interface)
(no doc) [4 implementers]
pkg/kbld/resources/file_sources.go
ImageWithRef (Interface)
(no doc) [3 implementers]
pkg/kbld/imagedesc/types.go
ImageIndexWithRef (Interface)
(no doc) [3 implementers]
pkg/kbld/imagedesc/types.go

Core symbols most depended-on inside this repo

RunWithOpts
called by 52
test/e2e/kbld.go
Write
called by 44
pkg/kbld/cmd/kbld.go
BuildEnv
called by 41
test/e2e/env.go
WithRegistries
called by 35
test/e2e/env.go
Name
called by 23
pkg/kbld/resources/resource.go
NewPrefixedWriter
called by 17
pkg/kbld/logger/logger.go
Run
called by 17
pkg/kbld/builder/maven/jib.go
Close
called by 14
pkg/kbld/imageutils/and/and_closer.go

Shape

Method 281
Function 171
Struct 139
Interface 10
FuncType 2
TypeAlias 2
Class 1

Languages

Go100%
Java1%

Modules by API surface

pkg/kbld/resources/resource.go35 symbols
pkg/kbld/config/config.go29 symbols
pkg/kbld/imagedesc/types.go21 symbols
pkg/kbld/imagedesc/image_ref_descriptors.go21 symbols
pkg/kbld/resources/file_sources.go19 symbols
pkg/kbld/resources/path.go17 symbols
pkg/kbld/imagetar/tar_writer.go16 symbols
pkg/kbld/builder/docker/docker.go16 symbols
test/e2e/resolve_test.go14 symbols
pkg/kbld/imagedesc/described_image.go14 symbols
pkg/kbld/cmd/resolve.go13 symbols
pkg/kbld/registry/registry.go12 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page