Documentation ¶
Overview ¶
Package mock_index is a generated GoMock package.
Index ¶
- type MockIndex
- func (m *MockIndex) Delete(id string)
- func (m *MockIndex) DeleteKey(id, key string)
- func (m *MockIndex) EXPECT() *MockIndexMockRecorder
- func (m *MockIndex) Empty() bool
- func (m *MockIndex) FindId(key string) (string, bool)
- func (m *MockIndex) FindKeys(id string) []string
- func (m *MockIndex) Get(key string) *evaluators.AuthConfig
- func (m *MockIndex) List() []*evaluators.AuthConfig
- func (m *MockIndex) Set(id, key string, config evaluators.AuthConfig, override bool) error
- type MockIndexMockRecorder
- func (mr *MockIndexMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) DeleteKey(id, key interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Empty() *gomock.Call
- func (mr *MockIndexMockRecorder) FindId(key interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) FindKeys(id interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) List() *gomock.Call
- func (mr *MockIndexMockRecorder) Set(id, key, config, override interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockIndex) EXPECT() *MockIndexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.