Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
Downloader can be used to download automation resources/configs
func NewDownloader ¶
func NewDownloader(client *client.Client) *Downloader
NewDownloader creates a new Downloader for automation resources/configs
func (*Downloader) Download ¶
func (d *Downloader) Download(projectName string, automationTypes ...config.AutomationType) (v2.ConfigsPerType, error)
Download downloads all automation resources for a given project If automationTypes is given it will just download those types of automation resources
type NoopAutomationDownloader ¶
type NoopAutomationDownloader struct { }
func (NoopAutomationDownloader) Download ¶
func (d NoopAutomationDownloader) Download(_ string, _ ...config.AutomationType) (v2.ConfigsPerType, error)
Click to show internal directories.
Click to hide internal directories.