Versions in this module Expand all Collapse all v3 v3.0.1 Mar 13, 2018 Changes in this version + type AdditionalChunkSorting []string + func (s AdditionalChunkSorting) Len() int + func (s AdditionalChunkSorting) Less(i, j int) bool + func (s AdditionalChunkSorting) Swap(i, j int) + type Archive interface + Build func(expectedFp string) (string, string, error) + Fingerprint func() (string, error) + type ArchiveFactoryArgs struct + Chunks []string + Files []File + FollowSymlinks bool + PrepFiles []File + type ArchiveFunc func(args ArchiveFactoryArgs) Archive + type ArchiveImpl struct + func NewArchiveImpl(args ArchiveFactoryArgs, releaseDirPath string, fingerprinter Fingerprinter, ...) ArchiveImpl + func (a ArchiveImpl) Build(expectedFp string) (string, string, error) + func (a ArchiveImpl) Fingerprint() (string, error) + type ArchiveIndex interface + Add func(name, fingerprint, path, sha1 string) (string, string, error) + Find func(name, fingerprint string) (string, string, error) + type File struct + DirPath string + ExcludeMode bool + Path string + RelativePath string + UseBasename bool + func NewFile(path, dirPath string) File + func NewFileUsesBasename(path, dirPath string) File + func (f File) WithNewDir(dirPath string) File + type FileRelativePathSorting []File + func (s FileRelativePathSorting) Len() int + func (s FileRelativePathSorting) Less(i, j int) bool + func (s FileRelativePathSorting) Swap(i, j int) + type Fingerprinter interface + Calculate func([]File, []string) (string, error) + type FingerprinterImpl struct + func NewFingerprinterImpl(digestCalculator bicrypto.DigestCalculator, fs boshsys.FileSystem, ...) FingerprinterImpl + func (f FingerprinterImpl) Calculate(files []File, additionalChunks []string) (string, error) + type Resource interface + ArchiveDigest func() string + ArchivePath func() string + Build func(dev, final ArchiveIndex) error + Finalize func(final ArchiveIndex) error + Fingerprint func() string + Name func() string + RehashWithCalculator func(calculator crypto.DigestCalculator, ...) (Resource, error) + type ResourceImpl struct + func NewExistingResource(name, fp, sha1 string) *ResourceImpl + func NewResource(name, fp string, archive Archive) *ResourceImpl + func NewResourceWithBuiltArchive(name, fp, path, sha1 string) *ResourceImpl + func (r *ResourceImpl) ArchiveDigest() string + func (r *ResourceImpl) ArchivePath() string + func (r *ResourceImpl) Build(devIndex, finalIndex ArchiveIndex) error + func (r *ResourceImpl) Finalize(finalIndex ArchiveIndex) error + func (r *ResourceImpl) Fingerprint() string + func (r *ResourceImpl) Name() string + func (r *ResourceImpl) RehashWithCalculator(calculator crypto.DigestCalculator, ...) (Resource, error) Other modules containing this package gopkg.in/cloudfoundry/bosh-cli.v0 gopkg.in/cloudfoundry/bosh-cli.v2 gopkg.in/cloudfoundry/bosh-cli.v4 gopkg.in/cloudfoundry/bosh-cli.v5 gopkg.in/cloudfoundry/bosh-cli.v6