mock_github

package
v0.0.0-...-6cf12d6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_github is a generated GoMock package.

Index

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

Jump to

Keyboard shortcuts

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