mocks

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatClient added in v0.2.1

type StatClient struct {
	mock.Mock
}

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

type StatClient_GetRepoStats_Call struct {
	*mock.Call
}

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 (*StatClient_GetRepoStats_Call) Run added in v0.2.1

func (*StatClient_GetRepoStats_Call) RunAndReturn added in v0.2.1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL