Documentation ¶
Overview ¶
Package builders provides constants for builder implementation short names, shared error types and convienience functions.
Index ¶
Constants ¶
View Source
const ( Host = "host" Pack = "pack" S2I = "s2i" Default = Pack )
Variables ¶
This section is empty.
Functions ¶
func Image ¶
Image is a convenience function for choosing the correct builder image given a function, a builder, and defaults grouped by runtime.
- ErrRuntimeRequired if no runtime was provided on the given function
- ErrNoDefaultImage if the function has no builder image already defined for the given runtime and there is no default in the provided map.
Types ¶
type ErrBuilderNotSupported ¶ added in v0.38.0
type ErrBuilderNotSupported struct {
Builder string
}
ErrBuilderNotSupported
func (ErrBuilderNotSupported) Error ¶ added in v0.38.0
func (e ErrBuilderNotSupported) Error() string
type ErrNoDefaultImage ¶
ErrNoDefaultImage
func (ErrNoDefaultImage) Error ¶
func (e ErrNoDefaultImage) Error() string
type ErrRuntimeRequired ¶
type ErrRuntimeRequired struct {
Builder string
}
ErrRuntimeRequired
func (ErrRuntimeRequired) Error ¶
func (e ErrRuntimeRequired) Error() string
type ErrUnknownBuilder ¶
ErrUnknownBuilder may be used by whomever is choosing a concrete implementation of a builder to invoke based on potentially invalid input.
func (ErrUnknownBuilder) Error ¶
func (e ErrUnknownBuilder) Error() string
Click to show internal directories.
Click to hide internal directories.