mocks

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

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

MockProvider is a mock of Provider interface

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance

func (*MockProvider) EXPECT

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

func (*MockProvider) IncreaseCronTaskErrors

func (m *MockProvider) IncreaseCronTaskErrors(arg0 string)

IncreaseCronTaskErrors mocks base method

func (*MockProvider) IncreaseGithubCacheHits

func (m *MockProvider) IncreaseGithubCacheHits(arg0, arg1 string)

IncreaseGithubCacheHits mocks base method

func (*MockProvider) IncreaseGithubCacheMisses

func (m *MockProvider) IncreaseGithubCacheMisses(arg0, arg1 string)

IncreaseGithubCacheMisses mocks base method

func (*MockProvider) IncreaseWebhookRequest

func (m *MockProvider) IncreaseWebhookRequest(arg0 string)

IncreaseWebhookRequest mocks base method

func (*MockProvider) ObserveCronTaskDuration

func (m *MockProvider) ObserveCronTaskDuration(arg0 string, arg1 float64)

ObserveCronTaskDuration mocks base method

func (*MockProvider) ObserveGithubRequestDuration

func (m *MockProvider) ObserveGithubRequestDuration(arg0, arg1, arg2 string, arg3 float64)

ObserveGithubRequestDuration mocks base method

func (*MockProvider) ObserveHTTPRequestDuration

func (m *MockProvider) ObserveHTTPRequestDuration(arg0, arg1, arg2 string, arg3 float64)

ObserveHTTPRequestDuration mocks base method

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider

func (*MockProviderMockRecorder) IncreaseCronTaskErrors

func (mr *MockProviderMockRecorder) IncreaseCronTaskErrors(arg0 interface{}) *gomock.Call

IncreaseCronTaskErrors indicates an expected call of IncreaseCronTaskErrors

func (*MockProviderMockRecorder) IncreaseGithubCacheHits

func (mr *MockProviderMockRecorder) IncreaseGithubCacheHits(arg0, arg1 interface{}) *gomock.Call

IncreaseGithubCacheHits indicates an expected call of IncreaseGithubCacheHits

func (*MockProviderMockRecorder) IncreaseGithubCacheMisses

func (mr *MockProviderMockRecorder) IncreaseGithubCacheMisses(arg0, arg1 interface{}) *gomock.Call

IncreaseGithubCacheMisses indicates an expected call of IncreaseGithubCacheMisses

func (*MockProviderMockRecorder) IncreaseWebhookRequest

func (mr *MockProviderMockRecorder) IncreaseWebhookRequest(arg0 interface{}) *gomock.Call

IncreaseWebhookRequest indicates an expected call of IncreaseWebhookRequest

func (*MockProviderMockRecorder) ObserveCronTaskDuration

func (mr *MockProviderMockRecorder) ObserveCronTaskDuration(arg0, arg1 interface{}) *gomock.Call

ObserveCronTaskDuration indicates an expected call of ObserveCronTaskDuration

func (*MockProviderMockRecorder) ObserveGithubRequestDuration

func (mr *MockProviderMockRecorder) ObserveGithubRequestDuration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ObserveGithubRequestDuration indicates an expected call of ObserveGithubRequestDuration

func (*MockProviderMockRecorder) ObserveHTTPRequestDuration

func (mr *MockProviderMockRecorder) ObserveHTTPRequestDuration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ObserveHTTPRequestDuration indicates an expected call of ObserveHTTPRequestDuration

Jump to

Keyboard shortcuts

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