mock_ttllru

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_ttllru is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCacher added in v0.5.0

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

MockCacher is a mock of Cacher interface.

func NewMockCacher added in v0.5.0

func NewMockCacher(ctrl *gomock.Controller) *MockCacher

NewMockCacher creates a new mock instance.

func (*MockCacher) Add added in v0.5.0

func (m *MockCacher) Add(key, value any) bool

Add mocks base method.

func (*MockCacher) EXPECT added in v0.5.0

func (m *MockCacher) EXPECT() *MockCacherMockRecorder

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

func (*MockCacher) Get added in v0.5.0

func (m *MockCacher) Get(key any) (any, bool)

Get mocks base method.

func (*MockCacher) Remove added in v0.5.0

func (m *MockCacher) Remove(key any) bool

Remove mocks base method.

type MockCacherMockRecorder added in v0.5.0

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

MockCacherMockRecorder is the mock recorder for MockCacher.

func (*MockCacherMockRecorder) Add added in v0.5.0

func (mr *MockCacherMockRecorder) Add(key, value any) *gomock.Call

Add indicates an expected call of Add.

func (*MockCacherMockRecorder) Get added in v0.5.0

func (mr *MockCacherMockRecorder) Get(key any) *gomock.Call

Get indicates an expected call of Get.

func (*MockCacherMockRecorder) Remove added in v0.5.0

func (mr *MockCacherMockRecorder) Remove(key any) *gomock.Call

Remove indicates an expected call of Remove.

type MockPeekingCacher added in v0.5.0

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

MockPeekingCacher is a mock of PeekingCacher interface.

func NewMockPeekingCacher added in v0.5.0

func NewMockPeekingCacher(ctrl *gomock.Controller) *MockPeekingCacher

NewMockPeekingCacher creates a new mock instance.

func (*MockPeekingCacher) Add added in v0.5.0

func (m *MockPeekingCacher) Add(key, value any) bool

Add mocks base method.

func (*MockPeekingCacher) EXPECT added in v0.5.0

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

func (*MockPeekingCacher) Get added in v0.5.0

func (m *MockPeekingCacher) Get(key any) (any, bool)

Get mocks base method.

func (*MockPeekingCacher) Peek added in v0.5.0

func (m *MockPeekingCacher) Peek(key any) (any, time.Time, bool)

Peek mocks base method.

func (*MockPeekingCacher) Remove added in v0.5.0

func (m *MockPeekingCacher) Remove(key any) bool

Remove mocks base method.

type MockPeekingCacherMockRecorder added in v0.5.0

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

MockPeekingCacherMockRecorder is the mock recorder for MockPeekingCacher.

func (*MockPeekingCacherMockRecorder) Add added in v0.5.0

func (mr *MockPeekingCacherMockRecorder) Add(key, value any) *gomock.Call

Add indicates an expected call of Add.

func (*MockPeekingCacherMockRecorder) Get added in v0.5.0

Get indicates an expected call of Get.

func (*MockPeekingCacherMockRecorder) Peek added in v0.5.0

Peek indicates an expected call of Peek.

func (*MockPeekingCacherMockRecorder) Remove added in v0.5.0

func (mr *MockPeekingCacherMockRecorder) Remove(key any) *gomock.Call

Remove indicates an expected call of Remove.

Jump to

Keyboard shortcuts

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