Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeArchive
- 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) Fingerprint() (string, error)
- func (fake *FakeArchive) FingerprintCallCount() int
- func (fake *FakeArchive) FingerprintReturns(result1 string, result2 error)
- func (fake *FakeArchive) Invocations() map[string][][]interface{}
- type FakeArchiveIndex
- 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) 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) Invocations() map[string][][]interface{}
- type FakeFingerprinter
- 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) Invocations() map[string][][]interface{}
- type FakeResource
- func (fake *FakeResource) ArchivePath() string
- func (fake *FakeResource) ArchivePathCallCount() int
- func (fake *FakeResource) ArchivePathReturns(result1 string)
- func (fake *FakeResource) ArchiveSHA1() string
- func (fake *FakeResource) ArchiveSHA1CallCount() int
- func (fake *FakeResource) ArchiveSHA1Returns(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) 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) Fingerprint() string
- func (fake *FakeResource) FingerprintCallCount() int
- func (fake *FakeResource) FingerprintReturns(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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeArchive ¶
type FakeArchive struct { FingerprintStub func() (string, error) BuildStub func(expectedFp string) (string, string, error) // contains filtered or unexported fields }
func (*FakeArchive) Build ¶
func (fake *FakeArchive) Build(expectedFp string) (string, string, error)
func (*FakeArchive) BuildArgsForCall ¶
func (fake *FakeArchive) BuildArgsForCall(i int) string
func (*FakeArchive) BuildCallCount ¶
func (fake *FakeArchive) BuildCallCount() int
func (*FakeArchive) BuildReturns ¶
func (fake *FakeArchive) BuildReturns(result1 string, result2 string, result3 error)
func (*FakeArchive) Fingerprint ¶
func (fake *FakeArchive) Fingerprint() (string, error)
func (*FakeArchive) FingerprintCallCount ¶
func (fake *FakeArchive) FingerprintCallCount() int
func (*FakeArchive) FingerprintReturns ¶
func (fake *FakeArchive) FingerprintReturns(result1 string, result2 error)
func (*FakeArchive) Invocations ¶
func (fake *FakeArchive) Invocations() map[string][][]interface{}
type FakeArchiveIndex ¶
type FakeArchiveIndex struct { FindStub func(name, fingerprint string) (string, string, error) AddStub func(name, fingerprint, path, sha1 string) (string, string, error) // contains filtered or unexported fields }
func (*FakeArchiveIndex) AddArgsForCall ¶
func (*FakeArchiveIndex) AddCallCount ¶
func (fake *FakeArchiveIndex) AddCallCount() int
func (*FakeArchiveIndex) AddReturns ¶
func (fake *FakeArchiveIndex) AddReturns(result1 string, result2 string, result3 error)
func (*FakeArchiveIndex) FindArgsForCall ¶
func (fake *FakeArchiveIndex) FindArgsForCall(i int) (string, string)
func (*FakeArchiveIndex) FindCallCount ¶
func (fake *FakeArchiveIndex) FindCallCount() int
func (*FakeArchiveIndex) FindReturns ¶
func (fake *FakeArchiveIndex) FindReturns(result1 string, result2 string, result3 error)
func (*FakeArchiveIndex) Invocations ¶
func (fake *FakeArchiveIndex) Invocations() map[string][][]interface{}
type FakeFingerprinter ¶
type FakeFingerprinter struct { CalculateStub func([]resource.File, []string) (string, error) // contains filtered or unexported fields }
func (*FakeFingerprinter) CalculateArgsForCall ¶
func (fake *FakeFingerprinter) CalculateArgsForCall(i int) ([]resource.File, []string)
func (*FakeFingerprinter) CalculateCallCount ¶
func (fake *FakeFingerprinter) CalculateCallCount() int
func (*FakeFingerprinter) CalculateReturns ¶
func (fake *FakeFingerprinter) CalculateReturns(result1 string, result2 error)
func (*FakeFingerprinter) Invocations ¶
func (fake *FakeFingerprinter) Invocations() map[string][][]interface{}
type FakeResource ¶
type FakeResource struct { NameStub func() string FingerprintStub func() string ArchivePathStub func() string ArchiveSHA1Stub func() string BuildStub func(dev, final resource.ArchiveIndex) error FinalizeStub func(final resource.ArchiveIndex) error // contains filtered or unexported fields }
func (*FakeResource) ArchivePath ¶
func (fake *FakeResource) ArchivePath() string
func (*FakeResource) ArchivePathCallCount ¶
func (fake *FakeResource) ArchivePathCallCount() int
func (*FakeResource) ArchivePathReturns ¶
func (fake *FakeResource) ArchivePathReturns(result1 string)
func (*FakeResource) ArchiveSHA1 ¶
func (fake *FakeResource) ArchiveSHA1() string
func (*FakeResource) ArchiveSHA1CallCount ¶
func (fake *FakeResource) ArchiveSHA1CallCount() int
func (*FakeResource) ArchiveSHA1Returns ¶
func (fake *FakeResource) ArchiveSHA1Returns(result1 string)
func (*FakeResource) Build ¶
func (fake *FakeResource) Build(dev resource.ArchiveIndex, final resource.ArchiveIndex) error
func (*FakeResource) BuildArgsForCall ¶
func (fake *FakeResource) BuildArgsForCall(i int) (resource.ArchiveIndex, resource.ArchiveIndex)
func (*FakeResource) BuildCallCount ¶
func (fake *FakeResource) BuildCallCount() int
func (*FakeResource) BuildReturns ¶
func (fake *FakeResource) BuildReturns(result1 error)
func (*FakeResource) Finalize ¶
func (fake *FakeResource) Finalize(final resource.ArchiveIndex) error
func (*FakeResource) FinalizeArgsForCall ¶
func (fake *FakeResource) FinalizeArgsForCall(i int) resource.ArchiveIndex
func (*FakeResource) FinalizeCallCount ¶
func (fake *FakeResource) FinalizeCallCount() int
func (*FakeResource) FinalizeReturns ¶
func (fake *FakeResource) FinalizeReturns(result1 error)
func (*FakeResource) Fingerprint ¶
func (fake *FakeResource) Fingerprint() string
func (*FakeResource) FingerprintCallCount ¶
func (fake *FakeResource) FingerprintCallCount() int
func (*FakeResource) FingerprintReturns ¶
func (fake *FakeResource) FingerprintReturns(result1 string)
func (*FakeResource) Invocations ¶
func (fake *FakeResource) Invocations() map[string][][]interface{}
func (*FakeResource) Name ¶
func (fake *FakeResource) Name() string
func (*FakeResource) NameCallCount ¶
func (fake *FakeResource) NameCallCount() int
func (*FakeResource) NameReturns ¶
func (fake *FakeResource) NameReturns(result1 string)
Click to show internal directories.
Click to hide internal directories.