Documentation ¶
Index ¶
Constants ¶
View Source
const (
Pack = "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 ¶
type ErrBuilderNotSupported struct {
Builder string
}
func (ErrBuilderNotSupported) Error ¶
func (e ErrBuilderNotSupported) Error() string
type ErrNoDefaultImage ¶
func (ErrNoDefaultImage) Error ¶
func (e ErrNoDefaultImage) Error() string
type ErrRuntimeRequired ¶
type ErrRuntimeRequired struct {
Builder string
}
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.