Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBaseURL = "git::%s/fury-distribution?ref=%s&depth=1"
Variables ¶
View Source
var ( ErrCannotDownloadDistribution = errors.New("cannot download distribution") ErrChangingFilePermissions = errors.New("error changing file permissions") ErrCreatingTempDir = errors.New("error creating temp dir") ErrDownloadingFolder = errors.New("error downloading folder") ErrMergeCompleteConfig = errors.New("error merging complete config") ErrMergeDistroConfig = errors.New("error merging distribution config") ErrRenamingFile = errors.New("error renaming file") ErrResolvingAbsPath = errors.New("error resolving absolute path") ErrValidateConfig = errors.New("error validating config") ErrWriteFile = errors.New("error writing file") ErrYamlMarshalFile = errors.New("error marshaling yaml file") ErrYamlUnmarshalFile = errors.New("error unmarshaling yaml file") ErrUnsupportedVersion = errors.New("unsupported KFD version") )
Functions ¶
This section is empty.
Types ¶
type DownloadResult ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewCachingDownloader ¶
func NewDownloader ¶
func (*Downloader) DoDownload ¶
func (d *Downloader) DoDownload( distroLocation string, minimalConf config.Furyctl, ) (DownloadResult, error)
func (*Downloader) Download ¶
func (d *Downloader) Download( distroLocation string, furyctlConfPath string, ) (DownloadResult, error)
Click to show internal directories.
Click to hide internal directories.