Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeSource
- func (fake *FakeSource) CallOrder() []string
- func (fake *FakeSource) CommitAt(arg1 string, arg2 time.Time) (string, error)
- func (fake *FakeSource) CommitAtArgs() []FakeSourceCommitAtArgs
- func (fake *FakeSource) CommitAtArgsForCall(i int) (string, time.Time)
- func (fake *FakeSource) CommitAtCallCount() int
- func (fake *FakeSource) CommitAtCalls(stub func(string, time.Time) (string, error))
- func (fake *FakeSource) CommitAtReturns(result1 string, result2 error)
- func (fake *FakeSource) CommitAtReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeSource) File(arg1 string, arg2 string, arg3 string) (string, bool, error)
- func (fake *FakeSource) FileArgs() []FakeSourceFileArgs
- func (fake *FakeSource) FileArgsForCall(i int) (string, string, string)
- func (fake *FakeSource) FileCallCount() int
- func (fake *FakeSource) FileCalls(stub func(string, string, string) (string, bool, error))
- func (fake *FakeSource) FileReturns(result1 string, result2 bool, result3 error)
- func (fake *FakeSource) FileReturnsOnCall(i int, result1 string, result2 bool, result3 error)
- func (fake *FakeSource) FlaggedLatest(arg1 string) (source.Release, error)
- func (fake *FakeSource) FlaggedLatestArgs() []FakeSourceFlaggedLatestArgs
- func (fake *FakeSource) FlaggedLatestArgsForCall(i int) string
- func (fake *FakeSource) FlaggedLatestCallCount() int
- func (fake *FakeSource) FlaggedLatestCalls(stub func(string) (source.Release, error))
- func (fake *FakeSource) FlaggedLatestReturns(result1 source.Release, result2 error)
- func (fake *FakeSource) FlaggedLatestReturnsOnCall(i int, result1 source.Release, result2 error)
- func (fake *FakeSource) GetJSON(arg1 string) (map[string]any, error)
- func (fake *FakeSource) GetJSONArgs() []FakeSourceGetJSONArgs
- func (fake *FakeSource) GetJSONArgsForCall(i int) string
- func (fake *FakeSource) GetJSONCallCount() int
- func (fake *FakeSource) GetJSONCalls(stub func(string) (map[string]any, error))
- func (fake *FakeSource) GetJSONReturns(result1 map[string]any, result2 error)
- func (fake *FakeSource) GetJSONReturnsOnCall(i int, result1 map[string]any, result2 error)
- func (fake *FakeSource) Invocations() map[string][][]interface{}
- func (fake *FakeSource) PathHistory(arg1 string, arg2 string, arg3 time.Time) ([]source.Commit, error)
- func (fake *FakeSource) PathHistoryArgs() []FakeSourcePathHistoryArgs
- func (fake *FakeSource) PathHistoryArgsForCall(i int) (string, string, time.Time)
- func (fake *FakeSource) PathHistoryCallCount() int
- func (fake *FakeSource) PathHistoryCalls(stub func(string, string, time.Time) ([]source.Commit, error))
- func (fake *FakeSource) PathHistoryReturns(result1 []source.Commit, result2 error)
- func (fake *FakeSource) PathHistoryReturnsOnCall(i int, result1 []source.Commit, result2 error)
- func (fake *FakeSource) Releases(arg1 string, arg2 string) ([]source.Release, error)
- func (fake *FakeSource) ReleasesArgs() []FakeSourceReleasesArgs
- func (fake *FakeSource) ReleasesArgsForCall(i int) (string, string)
- func (fake *FakeSource) ReleasesCallCount() int
- func (fake *FakeSource) ReleasesCalls(stub func(string, string) ([]source.Release, error))
- func (fake *FakeSource) ReleasesReturns(result1 []source.Release, result2 error)
- func (fake *FakeSource) ReleasesReturnsOnCall(i int, result1 []source.Release, result2 error)
- func (fake *FakeSource) TagCommit(arg1 string, arg2 string) (string, error)
- func (fake *FakeSource) TagCommitArgs() []FakeSourceTagCommitArgs
- func (fake *FakeSource) TagCommitArgsForCall(i int) (string, string)
- func (fake *FakeSource) TagCommitCallCount() int
- func (fake *FakeSource) TagCommitCalls(stub func(string, string) (string, error))
- func (fake *FakeSource) TagCommitReturns(result1 string, result2 error)
- func (fake *FakeSource) TagCommitReturnsOnCall(i int, result1 string, result2 error)
- type FakeSourceCommitAtArgs
- type FakeSourceFileArgs
- type FakeSourceFlaggedLatestArgs
- type FakeSourceGetJSONArgs
- type FakeSourcePathHistoryArgs
- type FakeSourceReleasesArgs
- type FakeSourceTagCommitArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSource ¶
type FakeSource struct {
CommitAtStub func(string, time.Time) (string, error)
FileStub func(string, string, string) (string, bool, error)
FlaggedLatestStub func(string) (source.Release, error)
GetJSONStub func(string) (map[string]any, error)
PathHistoryStub func(string, string, time.Time) ([]source.Commit, error)
ReleasesStub func(string, string) ([]source.Release, error)
TagCommitStub func(string, string) (string, error)
// contains filtered or unexported fields
}
func (*FakeSource) CallOrder ¶
func (fake *FakeSource) CallOrder() []string
func (*FakeSource) CommitAtArgs ¶
func (fake *FakeSource) CommitAtArgs() []FakeSourceCommitAtArgs
func (*FakeSource) CommitAtArgsForCall ¶
func (fake *FakeSource) CommitAtArgsForCall(i int) (string, time.Time)
func (*FakeSource) CommitAtCallCount ¶
func (fake *FakeSource) CommitAtCallCount() int
func (*FakeSource) CommitAtCalls ¶
func (*FakeSource) CommitAtReturns ¶
func (fake *FakeSource) CommitAtReturns(result1 string, result2 error)
func (*FakeSource) CommitAtReturnsOnCall ¶
func (fake *FakeSource) CommitAtReturnsOnCall(i int, result1 string, result2 error)
func (*FakeSource) FileArgs ¶
func (fake *FakeSource) FileArgs() []FakeSourceFileArgs
func (*FakeSource) FileArgsForCall ¶
func (fake *FakeSource) FileArgsForCall(i int) (string, string, string)
func (*FakeSource) FileCallCount ¶
func (fake *FakeSource) FileCallCount() int
func (*FakeSource) FileReturns ¶
func (fake *FakeSource) FileReturns(result1 string, result2 bool, result3 error)
func (*FakeSource) FileReturnsOnCall ¶
func (fake *FakeSource) FileReturnsOnCall(i int, result1 string, result2 bool, result3 error)
func (*FakeSource) FlaggedLatest ¶
func (fake *FakeSource) FlaggedLatest(arg1 string) (source.Release, error)
func (*FakeSource) FlaggedLatestArgs ¶
func (fake *FakeSource) FlaggedLatestArgs() []FakeSourceFlaggedLatestArgs
func (*FakeSource) FlaggedLatestArgsForCall ¶
func (fake *FakeSource) FlaggedLatestArgsForCall(i int) string
func (*FakeSource) FlaggedLatestCallCount ¶
func (fake *FakeSource) FlaggedLatestCallCount() int
func (*FakeSource) FlaggedLatestCalls ¶
func (fake *FakeSource) FlaggedLatestCalls(stub func(string) (source.Release, error))
func (*FakeSource) FlaggedLatestReturns ¶
func (fake *FakeSource) FlaggedLatestReturns(result1 source.Release, result2 error)
func (*FakeSource) FlaggedLatestReturnsOnCall ¶
func (fake *FakeSource) FlaggedLatestReturnsOnCall(i int, result1 source.Release, result2 error)
func (*FakeSource) GetJSONArgs ¶
func (fake *FakeSource) GetJSONArgs() []FakeSourceGetJSONArgs
func (*FakeSource) GetJSONArgsForCall ¶
func (fake *FakeSource) GetJSONArgsForCall(i int) string
func (*FakeSource) GetJSONCallCount ¶
func (fake *FakeSource) GetJSONCallCount() int
func (*FakeSource) GetJSONCalls ¶
func (fake *FakeSource) GetJSONCalls(stub func(string) (map[string]any, error))
func (*FakeSource) GetJSONReturns ¶
func (fake *FakeSource) GetJSONReturns(result1 map[string]any, result2 error)
func (*FakeSource) GetJSONReturnsOnCall ¶
func (fake *FakeSource) GetJSONReturnsOnCall(i int, result1 map[string]any, result2 error)
func (*FakeSource) Invocations ¶
func (fake *FakeSource) Invocations() map[string][][]interface{}
func (*FakeSource) PathHistory ¶
func (*FakeSource) PathHistoryArgs ¶
func (fake *FakeSource) PathHistoryArgs() []FakeSourcePathHistoryArgs
func (*FakeSource) PathHistoryArgsForCall ¶
func (*FakeSource) PathHistoryCallCount ¶
func (fake *FakeSource) PathHistoryCallCount() int
func (*FakeSource) PathHistoryCalls ¶
func (*FakeSource) PathHistoryReturns ¶
func (fake *FakeSource) PathHistoryReturns(result1 []source.Commit, result2 error)
func (*FakeSource) PathHistoryReturnsOnCall ¶
func (fake *FakeSource) PathHistoryReturnsOnCall(i int, result1 []source.Commit, result2 error)
func (*FakeSource) ReleasesArgs ¶
func (fake *FakeSource) ReleasesArgs() []FakeSourceReleasesArgs
func (*FakeSource) ReleasesArgsForCall ¶
func (fake *FakeSource) ReleasesArgsForCall(i int) (string, string)
func (*FakeSource) ReleasesCallCount ¶
func (fake *FakeSource) ReleasesCallCount() int
func (*FakeSource) ReleasesCalls ¶
func (*FakeSource) ReleasesReturns ¶
func (fake *FakeSource) ReleasesReturns(result1 []source.Release, result2 error)
func (*FakeSource) ReleasesReturnsOnCall ¶
func (fake *FakeSource) ReleasesReturnsOnCall(i int, result1 []source.Release, result2 error)
func (*FakeSource) TagCommit ¶
func (fake *FakeSource) TagCommit(arg1 string, arg2 string) (string, error)
func (*FakeSource) TagCommitArgs ¶
func (fake *FakeSource) TagCommitArgs() []FakeSourceTagCommitArgs
func (*FakeSource) TagCommitArgsForCall ¶
func (fake *FakeSource) TagCommitArgsForCall(i int) (string, string)
func (*FakeSource) TagCommitCallCount ¶
func (fake *FakeSource) TagCommitCallCount() int
func (*FakeSource) TagCommitCalls ¶
func (fake *FakeSource) TagCommitCalls(stub func(string, string) (string, error))
func (*FakeSource) TagCommitReturns ¶
func (fake *FakeSource) TagCommitReturns(result1 string, result2 error)
func (*FakeSource) TagCommitReturnsOnCall ¶
func (fake *FakeSource) TagCommitReturnsOnCall(i int, result1 string, result2 error)
type FakeSourceCommitAtArgs ¶
FakeSourceCommitAtArgs holds the arguments of one call to CommitAt.
type FakeSourceFileArgs ¶
FakeSourceFileArgs holds the arguments of one call to File.
type FakeSourceFlaggedLatestArgs ¶
type FakeSourceFlaggedLatestArgs struct {
Arg1 string
}
FakeSourceFlaggedLatestArgs holds the arguments of one call to FlaggedLatest.
type FakeSourceGetJSONArgs ¶
type FakeSourceGetJSONArgs struct {
Arg1 string
}
FakeSourceGetJSONArgs holds the arguments of one call to GetJSON.
type FakeSourcePathHistoryArgs ¶
FakeSourcePathHistoryArgs holds the arguments of one call to PathHistory.
type FakeSourceReleasesArgs ¶
FakeSourceReleasesArgs holds the arguments of one call to Releases.
type FakeSourceTagCommitArgs ¶
FakeSourceTagCommitArgs holds the arguments of one call to TagCommit.
Click to show internal directories.
Click to hide internal directories.