flux

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library struct {
	Path    string
	Version string
	Dir     string
	Target  Target
}

func Configure

func Configure(ctx context.Context, logger *zap.Logger, static bool) (*Library, error)

func (*Library) Install

func (l *Library) Install(ctx context.Context, logger *zap.Logger) (string, error)

func (*Library) WritePackageConfig

func (l *Library) WritePackageConfig(w io.Writer, buildid string) error

type Target

type Target struct {
	OS     string
	Arch   string
	Arm    string
	Static bool
}

func (Target) DetermineCargoTarget

func (t Target) DetermineCargoTarget(logger *zap.Logger) string

Determine the cargo target.

func (Target) String

func (t Target) String() string

Jump to

Keyboard shortcuts

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