Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultName = builders.Pack
DefaultName when no WithName option is provided to NewBuilder
Variables ¶
View Source
var DefaultBaseBuilder = "ghcr.io/knative/builder-jammy-base:latest"
View Source
var ( DefaultBuilderImages = map[string]string{ "node": DefaultBaseBuilder, "nodejs": DefaultBaseBuilder, "typescript": DefaultBaseBuilder, "go": DefaultTinyBuilder, "python": DefaultBaseBuilder, "quarkus": DefaultTinyBuilder, "rust": DefaultBaseBuilder, "springboot": DefaultBaseBuilder, } )
View Source
var DefaultLifecycleImage = "docker.io/buildpacksio/lifecycle:553c041"
View Source
var DefaultTinyBuilder = "ghcr.io/knative/builder-jammy-tiny:latest"
Functions ¶
func BuilderImage ¶
Builder Image chooses the correct builder image or defaults.
func TrustBuilder ¶
TrustBuilder determines whether the builder image should be trusted based on a set of trusted builder image registry prefixes.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder will build Function using Pack.
func NewBuilder ¶
NewBuilder instantiates a Buildpack-based Builder
type ErrRuntimeNotSupported ¶
type ErrRuntimeNotSupported struct {
Runtime string
}
func (ErrRuntimeNotSupported) Error ¶
func (e ErrRuntimeNotSupported) Error() string
type ErrRuntimeRequired ¶
type ErrRuntimeRequired struct{}
func (ErrRuntimeRequired) Error ¶
func (e ErrRuntimeRequired) Error() string
Click to show internal directories.
Click to hide internal directories.