Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDownloadRepo = errors.New("error downloading repository") ErrSomeDownloadsFailed = errors.New("some downloads have failed. Please check the logs") ErrRemoveDir = errors.New("error removing directory") ErrRenameDir = errors.New("error renaming directory") ErrGettingWD = errors.New("error getting working directory") ErrGETRequest = errors.New("error performing GET request") )
View Source
var ErrFuryFileUnmarshal = errors.New("error unmarshaling furyfile")
View Source
var ErrNoLabelFound = errors.New("no label found")
Functions ¶
This section is empty.
Types ¶
type DirSpec ¶
type DirSpec struct { VendorFolder string Kind string Name string Registry bool Provider ProviderOptSpec }
type Downloader ¶
type Downloader struct {
HTTPS bool
}
func NewDownloader ¶
func NewDownloader(https bool) Downloader
func (*Downloader) Download ¶
func (d *Downloader) Download(packages []Package) error
type FuryFile ¶
type FuryFile struct { VendorFolderName string `yaml:"vendorFolderName"` Versions VersionPattern `yaml:"versions"` Roles []Package `yaml:"roles"` Modules []Package `yaml:"modules"` Bases []Package `yaml:"bases"` Provider ProviderPattern `yaml:"provider"` }
func NewFuryFile ¶
type Package ¶
type Package struct { Name string `yaml:"name"` Version string `yaml:"version"` URL string `yaml:"url"` Dir string `yaml:"dir"` Kind string `yaml:"kind"` ProviderOpt ProviderOptSpec `yaml:"provider"` ProviderKind ProviderKind `yaml:"providerKind"` Registry bool `yaml:"registry"` }
type PackageURL ¶
type PackageURL struct { Prefix string Blocks []string Kind string Version string Registry bool CloudProvider ProviderOptSpec KindSpec ProviderKind }
type ProviderKind ¶
type ProviderKind map[string][]RegistrySpec
type ProviderOptSpec ¶
type ProviderPattern ¶
type ProviderPattern map[string]ProviderKind
type RegistrySpec ¶
type VersionPattern ¶
Click to show internal directories.
Click to hide internal directories.