Documentation
¶
Overview ¶
Package download implements the release download command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadOptions ¶
type DownloadOptions struct {
IO *iostreams.IOStreams
HttpClient func() (*http.Client, error)
BaseRepo func() (string, error)
// DownloadHttpClient uses longer timeout for file downloads
// If nil, defaults to HttpClient
DownloadHttpClient func() (*http.Client, error)
// Arguments
TagName string
Assets []string
// Flags
Repository string
Output string
All bool
}
Source Files
¶
- download.go
Click to show internal directories.
Click to hide internal directories.