libcnb icon indicating copy to clipboard operation
libcnb copied to clipboard

A non-opinionated language binding for the Cloud Native Buildpack Buildpack and Extension specifications

github.com/buildpacks/libcnb

Go Reference

libcnb is a Go language binding of the Cloud Native Buildpacks API. It is a non-opinionated implementation adding language constructs and convenience methods for working with the API.

For operations such as building an app, creating a builder or packaging a buildpack, you may use pack as a Go library.

Usage

Installation

go get github.com/buildpacks/libcnb

or for the v2 alpha

go get github.com/buildpacks/[email protected]

Docs

https://pkg.go.dev/github.com/buildpacks/libcnb?tab=doc

License

This library is released under version 2.0 of the Apache License.