mocks

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 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 MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) AddPolicies

func (m *MockStore) AddPolicies(request *command.AddPoliciesRequest) error

AddPolicies mocks base method.

func (*MockStore) ClearPolicy

func (m *MockStore) ClearPolicy() error

ClearPolicy mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) JoinNode

func (m *MockStore) JoinNode(serverID, address string) error

JoinNode mocks base method.

func (*MockStore) Leader

func (m *MockStore) Leader() (bool, string)

Leader mocks base method.

func (*MockStore) RemoveFilteredPolicy

func (m *MockStore) RemoveFilteredPolicy(request *command.RemoveFilteredPolicyRequest) error

RemoveFilteredPolicy mocks base method.

func (*MockStore) RemoveNode

func (m *MockStore) RemoveNode(serverID string) error

RemoveNode mocks base method.

func (*MockStore) RemovePolicies

func (m *MockStore) RemovePolicies(request *command.RemovePoliciesRequest) error

RemovePolicies mocks base method.

func (*MockStore) Stats added in v0.0.6

func (m *MockStore) Stats() (map[string]interface{}, error)

Stats mocks base method.

func (*MockStore) UpdateFilteredPolicies added in v0.0.13

func (m *MockStore) UpdateFilteredPolicies(request *command.UpdateFilteredPoliciesRequest) error

UpdateFilteredPolicies mocks base method.

func (*MockStore) UpdatePolicies

func (m *MockStore) UpdatePolicies(request *command.UpdatePoliciesRequest) error

UpdatePolicies mocks base method.

func (*MockStore) UpdatePolicy

func (m *MockStore) UpdatePolicy(request *command.UpdatePolicyRequest) error

UpdatePolicy mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) AddPolicies

func (mr *MockStoreMockRecorder) AddPolicies(request interface{}) *gomock.Call

AddPolicies indicates an expected call of AddPolicies.

func (*MockStoreMockRecorder) ClearPolicy

func (mr *MockStoreMockRecorder) ClearPolicy() *gomock.Call

ClearPolicy indicates an expected call of ClearPolicy.

func (*MockStoreMockRecorder) JoinNode

func (mr *MockStoreMockRecorder) JoinNode(serverID, address interface{}) *gomock.Call

JoinNode indicates an expected call of JoinNode.

func (*MockStoreMockRecorder) Leader

func (mr *MockStoreMockRecorder) Leader() *gomock.Call

Leader indicates an expected call of Leader.

func (*MockStoreMockRecorder) RemoveFilteredPolicy

func (mr *MockStoreMockRecorder) RemoveFilteredPolicy(request interface{}) *gomock.Call

RemoveFilteredPolicy indicates an expected call of RemoveFilteredPolicy.

func (*MockStoreMockRecorder) RemoveNode

func (mr *MockStoreMockRecorder) RemoveNode(serverID interface{}) *gomock.Call

RemoveNode indicates an expected call of RemoveNode.

func (*MockStoreMockRecorder) RemovePolicies

func (mr *MockStoreMockRecorder) RemovePolicies(request interface{}) *gomock.Call

RemovePolicies indicates an expected call of RemovePolicies.

func (*MockStoreMockRecorder) Stats added in v0.0.6

func (mr *MockStoreMockRecorder) Stats() *gomock.Call

Stats indicates an expected call of Stats.

func (*MockStoreMockRecorder) UpdateFilteredPolicies added in v0.0.13

func (mr *MockStoreMockRecorder) UpdateFilteredPolicies(request interface{}) *gomock.Call

UpdateFilteredPolicies indicates an expected call of UpdateFilteredPolicies.

func (*MockStoreMockRecorder) UpdatePolicies

func (mr *MockStoreMockRecorder) UpdatePolicies(request interface{}) *gomock.Call

UpdatePolicies indicates an expected call of UpdatePolicies.

func (*MockStoreMockRecorder) UpdatePolicy

func (mr *MockStoreMockRecorder) UpdatePolicy(request interface{}) *gomock.Call

UpdatePolicy indicates an expected call of UpdatePolicy.

Jump to

Keyboard shortcuts

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