make

package
v0.11.22 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) (*Builder, error)

func (*Builder) BuildCmd

func (b *Builder) BuildCmd(src, appName string) func(context.Context) error

func (*Builder) DepsGo

func (b *Builder) DepsGo(ctx context.Context) error

func (*Builder) GenerateTUF

func (b *Builder) GenerateTUF(ctx context.Context) error

func (*Builder) InstallTools

func (b *Builder) InstallTools(ctx context.Context) error

func (*Builder) PlatformBinaryName

func (b *Builder) PlatformBinaryName(input string) string

PlatformBinaryName is a helper to return the platform specific output path.

type Option

type Option func(*Builder)

func WithArch

func WithArch(a string) Option

func WithFakeData

func WithFakeData() Option

func WithGoPath added in v0.11.15

func WithGoPath(goPath string) Option

func WithOS

func WithOS(o string) Option

func WithOutStripped added in v0.11.15

func WithOutStripped() Option

func WithRace

func WithRace() Option

func WithStampVersion

func WithStampVersion() Option

func WithStatic

func WithStatic() Option

Jump to

Keyboard shortcuts

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