Versions in this module Expand all Collapse all v4 v4.0.1 May 22, 2018 Changes in this version + type FakeArchive struct + BuildStub func(expectedFp string) (string, string, error) + FingerprintStub func() (string, error) + func (fake *FakeArchive) Build(expectedFp string) (string, string, error) + func (fake *FakeArchive) BuildArgsForCall(i int) string + func (fake *FakeArchive) BuildCallCount() int + func (fake *FakeArchive) BuildReturns(result1 string, result2 string, result3 error) + func (fake *FakeArchive) BuildReturnsOnCall(i int, result1 string, result2 string, result3 error) + func (fake *FakeArchive) Fingerprint() (string, error) + func (fake *FakeArchive) FingerprintCallCount() int + func (fake *FakeArchive) FingerprintReturns(result1 string, result2 error) + func (fake *FakeArchive) FingerprintReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeArchive) Invocations() map[string][][]interface{} + type FakeArchiveIndex struct + AddStub func(name, fingerprint, path, sha1 string) (string, string, error) + FindStub func(name, fingerprint string) (string, string, error) + func (fake *FakeArchiveIndex) Add(name string, fingerprint string, path string, sha1 string) (string, string, error) + func (fake *FakeArchiveIndex) AddArgsForCall(i int) (string, string, string, string) + func (fake *FakeArchiveIndex) AddCallCount() int + func (fake *FakeArchiveIndex) AddReturns(result1 string, result2 string, result3 error) + func (fake *FakeArchiveIndex) AddReturnsOnCall(i int, result1 string, result2 string, result3 error) + func (fake *FakeArchiveIndex) Find(name string, fingerprint string) (string, string, error) + func (fake *FakeArchiveIndex) FindArgsForCall(i int) (string, string) + func (fake *FakeArchiveIndex) FindCallCount() int + func (fake *FakeArchiveIndex) FindReturns(result1 string, result2 string, result3 error) + func (fake *FakeArchiveIndex) FindReturnsOnCall(i int, result1 string, result2 string, result3 error) + func (fake *FakeArchiveIndex) Invocations() map[string][][]interface{} + type FakeFingerprinter struct + CalculateStub func([]resource.File, []string) (string, error) + func (fake *FakeFingerprinter) Calculate(arg1 []resource.File, arg2 []string) (string, error) + func (fake *FakeFingerprinter) CalculateArgsForCall(i int) ([]resource.File, []string) + func (fake *FakeFingerprinter) CalculateCallCount() int + func (fake *FakeFingerprinter) CalculateReturns(result1 string, result2 error) + func (fake *FakeFingerprinter) CalculateReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeFingerprinter) Invocations() map[string][][]interface{} + type FakeResource struct + ArchiveDigestStub func() string + ArchivePathStub func() string + BuildStub func(dev, final resource.ArchiveIndex) error + FinalizeStub func(final resource.ArchiveIndex) error + FingerprintStub func() string + NameStub func() string + RehashWithCalculatorStub func(calculator crypto.DigestCalculator, ...) (resource.Resource, error) + func (fake *FakeResource) ArchiveDigest() string + func (fake *FakeResource) ArchiveDigestCallCount() int + func (fake *FakeResource) ArchiveDigestReturns(result1 string) + func (fake *FakeResource) ArchiveDigestReturnsOnCall(i int, result1 string) + func (fake *FakeResource) ArchivePath() string + func (fake *FakeResource) ArchivePathCallCount() int + func (fake *FakeResource) ArchivePathReturns(result1 string) + func (fake *FakeResource) ArchivePathReturnsOnCall(i int, result1 string) + func (fake *FakeResource) Build(dev resource.ArchiveIndex, final resource.ArchiveIndex) error + func (fake *FakeResource) BuildArgsForCall(i int) (resource.ArchiveIndex, resource.ArchiveIndex) + func (fake *FakeResource) BuildCallCount() int + func (fake *FakeResource) BuildReturns(result1 error) + func (fake *FakeResource) BuildReturnsOnCall(i int, result1 error) + func (fake *FakeResource) Finalize(final resource.ArchiveIndex) error + func (fake *FakeResource) FinalizeArgsForCall(i int) resource.ArchiveIndex + func (fake *FakeResource) FinalizeCallCount() int + func (fake *FakeResource) FinalizeReturns(result1 error) + func (fake *FakeResource) FinalizeReturnsOnCall(i int, result1 error) + func (fake *FakeResource) Fingerprint() string + func (fake *FakeResource) FingerprintCallCount() int + func (fake *FakeResource) FingerprintReturns(result1 string) + func (fake *FakeResource) FingerprintReturnsOnCall(i int, result1 string) + func (fake *FakeResource) Invocations() map[string][][]interface{} + func (fake *FakeResource) Name() string + func (fake *FakeResource) NameCallCount() int + func (fake *FakeResource) NameReturns(result1 string) + func (fake *FakeResource) NameReturnsOnCall(i int, result1 string) + func (fake *FakeResource) RehashWithCalculator(calculator crypto.DigestCalculator, ...) (resource.Resource, error) + func (fake *FakeResource) RehashWithCalculatorArgsForCall(i int) (crypto.DigestCalculator, crypto2.ArchiveDigestFilePathReader) + func (fake *FakeResource) RehashWithCalculatorCallCount() int + func (fake *FakeResource) RehashWithCalculatorReturns(result1 resource.Resource, result2 error) + func (fake *FakeResource) RehashWithCalculatorReturnsOnCall(i int, result1 resource.Resource, result2 error) 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