Documentation ¶
Index ¶
- Variables
- func NopLogger() types.Logger
- func Run(ctx context.Context, options ...RunOption) (string, error)
- func StdErrLogger() types.Logger
- type RunOption
- func WithBase(v string) RunOption
- func WithCGOEnabled(v bool) RunOption
- func WithCompressionLevel(v int) RunOption
- func WithConcurrency(v int) RunOption
- func WithDaemon(v string) RunOption
- func WithLDFlags(v string) RunOption
- func WithLabels(v map[string]string) RunOption
- func WithLogger(v types.Logger) RunOption
- func WithMainPath(v string) RunOption
- func WithModFlag(v string) RunOption
- func WithPlatforms(v []string) RunOption
- func WithRepository(v string) RunOption
- func WithTags(v []string) RunOption
- func WithTrimpath(v bool) RunOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoMatchingImage = errors.New("no matching image")
Functions ¶
func StdErrLogger ¶
StdErrLogger returns a new Logger that logs to stderr.
Types ¶
type RunOption ¶
type RunOption func(*runOptions)
func WithCGOEnabled ¶
func WithCompressionLevel ¶
func WithConcurrency ¶
func WithDaemon ¶
func WithLDFlags ¶
func WithLabels ¶
func WithLogger ¶
func WithMainPath ¶
func WithModFlag ¶
func WithPlatforms ¶
func WithRepository ¶
func WithTrimpath ¶
Click to show internal directories.
Click to hide internal directories.