Documentation ¶
Index ¶
- type StatClient
- type StatClient_Expecter
- type StatClient_GetRepoStats_Call
- func (_c *StatClient_GetRepoStats_Call) Return(_a0 []github.RepoStats, _a1 error) *StatClient_GetRepoStats_Call
- func (_c *StatClient_GetRepoStats_Call) Run(run func(_a0 context.Context, _a1 []string, _a2 []string)) *StatClient_GetRepoStats_Call
- func (_c *StatClient_GetRepoStats_Call) RunAndReturn(run func(context.Context, []string, []string) ([]github.RepoStats, error)) *StatClient_GetRepoStats_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatClient ¶ added in v0.2.1
StatClient is an autogenerated mock type for the StatClient type
func NewStatClient ¶ added in v0.2.1
func NewStatClient(t interface { mock.TestingT Cleanup(func()) }) *StatClient
NewStatClient creates a new instance of StatClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StatClient) EXPECT ¶ added in v0.2.1
func (_m *StatClient) EXPECT() *StatClient_Expecter
func (*StatClient) GetRepoStats ¶ added in v0.2.1
func (_m *StatClient) GetRepoStats(_a0 context.Context, _a1 []string, _a2 []string) ([]github.RepoStats, error)
GetRepoStats provides a mock function with given fields: _a0, _a1, _a2
type StatClient_Expecter ¶ added in v0.2.1
type StatClient_Expecter struct {
// contains filtered or unexported fields
}
func (*StatClient_Expecter) GetRepoStats ¶ added in v0.2.1
func (_e *StatClient_Expecter) GetRepoStats(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StatClient_GetRepoStats_Call
GetRepoStats is a helper method to define mock.On call
- _a0 context.Context
- _a1 []string
- _a2 []string
type StatClient_GetRepoStats_Call ¶ added in v0.2.1
StatClient_GetRepoStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoStats'
func (*StatClient_GetRepoStats_Call) Return ¶ added in v0.2.1
func (_c *StatClient_GetRepoStats_Call) Return(_a0 []github.RepoStats, _a1 error) *StatClient_GetRepoStats_Call
func (*StatClient_GetRepoStats_Call) Run ¶ added in v0.2.1
func (_c *StatClient_GetRepoStats_Call) Run(run func(_a0 context.Context, _a1 []string, _a2 []string)) *StatClient_GetRepoStats_Call
func (*StatClient_GetRepoStats_Call) RunAndReturn ¶ added in v0.2.1
func (_c *StatClient_GetRepoStats_Call) RunAndReturn(run func(context.Context, []string, []string) ([]github.RepoStats, error)) *StatClient_GetRepoStats_Call
Click to show internal directories.
Click to hide internal directories.