mocks

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 5 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 MockGithubClient added in v0.9.0

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

MockGithubClient is a mock of GithubClient interface.

func NewMockGithubClient added in v0.9.0

func NewMockGithubClient(ctrl *gomock.Controller) *MockGithubClient

NewMockGithubClient creates a new mock instance.

func (*MockGithubClient) AddDeployKeyToRepo added in v0.9.2

func (m *MockGithubClient) AddDeployKeyToRepo(arg0 context.Context, arg1 git.AddDeployKeyOpts) error

AddDeployKeyToRepo mocks base method.

func (*MockGithubClient) AuthenticatedUser added in v0.9.0

func (m *MockGithubClient) AuthenticatedUser(arg0 context.Context) (*github.User, error)

AuthenticatedUser mocks base method.

func (*MockGithubClient) CheckAccessTokenPermissions added in v0.9.0

func (m *MockGithubClient) CheckAccessTokenPermissions(arg0, arg1 string) error

CheckAccessTokenPermissions mocks base method.

func (*MockGithubClient) CreateRepo added in v0.9.0

func (m *MockGithubClient) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)

CreateRepo mocks base method.

func (*MockGithubClient) DeleteRepo added in v0.9.0

func (m *MockGithubClient) DeleteRepo(arg0 context.Context, arg1 git.DeleteRepoOpts) error

DeleteRepo mocks base method.

func (*MockGithubClient) EXPECT added in v0.9.0

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

func (*MockGithubClient) GetAccessTokenPermissions added in v0.9.0

func (m *MockGithubClient) GetAccessTokenPermissions(arg0 string) (string, error)

GetAccessTokenPermissions mocks base method.

func (*MockGithubClient) GetRepo added in v0.9.0

func (m *MockGithubClient) GetRepo(arg0 context.Context, arg1 git.GetRepoOpts) (*git.Repository, error)

GetRepo mocks base method.

func (*MockGithubClient) Organization added in v0.9.0

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

Organization mocks base method.

func (*MockGithubClient) PathExists added in v0.9.0

func (m *MockGithubClient) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)

PathExists mocks base method.

type MockGithubClientMockRecorder added in v0.9.0

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

MockGithubClientMockRecorder is the mock recorder for MockGithubClient.

func (*MockGithubClientMockRecorder) AddDeployKeyToRepo added in v0.9.2

func (mr *MockGithubClientMockRecorder) AddDeployKeyToRepo(arg0, arg1 interface{}) *gomock.Call

AddDeployKeyToRepo indicates an expected call of AddDeployKeyToRepo.

func (*MockGithubClientMockRecorder) AuthenticatedUser added in v0.9.0

func (mr *MockGithubClientMockRecorder) AuthenticatedUser(arg0 interface{}) *gomock.Call

AuthenticatedUser indicates an expected call of AuthenticatedUser.

func (*MockGithubClientMockRecorder) CheckAccessTokenPermissions added in v0.9.0

func (mr *MockGithubClientMockRecorder) CheckAccessTokenPermissions(arg0, arg1 interface{}) *gomock.Call

CheckAccessTokenPermissions indicates an expected call of CheckAccessTokenPermissions.

func (*MockGithubClientMockRecorder) CreateRepo added in v0.9.0

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

CreateRepo indicates an expected call of CreateRepo.

func (*MockGithubClientMockRecorder) DeleteRepo added in v0.9.0

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

DeleteRepo indicates an expected call of DeleteRepo.

func (*MockGithubClientMockRecorder) GetAccessTokenPermissions added in v0.9.0

func (mr *MockGithubClientMockRecorder) GetAccessTokenPermissions(arg0 interface{}) *gomock.Call

GetAccessTokenPermissions indicates an expected call of GetAccessTokenPermissions.

func (*MockGithubClientMockRecorder) GetRepo added in v0.9.0

func (mr *MockGithubClientMockRecorder) GetRepo(arg0, arg1 interface{}) *gomock.Call

GetRepo indicates an expected call of GetRepo.

func (*MockGithubClientMockRecorder) Organization added in v0.9.0

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

Organization indicates an expected call of Organization.

func (*MockGithubClientMockRecorder) PathExists added in v0.9.0

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

PathExists indicates an expected call of PathExists.

Jump to

Keyboard shortcuts

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