databasemock

package
v1.56.0 Latest Latest
Warning

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

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

Documentation

Overview

Package databasemock is a generated GoMock package.

Index

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

Jump to

Keyboard shortcuts

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