Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeArchive
- func (fake *FakeArchive) Build(arg1 string) (string, string, error)
- func (fake *FakeArchive) BuildArgsForCall(i int) string
- func (fake *FakeArchive) BuildCallCount() int
- func (fake *FakeArchive) BuildCalls(stub func(string) (string, string, error))
- 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) FingerprintCalls(stub func() (string, error))
- 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
- func (fake *FakeArchiveIndex) Add(arg1 string, arg2 string, arg3 string, arg4 string) (string, string, error)
- func (fake *FakeArchiveIndex) AddArgsForCall(i int) (string, string, string, string)
- func (fake *FakeArchiveIndex) AddCallCount() int
- func (fake *FakeArchiveIndex) AddCalls(stub func(string, string, string, string) (string, string, error))
- 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(arg1 string, arg2 string) (string, string, error)
- func (fake *FakeArchiveIndex) FindArgsForCall(i int) (string, string)
- func (fake *FakeArchiveIndex) FindCallCount() int
- func (fake *FakeArchiveIndex) FindCalls(stub func(string, string) (string, string, error))
- 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
- 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) CalculateCalls(stub func([]resource.File, []string) (string, error))
- 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
- func (fake *FakeResource) ArchiveDigest() string
- func (fake *FakeResource) ArchiveDigestCallCount() int
- func (fake *FakeResource) ArchiveDigestCalls(stub func() string)
- 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) ArchivePathCalls(stub func() string)
- func (fake *FakeResource) ArchivePathReturns(result1 string)
- func (fake *FakeResource) ArchivePathReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) Build(arg1 resource.ArchiveIndex, arg2 resource.ArchiveIndex) error
- func (fake *FakeResource) BuildArgsForCall(i int) (resource.ArchiveIndex, resource.ArchiveIndex)
- func (fake *FakeResource) BuildCallCount() int
- func (fake *FakeResource) BuildCalls(stub func(resource.ArchiveIndex, resource.ArchiveIndex) error)
- func (fake *FakeResource) BuildReturns(result1 error)
- func (fake *FakeResource) BuildReturnsOnCall(i int, result1 error)
- func (fake *FakeResource) Finalize(arg1 resource.ArchiveIndex) error
- func (fake *FakeResource) FinalizeArgsForCall(i int) resource.ArchiveIndex
- func (fake *FakeResource) FinalizeCallCount() int
- func (fake *FakeResource) FinalizeCalls(stub func(resource.ArchiveIndex) error)
- 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) FingerprintCalls(stub func() string)
- 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) NameCalls(stub func() string)
- func (fake *FakeResource) NameReturns(result1 string)
- func (fake *FakeResource) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeResource) RehashWithCalculator(arg1 crypto.DigestCalculator, arg2 cryptoa.ArchiveDigestFilePathReader) (resource.Resource, error)
- func (fake *FakeResource) RehashWithCalculatorArgsForCall(i int) (crypto.DigestCalculator, cryptoa.ArchiveDigestFilePathReader)
- func (fake *FakeResource) RehashWithCalculatorCallCount() int
- func (fake *FakeResource) RehashWithCalculatorCalls(...)
- func (fake *FakeResource) RehashWithCalculatorReturns(result1 resource.Resource, result2 error)
- func (fake *FakeResource) RehashWithCalculatorReturnsOnCall(i int, result1 resource.Resource, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeArchive ¶
type FakeArchive struct { BuildStub func(string) (string, string, error) FingerprintStub func() (string, error) // contains filtered or unexported fields }
func (*FakeArchive) BuildArgsForCall ¶
func (fake *FakeArchive) BuildArgsForCall(i int) string
func (*FakeArchive) BuildCallCount ¶
func (fake *FakeArchive) BuildCallCount() int
func (*FakeArchive) BuildCalls ¶
func (fake *FakeArchive) BuildCalls(stub func(string) (string, string, error))
func (*FakeArchive) BuildReturns ¶
func (fake *FakeArchive) BuildReturns(result1 string, result2 string, result3 error)
func (*FakeArchive) BuildReturnsOnCall ¶
func (fake *FakeArchive) BuildReturnsOnCall(i int, 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) FingerprintCalls ¶
func (fake *FakeArchive) FingerprintCalls(stub func() (string, error))
func (*FakeArchive) FingerprintReturns ¶
func (fake *FakeArchive) FingerprintReturns(result1 string, result2 error)
func (*FakeArchive) FingerprintReturnsOnCall ¶
func (fake *FakeArchive) FingerprintReturnsOnCall(i int, result1 string, result2 error)
func (*FakeArchive) Invocations ¶
func (fake *FakeArchive) Invocations() map[string][][]interface{}
type FakeArchiveIndex ¶
type FakeArchiveIndex struct { AddStub func(string, string, string, string) (string, string, error) FindStub func(string, 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) AddReturnsOnCall ¶
func (fake *FakeArchiveIndex) AddReturnsOnCall(i int, 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) FindReturnsOnCall ¶
func (fake *FakeArchiveIndex) FindReturnsOnCall(i int, 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) CalculateCalls ¶
func (*FakeFingerprinter) CalculateReturns ¶
func (fake *FakeFingerprinter) CalculateReturns(result1 string, result2 error)
func (*FakeFingerprinter) CalculateReturnsOnCall ¶
func (fake *FakeFingerprinter) CalculateReturnsOnCall(i int, result1 string, result2 error)
func (*FakeFingerprinter) Invocations ¶
func (fake *FakeFingerprinter) Invocations() map[string][][]interface{}
type FakeResource ¶
type FakeResource struct { ArchiveDigestStub func() string ArchivePathStub func() string BuildStub func(resource.ArchiveIndex, resource.ArchiveIndex) error FinalizeStub func(resource.ArchiveIndex) error FingerprintStub func() string NameStub func() string RehashWithCalculatorStub func(crypto.DigestCalculator, cryptoa.ArchiveDigestFilePathReader) (resource.Resource, error) // contains filtered or unexported fields }
func (*FakeResource) ArchiveDigest ¶
func (fake *FakeResource) ArchiveDigest() string
func (*FakeResource) ArchiveDigestCallCount ¶
func (fake *FakeResource) ArchiveDigestCallCount() int
func (*FakeResource) ArchiveDigestCalls ¶
func (fake *FakeResource) ArchiveDigestCalls(stub func() string)
func (*FakeResource) ArchiveDigestReturns ¶
func (fake *FakeResource) ArchiveDigestReturns(result1 string)
func (*FakeResource) ArchiveDigestReturnsOnCall ¶
func (fake *FakeResource) ArchiveDigestReturnsOnCall(i int, result1 string)
func (*FakeResource) ArchivePath ¶
func (fake *FakeResource) ArchivePath() string
func (*FakeResource) ArchivePathCallCount ¶
func (fake *FakeResource) ArchivePathCallCount() int
func (*FakeResource) ArchivePathCalls ¶
func (fake *FakeResource) ArchivePathCalls(stub func() string)
func (*FakeResource) ArchivePathReturns ¶
func (fake *FakeResource) ArchivePathReturns(result1 string)
func (*FakeResource) ArchivePathReturnsOnCall ¶
func (fake *FakeResource) ArchivePathReturnsOnCall(i int, result1 string)
func (*FakeResource) Build ¶
func (fake *FakeResource) Build(arg1 resource.ArchiveIndex, arg2 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) BuildCalls ¶
func (fake *FakeResource) BuildCalls(stub func(resource.ArchiveIndex, resource.ArchiveIndex) error)
func (*FakeResource) BuildReturns ¶
func (fake *FakeResource) BuildReturns(result1 error)
func (*FakeResource) BuildReturnsOnCall ¶
func (fake *FakeResource) BuildReturnsOnCall(i int, result1 error)
func (*FakeResource) Finalize ¶
func (fake *FakeResource) Finalize(arg1 resource.ArchiveIndex) error
func (*FakeResource) FinalizeArgsForCall ¶
func (fake *FakeResource) FinalizeArgsForCall(i int) resource.ArchiveIndex
func (*FakeResource) FinalizeCallCount ¶
func (fake *FakeResource) FinalizeCallCount() int
func (*FakeResource) FinalizeCalls ¶
func (fake *FakeResource) FinalizeCalls(stub func(resource.ArchiveIndex) error)
func (*FakeResource) FinalizeReturns ¶
func (fake *FakeResource) FinalizeReturns(result1 error)
func (*FakeResource) FinalizeReturnsOnCall ¶
func (fake *FakeResource) FinalizeReturnsOnCall(i int, result1 error)
func (*FakeResource) Fingerprint ¶
func (fake *FakeResource) Fingerprint() string
func (*FakeResource) FingerprintCallCount ¶
func (fake *FakeResource) FingerprintCallCount() int
func (*FakeResource) FingerprintCalls ¶
func (fake *FakeResource) FingerprintCalls(stub func() string)
func (*FakeResource) FingerprintReturns ¶
func (fake *FakeResource) FingerprintReturns(result1 string)
func (*FakeResource) FingerprintReturnsOnCall ¶
func (fake *FakeResource) FingerprintReturnsOnCall(i int, 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) NameCalls ¶
func (fake *FakeResource) NameCalls(stub func() string)
func (*FakeResource) NameReturns ¶
func (fake *FakeResource) NameReturns(result1 string)
func (*FakeResource) NameReturnsOnCall ¶
func (fake *FakeResource) NameReturnsOnCall(i int, result1 string)
func (*FakeResource) RehashWithCalculator ¶
func (fake *FakeResource) RehashWithCalculator(arg1 crypto.DigestCalculator, arg2 cryptoa.ArchiveDigestFilePathReader) (resource.Resource, error)
func (*FakeResource) RehashWithCalculatorArgsForCall ¶
func (fake *FakeResource) RehashWithCalculatorArgsForCall(i int) (crypto.DigestCalculator, cryptoa.ArchiveDigestFilePathReader)
func (*FakeResource) RehashWithCalculatorCallCount ¶
func (fake *FakeResource) RehashWithCalculatorCallCount() int
func (*FakeResource) RehashWithCalculatorCalls ¶
func (fake *FakeResource) RehashWithCalculatorCalls(stub func(crypto.DigestCalculator, cryptoa.ArchiveDigestFilePathReader) (resource.Resource, error))
func (*FakeResource) RehashWithCalculatorReturns ¶
func (fake *FakeResource) RehashWithCalculatorReturns(result1 resource.Resource, result2 error)
func (*FakeResource) RehashWithCalculatorReturnsOnCall ¶
func (fake *FakeResource) RehashWithCalculatorReturnsOnCall(i int, result1 resource.Resource, result2 error)
Click to show internal directories.
Click to hide internal directories.