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 BuildInfoMetrics
- func (fake *BuildInfoMetrics) Invocations() map[string][][]interface{}
- func (fake *BuildInfoMetrics) SetBuildInfo(arg1 *time.DateTime)
- func (fake *BuildInfoMetrics) SetBuildInfoArgsForCall(i int) *time.DateTime
- func (fake *BuildInfoMetrics) SetBuildInfoCallCount() int
- func (fake *BuildInfoMetrics) SetBuildInfoCalls(stub func(*time.DateTime))
- type FakeGit
- func (fake *FakeGit) DeleteFile(arg1 context.Context, arg2 string) error
- func (fake *FakeGit) DeleteFileArgsForCall(i int) (context.Context, string)
- func (fake *FakeGit) DeleteFileCallCount() int
- func (fake *FakeGit) DeleteFileCalls(stub func(context.Context, string) error)
- func (fake *FakeGit) DeleteFileReturns(result1 error)
- func (fake *FakeGit) DeleteFileReturnsOnCall(i int, result1 error)
- func (fake *FakeGit) Invocations() map[string][][]interface{}
- func (fake *FakeGit) ListFiles(arg1 context.Context, arg2 string) ([]string, error)
- func (fake *FakeGit) ListFilesArgsForCall(i int) (context.Context, string)
- func (fake *FakeGit) ListFilesCallCount() int
- func (fake *FakeGit) ListFilesCalls(stub func(context.Context, string) ([]string, error))
- func (fake *FakeGit) ListFilesReturns(result1 []string, result2 error)
- func (fake *FakeGit) ListFilesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeGit) Pull(arg1 context.Context) error
- func (fake *FakeGit) PullArgsForCall(i int) context.Context
- func (fake *FakeGit) PullCallCount() int
- func (fake *FakeGit) PullCalls(stub func(context.Context) error)
- func (fake *FakeGit) PullReturns(result1 error)
- func (fake *FakeGit) PullReturnsOnCall(i int, result1 error)
- func (fake *FakeGit) ReadFile(arg1 context.Context, arg2 string) ([]byte, error)
- func (fake *FakeGit) ReadFileArgsForCall(i int) (context.Context, string)
- func (fake *FakeGit) ReadFileCallCount() int
- func (fake *FakeGit) ReadFileCalls(stub func(context.Context, string) ([]byte, error))
- func (fake *FakeGit) ReadFileReturns(result1 []byte, result2 error)
- func (fake *FakeGit) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeGit) Status(arg1 context.Context) (git.Status, error)
- func (fake *FakeGit) StatusArgsForCall(i int) context.Context
- func (fake *FakeGit) StatusCallCount() int
- func (fake *FakeGit) StatusCalls(stub func(context.Context) (git.Status, error))
- func (fake *FakeGit) StatusReturns(result1 git.Status, result2 error)
- func (fake *FakeGit) StatusReturnsOnCall(i int, result1 git.Status, result2 error)
- func (fake *FakeGit) WriteFile(arg1 context.Context, arg2 string, arg3 []byte) error
- func (fake *FakeGit) WriteFileArgsForCall(i int) (context.Context, string, []byte)
- func (fake *FakeGit) WriteFileCallCount() int
- func (fake *FakeGit) WriteFileCalls(stub func(context.Context, string, []byte) error)
- func (fake *FakeGit) WriteFileReturns(result1 error)
- func (fake *FakeGit) WriteFileReturnsOnCall(i int, result1 error)
- type FakeMetrics
- func (fake *FakeMetrics) IncGitOperationError(arg1 string)
- func (fake *FakeMetrics) IncGitOperationErrorArgsForCall(i int) string
- func (fake *FakeMetrics) IncGitOperationErrorCallCount() int
- func (fake *FakeMetrics) IncGitOperationErrorCalls(stub func(string))
- func (fake *FakeMetrics) IncHTTPRequest(arg1 string, arg2 string, arg3 string)
- func (fake *FakeMetrics) IncHTTPRequestArgsForCall(i int) (string, string, string)
- func (fake *FakeMetrics) IncHTTPRequestCallCount() int
- func (fake *FakeMetrics) IncHTTPRequestCalls(stub func(string, string, string))
- func (fake *FakeMetrics) Invocations() map[string][][]interface{}
- func (fake *FakeMetrics) ObserveGitOperation(arg1 string, arg2 float64)
- func (fake *FakeMetrics) ObserveGitOperationArgsForCall(i int) (string, float64)
- func (fake *FakeMetrics) ObserveGitOperationCallCount() int
- func (fake *FakeMetrics) ObserveGitOperationCalls(stub func(string, float64))
- type FakePuller
- func (fake *FakePuller) Invocations() map[string][][]interface{}
- func (fake *FakePuller) Run(arg1 context.Context) error
- func (fake *FakePuller) RunArgsForCall(i int) context.Context
- func (fake *FakePuller) RunCallCount() int
- func (fake *FakePuller) RunCalls(stub func(context.Context) error)
- func (fake *FakePuller) RunReturns(result1 error)
- func (fake *FakePuller) RunReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfoMetrics ¶ added in v0.6.4
type BuildInfoMetrics struct {
SetBuildInfoStub func(*time.DateTime)
// contains filtered or unexported fields
}
func (*BuildInfoMetrics) Invocations ¶ added in v0.6.4
func (fake *BuildInfoMetrics) Invocations() map[string][][]interface{}
func (*BuildInfoMetrics) SetBuildInfo ¶ added in v0.6.4
func (fake *BuildInfoMetrics) SetBuildInfo(arg1 *time.DateTime)
func (*BuildInfoMetrics) SetBuildInfoArgsForCall ¶ added in v0.6.4
func (fake *BuildInfoMetrics) SetBuildInfoArgsForCall(i int) *time.DateTime
func (*BuildInfoMetrics) SetBuildInfoCallCount ¶ added in v0.6.4
func (fake *BuildInfoMetrics) SetBuildInfoCallCount() int
func (*BuildInfoMetrics) SetBuildInfoCalls ¶ added in v0.6.4
func (fake *BuildInfoMetrics) SetBuildInfoCalls(stub func(*time.DateTime))
type FakeGit ¶
type FakeGit struct {
DeleteFileStub func(context.Context, string) error
ListFilesStub func(context.Context, string) ([]string, error)
PullStub func(context.Context) error
ReadFileStub func(context.Context, string) ([]byte, error)
StatusStub func(context.Context) (git.Status, error)
WriteFileStub func(context.Context, string, []byte) error
// contains filtered or unexported fields
}
func (*FakeGit) DeleteFile ¶
func (*FakeGit) DeleteFileArgsForCall ¶
func (*FakeGit) DeleteFileCallCount ¶
func (*FakeGit) DeleteFileCalls ¶
func (*FakeGit) DeleteFileReturns ¶
func (*FakeGit) DeleteFileReturnsOnCall ¶
func (*FakeGit) Invocations ¶
func (*FakeGit) ListFilesArgsForCall ¶
func (*FakeGit) ListFilesCallCount ¶
func (*FakeGit) ListFilesCalls ¶
func (*FakeGit) ListFilesReturns ¶
func (*FakeGit) ListFilesReturnsOnCall ¶
func (*FakeGit) PullCallCount ¶
func (*FakeGit) PullReturns ¶
func (*FakeGit) PullReturnsOnCall ¶
func (*FakeGit) ReadFileArgsForCall ¶
func (*FakeGit) ReadFileCallCount ¶
func (*FakeGit) ReadFileCalls ¶
func (*FakeGit) ReadFileReturns ¶
func (*FakeGit) ReadFileReturnsOnCall ¶
func (*FakeGit) StatusCallCount ¶
func (*FakeGit) StatusCalls ¶
func (*FakeGit) StatusReturns ¶
func (*FakeGit) StatusReturnsOnCall ¶
func (*FakeGit) WriteFileArgsForCall ¶
func (*FakeGit) WriteFileCallCount ¶
func (*FakeGit) WriteFileCalls ¶
func (*FakeGit) WriteFileReturns ¶
func (*FakeGit) WriteFileReturnsOnCall ¶
type FakeMetrics ¶ added in v0.6.4
type FakeMetrics struct {
IncGitOperationErrorStub func(string)
IncHTTPRequestStub func(string, string, string)
ObserveGitOperationStub func(string, float64)
// contains filtered or unexported fields
}
func (*FakeMetrics) IncGitOperationError ¶ added in v0.6.4
func (fake *FakeMetrics) IncGitOperationError(arg1 string)
func (*FakeMetrics) IncGitOperationErrorArgsForCall ¶ added in v0.6.4
func (fake *FakeMetrics) IncGitOperationErrorArgsForCall(i int) string
func (*FakeMetrics) IncGitOperationErrorCallCount ¶ added in v0.6.4
func (fake *FakeMetrics) IncGitOperationErrorCallCount() int
func (*FakeMetrics) IncGitOperationErrorCalls ¶ added in v0.6.4
func (fake *FakeMetrics) IncGitOperationErrorCalls(stub func(string))
func (*FakeMetrics) IncHTTPRequest ¶ added in v0.6.4
func (fake *FakeMetrics) IncHTTPRequest(arg1 string, arg2 string, arg3 string)
func (*FakeMetrics) IncHTTPRequestArgsForCall ¶ added in v0.6.4
func (fake *FakeMetrics) IncHTTPRequestArgsForCall(i int) (string, string, string)
func (*FakeMetrics) IncHTTPRequestCallCount ¶ added in v0.6.4
func (fake *FakeMetrics) IncHTTPRequestCallCount() int
func (*FakeMetrics) IncHTTPRequestCalls ¶ added in v0.6.4
func (fake *FakeMetrics) IncHTTPRequestCalls(stub func(string, string, string))
func (*FakeMetrics) Invocations ¶ added in v0.6.4
func (fake *FakeMetrics) Invocations() map[string][][]interface{}
func (*FakeMetrics) ObserveGitOperation ¶ added in v0.6.4
func (fake *FakeMetrics) ObserveGitOperation(arg1 string, arg2 float64)
func (*FakeMetrics) ObserveGitOperationArgsForCall ¶ added in v0.6.4
func (fake *FakeMetrics) ObserveGitOperationArgsForCall(i int) (string, float64)
func (*FakeMetrics) ObserveGitOperationCallCount ¶ added in v0.6.4
func (fake *FakeMetrics) ObserveGitOperationCallCount() int
func (*FakeMetrics) ObserveGitOperationCalls ¶ added in v0.6.4
func (fake *FakeMetrics) ObserveGitOperationCalls(stub func(string, float64))
type FakePuller ¶ added in v0.5.5
type FakePuller struct {
RunStub func(context.Context) error
// contains filtered or unexported fields
}
func (*FakePuller) Invocations ¶ added in v0.5.5
func (fake *FakePuller) Invocations() map[string][][]interface{}
func (*FakePuller) RunArgsForCall ¶ added in v0.5.5
func (fake *FakePuller) RunArgsForCall(i int) context.Context
func (*FakePuller) RunCallCount ¶ added in v0.5.5
func (fake *FakePuller) RunCallCount() int
func (*FakePuller) RunCalls ¶ added in v0.5.5
func (fake *FakePuller) RunCalls(stub func(context.Context) error)
func (*FakePuller) RunReturns ¶ added in v0.5.5
func (fake *FakePuller) RunReturns(result1 error)
func (*FakePuller) RunReturnsOnCall ¶ added in v0.5.5
func (fake *FakePuller) RunReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.