Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) AddPolicies(request *command.AddPoliciesRequest) error
- func (m *MockStore) ClearPolicy() error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) JoinNode(serverID, address string) error
- func (m *MockStore) Leader() (bool, string)
- func (m *MockStore) RemoveFilteredPolicy(request *command.RemoveFilteredPolicyRequest) error
- func (m *MockStore) RemoveNode(serverID string) error
- func (m *MockStore) RemovePolicies(request *command.RemovePoliciesRequest) error
- func (m *MockStore) Stats() (map[string]interface{}, error)
- func (m *MockStore) UpdateFilteredPolicies(request *command.UpdateFilteredPoliciesRequest) error
- func (m *MockStore) UpdatePolicies(request *command.UpdatePoliciesRequest) error
- func (m *MockStore) UpdatePolicy(request *command.UpdatePolicyRequest) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddPolicies(request interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ClearPolicy() *gomock.Call
- func (mr *MockStoreMockRecorder) JoinNode(serverID, address interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Leader() *gomock.Call
- func (mr *MockStoreMockRecorder) RemoveFilteredPolicy(request interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RemoveNode(serverID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RemovePolicies(request interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Stats() *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateFilteredPolicies(request interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdatePolicies(request interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdatePolicy(request interface{}) *gomock.Call
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 ¶
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) RemoveFilteredPolicy ¶
func (m *MockStore) RemoveFilteredPolicy(request *command.RemoveFilteredPolicyRequest) error
RemoveFilteredPolicy mocks base method.
func (*MockStore) RemoveNode ¶
RemoveNode mocks base method.
func (*MockStore) RemovePolicies ¶
func (m *MockStore) RemovePolicies(request *command.RemovePoliciesRequest) error
RemovePolicies 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.