Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirReader ¶
type DirReader struct {
// contains filtered or unexported fields
}
func NewDirReader ¶
type GitDirReader ¶
type GitDirReader struct {
// contains filtered or unexported fields
}
func NewGitDirReader ¶
func NewGitDirReader( dir string, fs boshsys.FileSystem, logger boshlog.Logger, ) GitDirReader
func (GitDirReader) Close ¶
func (r GitDirReader) Close() error
func (GitDirReader) Read ¶
func (r GitDirReader) Read() (Release, error)
type ReaderFactory ¶
type ReaderFactory struct {
// contains filtered or unexported fields
}
func NewReaderFactory ¶
func NewReaderFactory( downloader bpdload.Downloader, extractor bptar.Extractor, fs boshsys.FileSystem, logger boshlog.Logger, ) ReaderFactory
func (ReaderFactory) NewReader ¶
func (rf ReaderFactory) NewReader(name, version, url string) Reader
func (ReaderFactory) NewTarReader ¶
func (rf ReaderFactory) NewTarReader(url string) Reader
type Release ¶
type Release struct { Manifest bprelman.Manifest `json:"-"` Name string Version string CommitHash string UncommittedChanges bool Jobs []Job Packages []*Package CompiledPackages []*Package }
func (Release) ResolvedPackageDependencies ¶
ResolvedPackageDependencies returns list of packages in order such that each package at a higher index only depends on packages at lower indecies.
type TarReader ¶
type TarReader struct {
// contains filtered or unexported fields
}
TarReader reads .tgz release file and returns a Release. See unpacked release directory layout at the end of the file.
func NewTarReader ¶
func NewTarReader( url string, downloader bpdload.Downloader, extractor bptar.Extractor, fs boshsys.FileSystem, logger boshlog.Logger, ) *TarReader
Source Files ¶
Click to show internal directories.
Click to hide internal directories.