Versions in this module Expand all Collapse all v4 v4.0.1 May 22, 2018 Changes in this version + type ArchiveReader interface + Read func(boshman.PackageRef, string) (*Package, error) + type ArchiveReaderImpl struct + func NewArchiveReaderImpl(extract bool, compressor boshcmd.Compressor, fs boshsys.FileSystem) ArchiveReaderImpl + func (r ArchiveReaderImpl) Read(ref boshman.PackageRef, path string) (*Package, error) + type ByName []*Package + func (a ByName) Len() int + func (a ByName) Less(i, j int) bool + func (a ByName) Swap(i, j int) + type Compilable interface + ArchiveDigest func() string + ArchivePath func() string + Deps func() []Compilable + Fingerprint func() string + IsCompiled func() bool + Name func() string + func Sort(releasePackages []Compilable) ([]Compilable, error) + type CompiledPackage struct + Dependencies []*CompiledPackage + func NewCompiledPackageWithArchive(name, fp, osVersionSlug, path, sha1 string, dependencyNames []string) *CompiledPackage + func NewCompiledPackageWithoutArchive(name, fp, osVersionSlug, sha1 string, dependencyNames []string) *CompiledPackage + func (p *CompiledPackage) AttachDependencies(compiledPkgs []*CompiledPackage) error + func (p *CompiledPackage) DependencyNames() []string + func (p *CompiledPackage) Deps() []Compilable + func (p *CompiledPackage) IsCompiled() bool + func (p *CompiledPackage) RehashWithCalculator(digestCalculator crypto.DigestCalculator, ...) (*CompiledPackage, error) + func (p CompiledPackage) ArchiveDigest() string + func (p CompiledPackage) ArchivePath() string + func (p CompiledPackage) Fingerprint() string + func (p CompiledPackage) Name() string + func (p CompiledPackage) OSVersionSlug() string + func (p CompiledPackage) String() string + type DirReader interface + Read func(string) (*Package, error) + type DirReaderImpl struct + func NewDirReaderImpl(archiveFactory ArchiveFunc, srcDirPath string, blobsDirPath string, ...) DirReaderImpl + func (r DirReaderImpl) Read(path string) (*Package, error) + type Package struct + Dependencies []*Package + func NewExtractedPackage(resource Resource, dependencyNames []string, extractedPath string, ...) *Package + func NewPackage(resource Resource, dependencyNames []string) *Package + func (p *Package) ArchiveDigest() string + func (p *Package) ArchivePath() string + func (p *Package) AttachDependencies(packages []*Package) error + func (p *Package) Build(dev, final ArchiveIndex) error + func (p *Package) CleanUp() error + func (p *Package) DependencyNames() []string + func (p *Package) Deps() []Compilable + func (p *Package) ExtractedPath() string + func (p *Package) Finalize(final ArchiveIndex) error + func (p *Package) IsCompiled() bool + func (p *Package) RehashWithCalculator(calculator crypto.DigestCalculator, ...) (*Package, error) + func (p Package) Fingerprint() string + func (p Package) Name() string + func (p Package) String() string Other modules containing this package gopkg.in/cloudfoundry/bosh-cli.v0 gopkg.in/cloudfoundry/bosh-cli.v2 gopkg.in/cloudfoundry/bosh-cli.v3 gopkg.in/cloudfoundry/bosh-cli.v5 gopkg.in/cloudfoundry/bosh-cli.v6