Documentation ¶
Overview ¶
Package mock_clients is a generated GoMock package.
Index ¶
- type MockGitHubClientFactory
- func (m *MockGitHubClientFactory) BuildAppClient(baseURL string, credential v1.GitHubCredential, appName string, userID int64, ...) (*github.Client, github0.Delegate, error)
- func (m *MockGitHubClientFactory) BuildOAuthClient(baseURL string, credential v1.GitHubCredential, owner string) (*github.Client, github0.Delegate, error)
- func (m *MockGitHubClientFactory) EXPECT() *MockGitHubClientFactoryMockRecorder
- type MockGitHubClientFactoryMockRecorder
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 ¶
func (m *MockGitHubClientFactory) EXPECT() *MockGitHubClientFactoryMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.