mocks

package
v0.0.0-...-91bbc0a Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 3 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 MockBreaker

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

MockBreaker is a mock of Breaker interface

func NewMockBreaker

func NewMockBreaker(ctrl *gomock.Controller) *MockBreaker

NewMockBreaker creates a new mock instance

func (*MockBreaker) EXPECT

func (m *MockBreaker) EXPECT() *MockBreakerMockRecorder

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

func (*MockBreaker) Execute

func (m *MockBreaker) Execute(req func() error) error

Execute mocks base method

type MockBreakerMockRecorder

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

MockBreakerMockRecorder is the mock recorder for MockBreaker

func (*MockBreakerMockRecorder) Execute

func (mr *MockBreakerMockRecorder) Execute(req interface{}) *gomock.Call

Execute indicates an expected call of Execute

type MockHTTPRequestDoer

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

MockHTTPRequestDoer is a mock of HTTPRequestDoer interface

func NewMockHTTPRequestDoer

func NewMockHTTPRequestDoer(ctrl *gomock.Controller) *MockHTTPRequestDoer

NewMockHTTPRequestDoer creates a new mock instance

func (*MockHTTPRequestDoer) Do

Do mocks base method

func (*MockHTTPRequestDoer) EXPECT

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

type MockHTTPRequestDoerMockRecorder

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

MockHTTPRequestDoerMockRecorder is the mock recorder for MockHTTPRequestDoer

func (*MockHTTPRequestDoerMockRecorder) Do

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

Do indicates an expected call of Do

Jump to

Keyboard shortcuts

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