mock_gitSensor

package
v0.6.23-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_gitSensor is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) AddRepo

func (m *MockClient) AddRepo(ctx context.Context, materials []*gitSensor.GitMaterial) error

AddRepo mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) FetchChanges

FetchChanges mocks base method.

func (*MockClient) GetAllWebhookEventConfigForHost

func (m *MockClient) GetAllWebhookEventConfigForHost(ctx context.Context, req *gitSensor.WebhookEventConfigRequest) ([]*gitSensor.WebhookEventConfig, error)

GetAllWebhookEventConfigForHost mocks base method.

func (*MockClient) GetCommitMetadata

func (m *MockClient) GetCommitMetadata(ctx context.Context, req *gitSensor.CommitMetadataRequest) (*gitSensor.GitCommit, error)

GetCommitMetadata mocks base method.

func (*MockClient) GetCommitMetadataForPipelineMaterial

func (m *MockClient) GetCommitMetadataForPipelineMaterial(ctx context.Context, req *gitSensor.CommitMetadataRequest) (*gitSensor.GitCommit, error)

GetCommitMetadataForPipelineMaterial mocks base method.

func (*MockClient) GetHeadForPipelineMaterials

func (m *MockClient) GetHeadForPipelineMaterials(ctx context.Context, req *gitSensor.HeadRequest) ([]*gitSensor.CiPipelineMaterial, error)

GetHeadForPipelineMaterials mocks base method.

func (*MockClient) GetWebhookData

GetWebhookData mocks base method.

func (*MockClient) GetWebhookEventConfig

GetWebhookEventConfig mocks base method.

func (*MockClient) GetWebhookPayloadDataForPipelineMaterialId

func (m *MockClient) GetWebhookPayloadDataForPipelineMaterialId(ctx context.Context, req *gitSensor.WebhookPayloadDataRequest) (*gitSensor.WebhookPayloadDataResponse, error)

GetWebhookPayloadDataForPipelineMaterialId mocks base method.

func (*MockClient) GetWebhookPayloadFilterDataForPipelineMaterialId

func (m *MockClient) GetWebhookPayloadFilterDataForPipelineMaterialId(ctx context.Context, req *gitSensor.WebhookPayloadFilterDataRequest) (*gitSensor.WebhookPayloadFilterDataResponse, error)

GetWebhookPayloadFilterDataForPipelineMaterialId mocks base method.

func (*MockClient) RefreshGitMaterial

RefreshGitMaterial mocks base method.

func (*MockClient) SaveGitProvider

func (m *MockClient) SaveGitProvider(ctx context.Context, provider *gitSensor.GitProvider) error

SaveGitProvider mocks base method.

func (*MockClient) SavePipelineMaterial

func (m *MockClient) SavePipelineMaterial(ctx context.Context, ciPipelineMaterials []*gitSensor.CiPipelineMaterial) error

SavePipelineMaterial mocks base method.

func (*MockClient) UpdateRepo

func (m *MockClient) UpdateRepo(ctx context.Context, material *gitSensor.GitMaterial) error

UpdateRepo mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddRepo

func (mr *MockClientMockRecorder) AddRepo(ctx, materials interface{}) *gomock.Call

AddRepo indicates an expected call of AddRepo.

func (*MockClientMockRecorder) FetchChanges

func (mr *MockClientMockRecorder) FetchChanges(ctx, req interface{}) *gomock.Call

FetchChanges indicates an expected call of FetchChanges.

func (*MockClientMockRecorder) GetAllWebhookEventConfigForHost

func (mr *MockClientMockRecorder) GetAllWebhookEventConfigForHost(ctx, req interface{}) *gomock.Call

GetAllWebhookEventConfigForHost indicates an expected call of GetAllWebhookEventConfigForHost.

func (*MockClientMockRecorder) GetCommitMetadata

func (mr *MockClientMockRecorder) GetCommitMetadata(ctx, req interface{}) *gomock.Call

GetCommitMetadata indicates an expected call of GetCommitMetadata.

func (*MockClientMockRecorder) GetCommitMetadataForPipelineMaterial

func (mr *MockClientMockRecorder) GetCommitMetadataForPipelineMaterial(ctx, req interface{}) *gomock.Call

GetCommitMetadataForPipelineMaterial indicates an expected call of GetCommitMetadataForPipelineMaterial.

func (*MockClientMockRecorder) GetHeadForPipelineMaterials

func (mr *MockClientMockRecorder) GetHeadForPipelineMaterials(ctx, req interface{}) *gomock.Call

GetHeadForPipelineMaterials indicates an expected call of GetHeadForPipelineMaterials.

func (*MockClientMockRecorder) GetWebhookData

func (mr *MockClientMockRecorder) GetWebhookData(ctx, req interface{}) *gomock.Call

GetWebhookData indicates an expected call of GetWebhookData.

func (*MockClientMockRecorder) GetWebhookEventConfig

func (mr *MockClientMockRecorder) GetWebhookEventConfig(ctx, req interface{}) *gomock.Call

GetWebhookEventConfig indicates an expected call of GetWebhookEventConfig.

func (*MockClientMockRecorder) GetWebhookPayloadDataForPipelineMaterialId

func (mr *MockClientMockRecorder) GetWebhookPayloadDataForPipelineMaterialId(ctx, req interface{}) *gomock.Call

GetWebhookPayloadDataForPipelineMaterialId indicates an expected call of GetWebhookPayloadDataForPipelineMaterialId.

func (*MockClientMockRecorder) GetWebhookPayloadFilterDataForPipelineMaterialId

func (mr *MockClientMockRecorder) GetWebhookPayloadFilterDataForPipelineMaterialId(ctx, req interface{}) *gomock.Call

GetWebhookPayloadFilterDataForPipelineMaterialId indicates an expected call of GetWebhookPayloadFilterDataForPipelineMaterialId.

func (*MockClientMockRecorder) RefreshGitMaterial

func (mr *MockClientMockRecorder) RefreshGitMaterial(ctx, req interface{}) *gomock.Call

RefreshGitMaterial indicates an expected call of RefreshGitMaterial.

func (*MockClientMockRecorder) SaveGitProvider

func (mr *MockClientMockRecorder) SaveGitProvider(ctx, provider interface{}) *gomock.Call

SaveGitProvider indicates an expected call of SaveGitProvider.

func (*MockClientMockRecorder) SavePipelineMaterial

func (mr *MockClientMockRecorder) SavePipelineMaterial(ctx, ciPipelineMaterials interface{}) *gomock.Call

SavePipelineMaterial indicates an expected call of SavePipelineMaterial.

func (*MockClientMockRecorder) UpdateRepo

func (mr *MockClientMockRecorder) UpdateRepo(ctx, material interface{}) *gomock.Call

UpdateRepo indicates an expected call of UpdateRepo.

Jump to

Keyboard shortcuts

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