Documentation ¶
Overview ¶
Package mock_github is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetRepository(path string) (github.Repository, error)
- func (m *MockClient) GetRepositoryConributors(path string) ([]github.Contributor, error)
- func (m *MockClient) GetRepositoryStargazer(path string) ([]github.Stargazer, error)
- func (m *MockClient) GetRepositoryStargazerPage(path string, page int64) ([]github.Stargazer, error)
- func (m *MockClient) GetRequestCount() int64
- func (m *MockClient) GetUser(login string) (github.User, error)
- func (m *MockClient) GetUserOrganizations(login string) ([]github.Organization, error)
- func (m *MockClient) ResetRequestCount()
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetRepository(path interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRepositoryConributors(path interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRepositoryStargazer(path interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRepositoryStargazerPage(path, page interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRequestCount() *gomock.Call
- func (mr *MockClientMockRecorder) GetUser(login interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUserOrganizations(login interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ResetRequestCount() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetRepository ¶
func (m *MockClient) GetRepository(path string) (github.Repository, error)
GetRepository mocks base method
func (*MockClient) GetRepositoryConributors ¶
func (m *MockClient) GetRepositoryConributors(path string) ([]github.Contributor, error)
GetRepositoryConributors mocks base method
func (*MockClient) GetRepositoryStargazer ¶
func (m *MockClient) GetRepositoryStargazer(path string) ([]github.Stargazer, error)
GetRepositoryStargazer mocks base method
func (*MockClient) GetRepositoryStargazerPage ¶
func (m *MockClient) GetRepositoryStargazerPage(path string, page int64) ([]github.Stargazer, error)
GetRepositoryStargazerPage mocks base method
func (*MockClient) GetRequestCount ¶
func (m *MockClient) GetRequestCount() int64
GetRequestCount mocks base method
func (*MockClient) GetUser ¶
func (m *MockClient) GetUser(login string) (github.User, error)
GetUser mocks base method
func (*MockClient) GetUserOrganizations ¶
func (m *MockClient) GetUserOrganizations(login string) ([]github.Organization, error)
GetUserOrganizations mocks base method
func (*MockClient) ResetRequestCount ¶
func (m *MockClient) ResetRequestCount()
ResetRequestCount mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) GetRepository ¶
func (mr *MockClientMockRecorder) GetRepository(path interface{}) *gomock.Call
GetRepository indicates an expected call of GetRepository
func (*MockClientMockRecorder) GetRepositoryConributors ¶
func (mr *MockClientMockRecorder) GetRepositoryConributors(path interface{}) *gomock.Call
GetRepositoryConributors indicates an expected call of GetRepositoryConributors
func (*MockClientMockRecorder) GetRepositoryStargazer ¶
func (mr *MockClientMockRecorder) GetRepositoryStargazer(path interface{}) *gomock.Call
GetRepositoryStargazer indicates an expected call of GetRepositoryStargazer
func (*MockClientMockRecorder) GetRepositoryStargazerPage ¶
func (mr *MockClientMockRecorder) GetRepositoryStargazerPage(path, page interface{}) *gomock.Call
GetRepositoryStargazerPage indicates an expected call of GetRepositoryStargazerPage
func (*MockClientMockRecorder) GetRequestCount ¶
func (mr *MockClientMockRecorder) GetRequestCount() *gomock.Call
GetRequestCount indicates an expected call of GetRequestCount
func (*MockClientMockRecorder) GetUser ¶
func (mr *MockClientMockRecorder) GetUser(login interface{}) *gomock.Call
GetUser indicates an expected call of GetUser
func (*MockClientMockRecorder) GetUserOrganizations ¶
func (mr *MockClientMockRecorder) GetUserOrganizations(login interface{}) *gomock.Call
GetUserOrganizations indicates an expected call of GetUserOrganizations
func (*MockClientMockRecorder) ResetRequestCount ¶
func (mr *MockClientMockRecorder) ResetRequestCount() *gomock.Call
ResetRequestCount indicates an expected call of ResetRequestCount