Documentation ¶
Index ¶
- type ArchiveIndicies
- type ArchiveReader
- type ArchiveWriter
- type BuiltReader
- type DirReader
- type Extractor
- type Manager
- type ManifestReader
- type MultiReader
- type MultiReaderOpts
- type Provider
- func (p Provider) NewArchiveReader() ArchiveReader
- func (p Provider) NewArchiveWriter() ArchiveWriter
- func (p Provider) NewDirReader(dirPath string) DirReader
- func (p Provider) NewExtractingArchiveReader() ArchiveReader
- func (p Provider) NewManifestReader() ManifestReader
- func (p Provider) NewMultiReader(dirPath string) MultiReader
- type Reader
- type Release
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveIndicies ¶
type ArchiveIndicies struct { Jobs boshres.ArchiveIndex Packages boshres.ArchiveIndex Licenses boshres.ArchiveIndex }
type ArchiveReader ¶
type ArchiveReader struct {
// contains filtered or unexported fields
}
func NewArchiveReader ¶
func NewArchiveReader( jobArchiveReader boshjob.ArchiveReader, pkgArchiveReader boshpkg.ArchiveReader, compressor boshcmd.Compressor, fs boshsys.FileSystem, logger boshlog.Logger, ) ArchiveReader
type ArchiveWriter ¶
type ArchiveWriter struct {
// contains filtered or unexported fields
}
func NewArchiveWriter ¶
func NewArchiveWriter(compressor boshcmd.Compressor, fs boshsys.FileSystem, logger boshlog.Logger) ArchiveWriter
type BuiltReader ¶
type BuiltReader struct {
// contains filtered or unexported fields
}
func NewBuiltReader ¶
func NewBuiltReader( releaseReader Reader, devIndicies ArchiveIndicies, finalIndicies ArchiveIndicies, ) BuiltReader
type DirReader ¶
type DirReader struct {
// contains filtered or unexported fields
}
func NewDirReader ¶
type ManifestReader ¶
type ManifestReader struct {
// contains filtered or unexported fields
}
func NewManifestReader ¶
func NewManifestReader(fs boshsys.FileSystem, logger boshlog.Logger) ManifestReader
type MultiReader ¶
type MultiReader struct {
// contains filtered or unexported fields
}
func NewMultiReader ¶
func NewMultiReader(opts MultiReaderOpts, fs boshsys.FileSystem) MultiReader
type MultiReaderOpts ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider( cmdRunner boshsys.CmdRunner, compressor boshcmd.Compressor, sha1calc bicrypto.DigestCalculator, fs boshsys.FileSystem, logger boshlog.Logger, ) Provider
func (Provider) NewArchiveReader ¶
func (p Provider) NewArchiveReader() ArchiveReader
func (Provider) NewArchiveWriter ¶
func (p Provider) NewArchiveWriter() ArchiveWriter
func (Provider) NewDirReader ¶
func (Provider) NewExtractingArchiveReader ¶
func (p Provider) NewExtractingArchiveReader() ArchiveReader
func (Provider) NewManifestReader ¶
func (p Provider) NewManifestReader() ManifestReader
func (Provider) NewMultiReader ¶
func (p Provider) NewMultiReader(dirPath string) MultiReader
type Release ¶
type Release interface { Name() string SetName(string) Version() string SetVersion(string) CommitHashWithMark(string) string SetCommitHash(string) SetUncommittedChanges(bool) Jobs() []*boshjob.Job Packages() []*boshpkg.Package CompiledPackages() []*boshpkg.CompiledPackage License() *boshlic.License IsCompiled() bool FindJobByName(string) (boshjob.Job, bool) Manifest() boshman.Manifest Build(dev, final ArchiveIndicies) error Finalize(final ArchiveIndicies) error CleanUp() error }
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
jobfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
licensefakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
pkgfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
resourcefakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
set
|
|
Click to show internal directories.
Click to hide internal directories.