Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Debug bool `long:"debug" description:"Outputs more info than usual"`
}
type DownloadPASConfig ¶
type DownloadPASConfig struct {
Version string `short:"v" long:"version" default:"X" default-mask:"latest GA" description:"Semver constraint for picking a release version"`
TanzuNetHost string `long:"pivnet-host" description:"Host for Tanzu Network" env:"TANZU_NETWORK_HOSTNAME" default:"https://network.pivotal.io"`
PivnetToken string `long:"pivnet-token" description:"Authentication token for PivNet" env:"PIVNET_TOKEN"`
}
func (*DownloadPASConfig) Execute ¶
func (cmd *DownloadPASConfig) Execute(args []string) error
type DownloadSRTConfig ¶
type DownloadSRTConfig struct {
Version string `short:"v" long:"version" default:"X" default-mask:"latest GA" description:"Semver constraint for picking a release version"`
TanzuNetHost string `long:"pivnet-host" description:"Host for Tanzu Network" env:"TANZU_NETWORK_HOSTNAME" default:"https://network.pivotal.io"`
PivnetToken string `long:"pivnet-token" description:"Authentication token for PivNet" env:"PIVNET_TOKEN"`
}
func (*DownloadSRTConfig) Execute ¶
func (cmd *DownloadSRTConfig) Execute(args []string) error
type Downloader ¶
type MarmanDownloader ¶
type MarmanDownloader struct{}
func (*MarmanDownloader) DownloadFromReader ¶
func (d *MarmanDownloader) DownloadFromReader(filename string, closer io.ReadCloser) error
func (*MarmanDownloader) DownloadFromURL ¶
func (d *MarmanDownloader) DownloadFromURL(filename string, url string) error
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
marman
command
|
|
|
downloadstemcellfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
githubfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
pivnetfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.