mock

package
v1.97.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOps

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

MockOps is a mock of Ops interface.

func NewMockOps

func NewMockOps(ctrl *gomock.Controller) *MockOps

NewMockOps creates a new mock instance.

func (*MockOps) EXPECT

func (m *MockOps) EXPECT() *MockOpsMockRecorder

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

func (*MockOps) WithTimeout

func (m *MockOps) WithTimeout(arg0 context.Context, arg1 time.Duration) (context.Context, context.CancelFunc)

WithTimeout mocks base method.

type MockOpsMockRecorder

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

MockOpsMockRecorder is the mock recorder for MockOps.

func (*MockOpsMockRecorder) WithTimeout

func (mr *MockOpsMockRecorder) WithTimeout(arg0, arg1 any) *gomock.Call

WithTimeout indicates an expected call of WithTimeout.

Jump to

Keyboard shortcuts

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