entities

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL