Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Slug string `short:"s" long:"slug" required:"true" description:"Product slug name"` File string `short:"f" long:"file" description:"RegEx pattern to select the specific file to download"` Version string `short:"v" long:"version" default:"X" default-mask:"latest GA" description:"Semver constraint for picking a release version"` PivnetClient pivnetClient.Client PivnetToken string `long:"pivnet-token" description:"Authentication token for PivNet" env:"PIVNET_TOKEN"` TanzuNetHost string `long:"pivnet-host" description:"Host for Tanzu Network" env:"TANZU_NETWORK_HOSTNAME" default:"https://network.pivotal.io"` }
func (*Config) DownloadFromPivnet ¶
func (*Config) DownloadTile ¶
type NoMatchError ¶
type NoMatchError struct {
Filter string
}
func (NoMatchError) Error ¶
func (f NoMatchError) Error() string
type TooManyFilesError ¶
type TooManyFilesError struct { Filter string Files []pivnet.ProductFile }
func (TooManyFilesError) Error ¶
func (f TooManyFilesError) Error() string
Click to show internal directories.
Click to hide internal directories.