publish

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Publish = "build"

Variables

This section is empty.

Functions

This section is empty.

Types

type Contributor

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

func NewContributor

func NewContributor(context build.Build, runner Runner) (Contributor, bool, error)

func (Contributor) Contribute

func (c Contributor) Contribute() error

type Metadata

type Metadata struct {
	Name string
	Hash string
}

func (Metadata) Identity

func (m Metadata) Identity() (name string, version string)

type MetadataInterface

type MetadataInterface interface {
	Identity() (name string, version string)
}

type Runner

type Runner interface {
	Run(bin, dir string, quiet bool, args ...string) error
}

Jump to

Keyboard shortcuts

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