mock_clients

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_clients is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitHubClientFactory

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

MockGitHubClientFactory is a mock of GitHubClientFactory interface.

func NewMockGitHubClientFactory

func NewMockGitHubClientFactory(ctrl *gomock.Controller) *MockGitHubClientFactory

NewMockGitHubClientFactory creates a new mock instance.

func (*MockGitHubClientFactory) BuildAppClient

func (m *MockGitHubClientFactory) BuildAppClient(baseURL string, credential v1.GitHubCredential, appName string, userID int64, isOrg bool) (*github.Client, github0.Delegate, error)

BuildAppClient mocks base method.

func (*MockGitHubClientFactory) BuildOAuthClient

func (m *MockGitHubClientFactory) BuildOAuthClient(baseURL string, credential v1.GitHubCredential, owner string) (*github.Client, github0.Delegate, error)

BuildOAuthClient mocks base method.

func (*MockGitHubClientFactory) EXPECT

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

type MockGitHubClientFactoryMockRecorder

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

MockGitHubClientFactoryMockRecorder is the mock recorder for MockGitHubClientFactory.

func (*MockGitHubClientFactoryMockRecorder) BuildAppClient

func (mr *MockGitHubClientFactoryMockRecorder) BuildAppClient(baseURL, credential, appName, userID, isOrg any) *gomock.Call

BuildAppClient indicates an expected call of BuildAppClient.

func (*MockGitHubClientFactoryMockRecorder) BuildOAuthClient

func (mr *MockGitHubClientFactoryMockRecorder) BuildOAuthClient(baseURL, credential, owner any) *gomock.Call

BuildOAuthClient indicates an expected call of BuildOAuthClient.

Jump to

Keyboard shortcuts

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