mocks

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 4 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

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) AddDeployKeyToRepo added in v0.9.2

func (m *MockClient) AddDeployKeyToRepo(arg0 context.Context, arg1, arg2 string, arg3 *github.Key) error

AddDeployKeyToRepo mocks base method.

func (*MockClient) CreateRepo

func (m *MockClient) CreateRepo(arg0 context.Context, arg1 string, arg2 *github.Repository) (*github.Repository, *github.Response, error)

CreateRepo mocks base method.

func (*MockClient) DeleteRepo added in v0.6.0

func (m *MockClient) DeleteRepo(arg0 context.Context, arg1, arg2 string) (*github.Response, error)

DeleteRepo mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetContents

GetContents mocks base method.

func (*MockClient) Organization

func (m *MockClient) Organization(arg0 context.Context, arg1 string) (*github.Organization, *github.Response, error)

Organization mocks base method.

func (*MockClient) Repo

func (m *MockClient) Repo(arg0 context.Context, arg1, arg2 string) (*github.Repository, *github.Response, error)

Repo mocks base method.

func (*MockClient) User

func (m *MockClient) User(arg0 context.Context, arg1 string) (*github.User, *github.Response, error)

User mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddDeployKeyToRepo added in v0.9.2

func (mr *MockClientMockRecorder) AddDeployKeyToRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddDeployKeyToRepo indicates an expected call of AddDeployKeyToRepo.

func (*MockClientMockRecorder) CreateRepo

func (mr *MockClientMockRecorder) CreateRepo(arg0, arg1, arg2 interface{}) *gomock.Call

CreateRepo indicates an expected call of CreateRepo.

func (*MockClientMockRecorder) DeleteRepo added in v0.6.0

func (mr *MockClientMockRecorder) DeleteRepo(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteRepo indicates an expected call of DeleteRepo.

func (*MockClientMockRecorder) GetContents

func (mr *MockClientMockRecorder) GetContents(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetContents indicates an expected call of GetContents.

func (*MockClientMockRecorder) Organization

func (mr *MockClientMockRecorder) Organization(arg0, arg1 interface{}) *gomock.Call

Organization indicates an expected call of Organization.

func (*MockClientMockRecorder) Repo

func (mr *MockClientMockRecorder) Repo(arg0, arg1, arg2 interface{}) *gomock.Call

Repo indicates an expected call of Repo.

func (*MockClientMockRecorder) User

func (mr *MockClientMockRecorder) User(arg0, arg1 interface{}) *gomock.Call

User indicates an expected call of User.

Jump to

Keyboard shortcuts

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