mocks

package
v0.25.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 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(ctx context.Context, opts git.AddDeployKeyOpts) error

AddDeployKeyToRepo mocks base method.

func (*MockGithubClient) AuthenticatedUser added in v0.9.0

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

AuthenticatedUser mocks base method.

func (*MockGithubClient) CheckAccessTokenPermissions added in v0.9.0

func (m *MockGithubClient) CheckAccessTokenPermissions(checkPATPermission, allPermissionScopes string) error

CheckAccessTokenPermissions mocks base method.

func (*MockGithubClient) CreateRepo added in v0.9.0

func (m *MockGithubClient) CreateRepo(ctx context.Context, opts git.CreateRepoOpts) (*git.Repository, error)

CreateRepo mocks base method.

func (*MockGithubClient) DeleteRepo added in v0.9.0

func (m *MockGithubClient) DeleteRepo(ctx context.Context, opts 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(accessToken string) (string, error)

GetAccessTokenPermissions mocks base method.

func (*MockGithubClient) GetRepo added in v0.9.0

func (m *MockGithubClient) GetRepo(ctx context.Context, opts git.GetRepoOpts) (*git.Repository, error)

GetRepo mocks base method.

func (*MockGithubClient) Organization added in v0.9.0

func (m *MockGithubClient) Organization(ctx context.Context, org string) (*github.Organization, error)

Organization mocks base method.

func (*MockGithubClient) PathExists added in v0.9.0

func (m *MockGithubClient) PathExists(ctx context.Context, owner, repo, branch, path 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(ctx, opts any) *gomock.Call

AddDeployKeyToRepo indicates an expected call of AddDeployKeyToRepo.

func (*MockGithubClientMockRecorder) AuthenticatedUser added in v0.9.0

func (mr *MockGithubClientMockRecorder) AuthenticatedUser(ctx any) *gomock.Call

AuthenticatedUser indicates an expected call of AuthenticatedUser.

func (*MockGithubClientMockRecorder) CheckAccessTokenPermissions added in v0.9.0

func (mr *MockGithubClientMockRecorder) CheckAccessTokenPermissions(checkPATPermission, allPermissionScopes any) *gomock.Call

CheckAccessTokenPermissions indicates an expected call of CheckAccessTokenPermissions.

func (*MockGithubClientMockRecorder) CreateRepo added in v0.9.0

func (mr *MockGithubClientMockRecorder) CreateRepo(ctx, opts any) *gomock.Call

CreateRepo indicates an expected call of CreateRepo.

func (*MockGithubClientMockRecorder) DeleteRepo added in v0.9.0

func (mr *MockGithubClientMockRecorder) DeleteRepo(ctx, opts any) *gomock.Call

DeleteRepo indicates an expected call of DeleteRepo.

func (*MockGithubClientMockRecorder) GetAccessTokenPermissions added in v0.9.0

func (mr *MockGithubClientMockRecorder) GetAccessTokenPermissions(accessToken any) *gomock.Call

GetAccessTokenPermissions indicates an expected call of GetAccessTokenPermissions.

func (*MockGithubClientMockRecorder) GetRepo added in v0.9.0

func (mr *MockGithubClientMockRecorder) GetRepo(ctx, opts any) *gomock.Call

GetRepo indicates an expected call of GetRepo.

func (*MockGithubClientMockRecorder) Organization added in v0.9.0

func (mr *MockGithubClientMockRecorder) Organization(ctx, org any) *gomock.Call

Organization indicates an expected call of Organization.

func (*MockGithubClientMockRecorder) PathExists added in v0.9.0

func (mr *MockGithubClientMockRecorder) PathExists(ctx, owner, repo, branch, path any) *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