mock_usecase

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_usecase is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitPushWebhookService

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

MockGitPushWebhookService is a mock of GitPushWebhookService interface.

func NewMockGitPushWebhookService

func NewMockGitPushWebhookService(ctrl *gomock.Controller) *MockGitPushWebhookService

NewMockGitPushWebhookService creates a new mock instance.

func (*MockGitPushWebhookService) CheckRepositoryExists

func (m *MockGitPushWebhookService) CheckRepositoryExists(ctx context.Context, repoURL, owner, name string) (bool, error)

CheckRepositoryExists mocks base method.

func (*MockGitPushWebhookService) EXPECT

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

func (*MockGitPushWebhookService) VerifySignature

func (m *MockGitPushWebhookService) VerifySignature(ctx context.Context, repoURL, signature string, body []byte) (bool, error)

VerifySignature mocks base method.

type MockGitPushWebhookServiceMockRecorder

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

MockGitPushWebhookServiceMockRecorder is the mock recorder for MockGitPushWebhookService.

func (*MockGitPushWebhookServiceMockRecorder) CheckRepositoryExists

func (mr *MockGitPushWebhookServiceMockRecorder) CheckRepositoryExists(ctx, repoURL, owner, name interface{}) *gomock.Call

CheckRepositoryExists indicates an expected call of CheckRepositoryExists.

func (*MockGitPushWebhookServiceMockRecorder) VerifySignature

func (mr *MockGitPushWebhookServiceMockRecorder) VerifySignature(ctx, repoURL, signature, body interface{}) *gomock.Call

VerifySignature indicates an expected call of VerifySignature.

Jump to

Keyboard shortcuts

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