gopack

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoMatchingImage = errors.New("no matching image")

Functions

func NopLogger

func NopLogger() types.Logger

func Run

func Run(ctx context.Context, options ...RunOption) (string, error)

func StdErrLogger

func StdErrLogger() types.Logger

Types

type RunOption

type RunOption func(*runOptions)

func WithBase

func WithBase(v string) RunOption

func WithCGOEnabled

func WithCGOEnabled(v bool) RunOption

func WithCompressionLevel

func WithCompressionLevel(v int) RunOption

func WithConcurrency

func WithConcurrency(v int) RunOption

func WithDaemon

func WithDaemon(v string) RunOption

func WithEStargz

func WithEStargz(v bool) RunOption

func WithLDFlags

func WithLDFlags(v string) RunOption

func WithLabels

func WithLabels(v map[string]string) RunOption

func WithLogger

func WithLogger(v types.Logger) RunOption

func WithMainPath

func WithMainPath(v string) RunOption

func WithModFlag

func WithModFlag(v string) RunOption

func WithPlatforms

func WithPlatforms(v []string) RunOption

func WithRepository

func WithRepository(v string) RunOption

func WithTags

func WithTags(v []string) RunOption

func WithTrimpath

func WithTrimpath(v bool) RunOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL