mockgithubclient

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mockgithubclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitHubInterface

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

MockGitHubInterface is a mock of GitHubInterface interface.

func NewMockGitHubInterface

func NewMockGitHubInterface(ctrl *gomock.Controller) *MockGitHubInterface

NewMockGitHubInterface creates a new mock instance.

func (*MockGitHubInterface) EXPECT

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

func (*MockGitHubInterface) GetOrgMembership

func (m *MockGitHubInterface) GetOrgMembership(ctx context.Context) ([]string, error)

GetOrgMembership mocks base method.

func (*MockGitHubInterface) GetTeamMembership

func (m *MockGitHubInterface) GetTeamMembership(ctx context.Context, allowedOrganizations *setutil.CaseInsensitiveSet) ([]githubclient.TeamInfo, error)

GetTeamMembership mocks base method.

func (*MockGitHubInterface) GetUserInfo

func (m *MockGitHubInterface) GetUserInfo(ctx context.Context, retryOnUnauthorized bool) (*githubclient.UserInfo, error)

GetUserInfo mocks base method.

type MockGitHubInterfaceMockRecorder

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

MockGitHubInterfaceMockRecorder is the mock recorder for MockGitHubInterface.

func (*MockGitHubInterfaceMockRecorder) GetOrgMembership

func (mr *MockGitHubInterfaceMockRecorder) GetOrgMembership(ctx any) *gomock.Call

GetOrgMembership indicates an expected call of GetOrgMembership.

func (*MockGitHubInterfaceMockRecorder) GetTeamMembership

func (mr *MockGitHubInterfaceMockRecorder) GetTeamMembership(ctx, allowedOrganizations any) *gomock.Call

GetTeamMembership indicates an expected call of GetTeamMembership.

func (*MockGitHubInterfaceMockRecorder) GetUserInfo

func (mr *MockGitHubInterfaceMockRecorder) GetUserInfo(ctx, retryOnUnauthorized any) *gomock.Call

GetUserInfo indicates an expected call of GetUserInfo.

Jump to

Keyboard shortcuts

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