mock_db

package
v0.0.0-...-1a78383 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_db is a generated GoMock package.

Index

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) Close

func (m *MockClient) Close() error

Close mocks base method.

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) Open

func (m *MockClient) Open(arg0 string) error

Open 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.

Jump to

Keyboard shortcuts

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