Documentation ¶
Overview ¶
Package mock_usecase is a generated GoMock package.
Index ¶
- type MockGitPushWebhookService
- func (m *MockGitPushWebhookService) CheckRepositoryExists(ctx context.Context, repoURL, owner, name string) (bool, error)
- func (m *MockGitPushWebhookService) EXPECT() *MockGitPushWebhookServiceMockRecorder
- func (m *MockGitPushWebhookService) VerifySignature(ctx context.Context, repoURL, signature string, body []byte) (bool, error)
- type MockGitPushWebhookServiceMockRecorder
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 ¶
func (m *MockGitPushWebhookService) EXPECT() *MockGitPushWebhookServiceMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.