mocks

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient added in v0.3.1

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient added in v0.3.1

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CreateOrgRepo added in v0.3.1

func (m *MockClient) CreateOrgRepo(org string, opt gitea.CreateRepoOption) (*gitea.Repository, *gitea.Response, error)

CreateOrgRepo mocks base method.

func (*MockClient) CreateRepo added in v0.3.1

CreateRepo mocks base method.

func (*MockClient) EXPECT added in v0.3.1

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) GetMyUserInfo added in v0.3.1

func (m *MockClient) GetMyUserInfo() (*gitea.User, *gitea.Response, error)

GetMyUserInfo mocks base method.

func (*MockClient) GetRepo added in v0.4.0

func (m *MockClient) GetRepo(owner, reponame string) (*gitea.Repository, *gitea.Response, error)

GetRepo mocks base method.

type MockClientMockRecorder added in v0.3.1

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateOrgRepo added in v0.3.1

func (mr *MockClientMockRecorder) CreateOrgRepo(org, opt interface{}) *gomock.Call

CreateOrgRepo indicates an expected call of CreateOrgRepo.

func (*MockClientMockRecorder) CreateRepo added in v0.3.1

func (mr *MockClientMockRecorder) CreateRepo(opt interface{}) *gomock.Call

CreateRepo indicates an expected call of CreateRepo.

func (*MockClientMockRecorder) GetMyUserInfo added in v0.3.1

func (mr *MockClientMockRecorder) GetMyUserInfo() *gomock.Call

GetMyUserInfo indicates an expected call of GetMyUserInfo.

func (*MockClientMockRecorder) GetRepo added in v0.4.0

func (mr *MockClientMockRecorder) GetRepo(owner, reponame interface{}) *gomock.Call

GetRepo indicates an expected call of GetRepo.

Jump to

Keyboard shortcuts

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