make

package
v0.11.12 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 26 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, output 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 binary suffix.

func (*Builder) PlatformExtensionName

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

PlatformExtensionName is a helper to return the platform specific extension name.

type Option

type Option func(*Builder)

func WithArch

func WithArch(a string) Option

func WithFakeData

func WithFakeData() Option

func WithOS

func WithOS(o string) 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