Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader interface {
Templates() ([]TemplateInfo, error)
Get(name string) *TemplateInfo
GetByLabel(label string) *TemplateInfo
DownloadDirectoryContents(name string, destDir string, force bool) error
}
func NewDownloader ¶
func NewDownloader() Downloader
type GetterClient ¶
type GetterClient interface {
Get() error
}
GetterClient exists because go-getter does not have an interface to mock.
func NewGetter ¶
func NewGetter(c *getter.Client) GetterClient
Click to show internal directories.
Click to hide internal directories.