Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BuildpackImage defines the name of the default buildpack builder image // with which to execute the buildpack lifecycle. We default to Paketo, // see other options below. // // For GCP see: http://github.com/GoogleCloudPlatform/buildpacks // - gcr.io/buildpacks/builder // // For Boson see: https://github.com/boson-project/faas/blob/main/buildpacks/builder.go#L25 // - Quarkus: quay.io/boson/faas-quarkus-builder // - Node.js: quay.io/boson/faas-nodejs-builder // - Go: quay.io/boson/faas-go-builder BuildpackImage = "docker.io/paketobuildpacks/builder:full" )
Variables ¶
View Source
var ( // PlatformSetupImageString holds a reference to a built image of ./cmd/platform-setup // See ./hack/build-flags.sh for how this is replaced at link-time. PlatformSetupImageString = "ghcr.io/mattmoor/github.com/mattmoor/mink/cmd/platform-setup:latest" // PlatformSetupImage is where we publish ./cmd/platform-setup PlatformSetupImage, _ = name.ParseReference(PlatformSetupImageString) // ExtractDigestImageString holds a reference to a built image of ./cmd/extract-digest // See ./hack/build-flags.sh for how this is replaced at link-time. ExtractDigestImageString = "ghcr.io/mattmoor/github.com/mattmoor/mink/cmd/extract-digest:latest" // ExtractDigestImage is where we publish ./cmd/extract-digest ExtractDigestImage, _ = name.ParseReference(ExtractDigestImageString) // BuildpackTaskString holds the raw definition of the Buildpack task. // We export this into ./examples/buildpack.yaml BuildpackTaskString = `` /* 3280-byte string literal not displayed */ // BuildpackTask is the parsed form of BuildpackTaskString. BuildpackTask tknv1beta1.Task )
Functions ¶
Types ¶
type Options ¶
type Options struct { // Builder is the name of the builder image for which to apply the buildpack lifecycle. Builder string // DescriptorFile holds the name of the project descriptor file (aka project.toml). DescriptorFile string }
Options are the options for executing a buildpack build.
Click to show internal directories.
Click to hide internal directories.