mock_gitprovider

package
v1.12.15-0...-edc2ec3 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_gitprovider is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHttpClient

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

MockHttpClient is a mock of HttpClient interface

func NewMockHttpClient

func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient

NewMockHttpClient creates a new mock instance

func (*MockHttpClient) Do

func (m *MockHttpClient) Do(req *http.Request) (*http.Response, error)

Do mocks base method

func (*MockHttpClient) EXPECT

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

type MockHttpClientMockRecorder

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

MockHttpClientMockRecorder is the mock recorder for MockHttpClient

func (*MockHttpClientMockRecorder) Do

func (mr *MockHttpClientMockRecorder) Do(req interface{}) *gomock.Call

Do indicates an expected call of Do

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) Close

func (m *MockService) Close(b glow.Branch) error

Close mocks base method

func (*MockService) DetectCICDOrigin

func (m *MockService) DetectCICDOrigin() (string, error)

DetectCICDOrigin mocks base method

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetCIBranch

func (m *MockService) GetCIBranch() (glow.Branch, error)

GetCIBranch mocks base method

func (*MockService) GitService

func (m *MockService) GitService() git.Service

GitService mocks base method

func (*MockService) HTTPClient

func (m *MockService) HTTPClient() gitprovider.HttpClient

HTTPClient mocks base method

func (*MockService) Publish

func (m *MockService) Publish(b glow.Branch) error

Publish mocks base method

func (*MockService) SetGitService

func (m *MockService) SetGitService(arg0 git.Service)

SetGitService mocks base method

func (*MockService) SetHTTPClient

func (m *MockService) SetHTTPClient(arg0 gitprovider.HttpClient)

SetHTTPClient mocks base method

type MockServiceInterface

type MockServiceInterface interface {
	EXPECT() *MockServiceMockRecorder
}

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Close

func (mr *MockServiceMockRecorder) Close(b interface{}) *gomock.Call

Close indicates an expected call of Close

func (*MockServiceMockRecorder) DetectCICDOrigin

func (mr *MockServiceMockRecorder) DetectCICDOrigin() *gomock.Call

DetectCICDOrigin indicates an expected call of DetectCICDOrigin

func (*MockServiceMockRecorder) GetCIBranch

func (mr *MockServiceMockRecorder) GetCIBranch() *gomock.Call

GetCIBranch indicates an expected call of GetCIBranch

func (*MockServiceMockRecorder) GitService

func (mr *MockServiceMockRecorder) GitService() *gomock.Call

GitService indicates an expected call of GitService

func (*MockServiceMockRecorder) HTTPClient

func (mr *MockServiceMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient

func (*MockServiceMockRecorder) Publish

func (mr *MockServiceMockRecorder) Publish(b interface{}) *gomock.Call

Publish indicates an expected call of Publish

func (*MockServiceMockRecorder) SetGitService

func (mr *MockServiceMockRecorder) SetGitService(arg0 interface{}) *gomock.Call

SetGitService indicates an expected call of SetGitService

func (*MockServiceMockRecorder) SetHTTPClient

func (mr *MockServiceMockRecorder) SetHTTPClient(arg0 interface{}) *gomock.Call

SetHTTPClient indicates an expected call of SetHTTPClient

Jump to

Keyboard shortcuts

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