Documentation ¶
Overview ¶
Package databasemock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddUser(monitor mntr.Monitor, user string, k8sClient kubernetes.ClientInt) error
- func (m *MockClient) DeleteUser(monitor mntr.Monitor, user string, k8sClient kubernetes.ClientInt) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetConnectionInfo(monitor mntr.Monitor, k8sClient kubernetes.ClientInt) (string, string, error)
- func (m *MockClient) ListUsers(monitor mntr.Monitor, k8sClient kubernetes.ClientInt) ([]string, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddUser(monitor, user, k8sClient interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteUser(monitor, user, k8sClient interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetConnectionInfo(monitor, k8sClient interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListUsers(monitor, k8sClient interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶ added in v0.117.0
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶ added in v0.117.0
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) AddUser ¶ added in v0.117.0
func (m *MockClient) AddUser(monitor mntr.Monitor, user string, k8sClient kubernetes.ClientInt) error
AddUser mocks base method
func (*MockClient) DeleteUser ¶ added in v0.117.0
func (m *MockClient) DeleteUser(monitor mntr.Monitor, user string, k8sClient kubernetes.ClientInt) error
DeleteUser mocks base method
func (*MockClient) EXPECT ¶ added in v0.117.0
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetConnectionInfo ¶ added in v0.117.0
func (m *MockClient) GetConnectionInfo(monitor mntr.Monitor, k8sClient kubernetes.ClientInt) (string, string, error)
GetConnectionInfo mocks base method
func (*MockClient) ListUsers ¶ added in v0.117.0
func (m *MockClient) ListUsers(monitor mntr.Monitor, k8sClient kubernetes.ClientInt) ([]string, error)
ListUsers mocks base method
type MockClientMockRecorder ¶ added in v0.117.0
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) AddUser ¶ added in v0.117.0
func (mr *MockClientMockRecorder) AddUser(monitor, user, k8sClient interface{}) *gomock.Call
AddUser indicates an expected call of AddUser
func (*MockClientMockRecorder) DeleteUser ¶ added in v0.117.0
func (mr *MockClientMockRecorder) DeleteUser(monitor, user, k8sClient interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser
func (*MockClientMockRecorder) GetConnectionInfo ¶ added in v0.117.0
func (mr *MockClientMockRecorder) GetConnectionInfo(monitor, k8sClient interface{}) *gomock.Call
GetConnectionInfo indicates an expected call of GetConnectionInfo
func (*MockClientMockRecorder) ListUsers ¶ added in v0.117.0
func (mr *MockClientMockRecorder) ListUsers(monitor, k8sClient interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers
Click to show internal directories.
Click to hide internal directories.