deps

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ExampleConfigFile = `` /* 210-byte string literal not displayed */

Variables

View Source
var Main = &cobra.Command{
	Use:   "deps",
	Short: "Helpers for binary dependencies in Makefiles.",
}

Functions

This section is empty.

Types

type ArchitectureMapping

type ArchitectureMapping struct {
	AMD64 string `yaml:"amd64"`
}

type Component

type Component struct {
	Version      string   `yaml:"version"`
	Url          string   `yaml:"url"`
	Mappings     Mappings `yaml:"mappings"`
	Os           string   `yaml:"os,omitempty"`
	Architecture string   `yaml:"architecture,omitempty"`
}

func (*Component) String

func (c *Component) String() string

type FileNotFoundError

type FileNotFoundError struct {
	Path string
	Err  error
}

func (FileNotFoundError) Error

func (e FileNotFoundError) Error() string

func (FileNotFoundError) Unwrap

func (e FileNotFoundError) Unwrap() error

type InvalidFileError

type InvalidFileError struct {
	Path string
	Err  error
}

func (InvalidFileError) Error

func (e InvalidFileError) Error() string

func (InvalidFileError) Unwrap

func (e InvalidFileError) Unwrap() error

type Mappings

type Mappings struct {
	ArchitectureMapping ArchitectureMapping `yaml:"architecture"`
	OsMapping           OsMapping           `yaml:"os"`
}

type OsMapping

type OsMapping struct {
	Darwin string `yaml:"darwin"`
	Linux  string `yaml:"linux"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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