downloadrelease

package
v0.0.0-...-dcd8ac6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Owner   string `short:"o" long:"owner" description:"Repository owner" required:"true"`
	Repo    string `short:"r" long:"repo" description:"Repository name" required:"true"`
	Version string `short:"v" long:"version" description:"Release version"`
	Filter  string `short:"f" long:"filter" description:"Filter to specific asset"`

	GithubToken string `long:"github-token" description:"Authentication token for GitHub" env:"GITHUB_TOKEN"`

	Logger       lager.Logger
	GithubClient github2.Client
	Downloader   marman.Downloader
}

func (*Config) DownloadRelease

func (cmd *Config) DownloadRelease() error

func (*Config) Execute

func (cmd *Config) Execute(args []string) error

Jump to

Keyboard shortcuts

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