mocks

package
v2.1.66 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 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 MockKeepAlive

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

MockKeepAlive is a mock of KeepAlive interface.

func NewMockKeepAlive

func NewMockKeepAlive(ctrl *gomock.Controller) *MockKeepAlive

NewMockKeepAlive creates a new mock instance.

func (*MockKeepAlive) Alive

func (m *MockKeepAlive) Alive(alive time.Duration) bool

Alive mocks base method.

func (*MockKeepAlive) EXPECT

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

func (*MockKeepAlive) Keep

func (m *MockKeepAlive) Keep()

Keep mocks base method.

type MockKeepAliveMockRecorder

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

MockKeepAliveMockRecorder is the mock recorder for MockKeepAlive.

func (*MockKeepAliveMockRecorder) Alive

func (mr *MockKeepAliveMockRecorder) Alive(alive any) *gomock.Call

Alive indicates an expected call of Alive.

func (*MockKeepAliveMockRecorder) Keep

Keep indicates an expected call of Keep.

Jump to

Keyboard shortcuts

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