mock_index

package
v0.17.2 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_index is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIndex

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

MockIndex is a mock of Index interface.

func NewMockIndex

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

NewMockIndex creates a new mock instance.

func (*MockIndex) Delete

func (m *MockIndex) Delete(id string)

Delete mocks base method.

func (*MockIndex) DeleteKey

func (m *MockIndex) DeleteKey(id, key string)

DeleteKey mocks base method.

func (*MockIndex) EXPECT

func (m *MockIndex) EXPECT() *MockIndexMockRecorder

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

func (*MockIndex) Empty

func (m *MockIndex) Empty() bool

Empty mocks base method.

func (*MockIndex) FindId

func (m *MockIndex) FindId(key string) (string, bool)

FindId mocks base method.

func (*MockIndex) FindKeys

func (m *MockIndex) FindKeys(id string) []string

FindKeys mocks base method.

func (*MockIndex) Get

func (m *MockIndex) Get(key string) *evaluators.AuthConfig

Get mocks base method.

func (*MockIndex) List

func (m *MockIndex) List() []*evaluators.AuthConfig

List mocks base method.

func (*MockIndex) Set

func (m *MockIndex) Set(id, key string, config evaluators.AuthConfig, override bool) error

Set mocks base method.

type MockIndexMockRecorder

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

MockIndexMockRecorder is the mock recorder for MockIndex.

func (*MockIndexMockRecorder) Delete

func (mr *MockIndexMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockIndexMockRecorder) DeleteKey

func (mr *MockIndexMockRecorder) DeleteKey(id, key interface{}) *gomock.Call

DeleteKey indicates an expected call of DeleteKey.

func (*MockIndexMockRecorder) Empty

func (mr *MockIndexMockRecorder) Empty() *gomock.Call

Empty indicates an expected call of Empty.

func (*MockIndexMockRecorder) FindId

func (mr *MockIndexMockRecorder) FindId(key interface{}) *gomock.Call

FindId indicates an expected call of FindId.

func (*MockIndexMockRecorder) FindKeys

func (mr *MockIndexMockRecorder) FindKeys(id interface{}) *gomock.Call

FindKeys indicates an expected call of FindKeys.

func (*MockIndexMockRecorder) Get

func (mr *MockIndexMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIndexMockRecorder) List

func (mr *MockIndexMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockIndexMockRecorder) Set

func (mr *MockIndexMockRecorder) Set(id, key, config, override interface{}) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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