Documentation
¶
Overview ¶
Package mock_db is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close() error
- func (m *MockClient) DeleteACL(arg0 string) error
- func (m *MockClient) DeleteConnectionRequest(arg0 string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetACL(arg0 string) (*db.ACL, error)
- func (m *MockClient) GetConnectionRequest(arg0 string) (*types.ConnectionRequest, error)
- func (m *MockClient) ListACLs() ([]db.ACL, error)
- func (m *MockClient) ListConnectionRequests() ([]types.ConnectionRequest, error)
- func (m *MockClient) Open(arg0 string) error
- func (m *MockClient) UpdateACL(arg0 *db.ACL, arg1 string) error
- func (m *MockClient) UpdateConnectionRequest(arg0 *types.ConnectionRequest, arg1 string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) DeleteACL(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteConnectionRequest(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetACL(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetConnectionRequest(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListACLs() *gomock.Call
- func (mr *MockClientMockRecorder) ListConnectionRequests() *gomock.Call
- func (mr *MockClientMockRecorder) Open(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateACL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateConnectionRequest(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) DeleteACL ¶
func (m *MockClient) DeleteACL(arg0 string) error
DeleteACL mocks base method.
func (*MockClient) DeleteConnectionRequest ¶
func (m *MockClient) DeleteConnectionRequest(arg0 string) error
DeleteConnectionRequest mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetACL ¶
func (m *MockClient) GetACL(arg0 string) (*db.ACL, error)
GetACL mocks base method.
func (*MockClient) GetConnectionRequest ¶
func (m *MockClient) GetConnectionRequest(arg0 string) (*types.ConnectionRequest, error)
GetConnectionRequest mocks base method.
func (*MockClient) ListACLs ¶
func (m *MockClient) ListACLs() ([]db.ACL, error)
ListACLs mocks base method.
func (*MockClient) ListConnectionRequests ¶
func (m *MockClient) ListConnectionRequests() ([]types.ConnectionRequest, error)
ListConnectionRequests mocks base method.
func (*MockClient) UpdateACL ¶
func (m *MockClient) UpdateACL(arg0 *db.ACL, arg1 string) error
UpdateACL mocks base method.
func (*MockClient) UpdateConnectionRequest ¶
func (m *MockClient) UpdateConnectionRequest(arg0 *types.ConnectionRequest, arg1 string) error
UpdateConnectionRequest mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) DeleteACL ¶
func (mr *MockClientMockRecorder) DeleteACL(arg0 interface{}) *gomock.Call
DeleteACL indicates an expected call of DeleteACL.
func (*MockClientMockRecorder) DeleteConnectionRequest ¶
func (mr *MockClientMockRecorder) DeleteConnectionRequest(arg0 interface{}) *gomock.Call
DeleteConnectionRequest indicates an expected call of DeleteConnectionRequest.
func (*MockClientMockRecorder) GetACL ¶
func (mr *MockClientMockRecorder) GetACL(arg0 interface{}) *gomock.Call
GetACL indicates an expected call of GetACL.
func (*MockClientMockRecorder) GetConnectionRequest ¶
func (mr *MockClientMockRecorder) GetConnectionRequest(arg0 interface{}) *gomock.Call
GetConnectionRequest indicates an expected call of GetConnectionRequest.
func (*MockClientMockRecorder) ListACLs ¶
func (mr *MockClientMockRecorder) ListACLs() *gomock.Call
ListACLs indicates an expected call of ListACLs.
func (*MockClientMockRecorder) ListConnectionRequests ¶
func (mr *MockClientMockRecorder) ListConnectionRequests() *gomock.Call
ListConnectionRequests indicates an expected call of ListConnectionRequests.
func (*MockClientMockRecorder) Open ¶
func (mr *MockClientMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockClientMockRecorder) UpdateACL ¶
func (mr *MockClientMockRecorder) UpdateACL(arg0, arg1 interface{}) *gomock.Call
UpdateACL indicates an expected call of UpdateACL.
func (*MockClientMockRecorder) UpdateConnectionRequest ¶
func (mr *MockClientMockRecorder) UpdateConnectionRequest(arg0, arg1 interface{}) *gomock.Call
UpdateConnectionRequest indicates an expected call of UpdateConnectionRequest.