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" DefaultTinyBuilder = "ghcr.io/knative/builder-jammy-tiny:latest" )
View Source
var ( DefaultBuilderImages = map[string]string{ "go": DefaultTinyBuilder, "java": DefaultBaseBuilder, } )
View Source
var DefaultLifecycleImage = "quay.io/boson/lifecycle@sha256:f53fea9ec9188b92cab0b8a298ff852d76a6c2aaf56f968a08637e13de0e0c59"
Functions ¶
func BuilderImage ¶
BuilderImage 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.