mock_retry

package
v1.52.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_retry is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackoff

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

MockBackoff is a mock of Backoff interface

func NewMockBackoff

func NewMockBackoff(ctrl *gomock.Controller) *MockBackoff

NewMockBackoff creates a new mock instance

func (*MockBackoff) Duration

func (m *MockBackoff) Duration() time.Duration

Duration mocks base method

func (*MockBackoff) EXPECT

func (m *MockBackoff) EXPECT() *MockBackoffMockRecorder

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

func (*MockBackoff) Reset

func (m *MockBackoff) Reset()

Reset mocks base method

type MockBackoffMockRecorder

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

MockBackoffMockRecorder is the mock recorder for MockBackoff

func (*MockBackoffMockRecorder) Duration

func (mr *MockBackoffMockRecorder) Duration() *gomock.Call

Duration indicates an expected call of Duration

func (*MockBackoffMockRecorder) Reset

func (mr *MockBackoffMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset

Jump to

Keyboard shortcuts

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