Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(c dtclient.EntitiesClient, specificEntitiesTypes []string, projectName string) v2.ConfigsPerType
func DownloadAll ¶
func DownloadAll(c dtclient.EntitiesClient, projectName string) v2.ConfigsPerType
DownloadAll downloads all entities objects for a given project
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
Downloader is responsible for downloading Settings 2.0 objects
func NewEntitiesDownloader ¶
func NewEntitiesDownloader(c dtclient.EntitiesClient) *Downloader
NewEntitiesDownloader creates a new downloader for Settings 2.0 objects
func (*Downloader) Download ¶
func (d *Downloader) Download(specificEntitiesTypes []string, projectName string) v2.ConfigsPerType
Download downloads specific entities objects for the given entities Types and a given project The returned value is a map of entities objects with the entities Type as keys
func (*Downloader) DownloadAll ¶
func (d *Downloader) DownloadAll(projectName string) v2.ConfigsPerType
DownloadAll downloads all entities objects for a given project. The returned value is a map of entities objects with the entities Type as keys
Click to show internal directories.
Click to hide internal directories.