mock_client

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

type MockService struct {
	// contains filtered or unexported fields
}

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) AddAllowlistEntry

func (m *MockService) AddAllowlistEntry(arg0 context.Context, arg1 string, arg2 *client.AllowlistEntry) (*client.AllowlistEntry, *http.Response, error)

AddAllowlistEntry mocks base method.

func (*MockService) AddAllowlistEntry2

func (m *MockService) AddAllowlistEntry2(arg0 context.Context, arg1, arg2 string, arg3 int32, arg4 *client.AllowlistEntry1) (*client.AllowlistEntry, *http.Response, error)

AddAllowlistEntry2 mocks base method.

func (*MockService) AddEgressRule added in v0.4.0

AddEgressRule mocks base method.

func (*MockService) CreateCluster

func (m *MockService) CreateCluster(arg0 context.Context, arg1 *client.CreateClusterRequest) (*client.Cluster, *http.Response, error)

CreateCluster mocks base method.

func (*MockService) CreateDatabase

func (m *MockService) CreateDatabase(arg0 context.Context, arg1 string, arg2 *client.CreateDatabaseRequest) (*client.ApiDatabase, *http.Response, error)

CreateDatabase mocks base method.

func (*MockService) CreatePrivateEndpointServices

func (m *MockService) CreatePrivateEndpointServices(arg0 context.Context, arg1 string, arg2 *map[string]interface{}) (*client.PrivateEndpointServices, *http.Response, error)

CreatePrivateEndpointServices mocks base method.

func (*MockService) CreateSQLUser

func (m *MockService) CreateSQLUser(arg0 context.Context, arg1 string, arg2 *client.CreateSQLUserRequest) (*client.SQLUser, *http.Response, error)

CreateSQLUser mocks base method.

func (*MockService) DeleteAllowlistEntry

func (m *MockService) DeleteAllowlistEntry(arg0 context.Context, arg1, arg2 string, arg3 int32) (*client.AllowlistEntry, *http.Response, error)

DeleteAllowlistEntry mocks base method.

func (*MockService) DeleteCluster

func (m *MockService) DeleteCluster(arg0 context.Context, arg1 string) (*client.Cluster, *http.Response, error)

DeleteCluster mocks base method.

func (*MockService) DeleteDatabase

func (m *MockService) DeleteDatabase(arg0 context.Context, arg1, arg2 string) (*client.ApiDatabase, *http.Response, error)

DeleteDatabase mocks base method.

func (*MockService) DeleteEgressRule added in v0.4.0

DeleteEgressRule mocks base method.

func (*MockService) DeleteLogExport

func (m *MockService) DeleteLogExport(arg0 context.Context, arg1 string) (*client.LogExportClusterInfo, *http.Response, error)

DeleteLogExport mocks base method.

func (*MockService) DeleteMetricExport added in v0.4.0

DeleteMetricExport mocks base method.

func (*MockService) DeleteSQLUser

func (m *MockService) DeleteSQLUser(arg0 context.Context, arg1, arg2 string) (*client.SQLUser, *http.Response, error)

DeleteSQLUser mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockService) EditDatabase

EditDatabase mocks base method.

func (*MockService) EditEgressRule added in v0.4.0

EditEgressRule mocks base method.

func (*MockService) EnableCMEKSpec

EnableCMEKSpec mocks base method.

func (*MockService) EnableLogExport

EnableLogExport mocks base method.

func (*MockService) EnableMetricExport added in v0.4.0

EnableMetricExport mocks base method.

func (*MockService) GetCMEKClusterInfo

func (m *MockService) GetCMEKClusterInfo(arg0 context.Context, arg1 string) (*client.CMEKClusterInfo, *http.Response, error)

GetCMEKClusterInfo mocks base method.

func (*MockService) GetCluster

func (m *MockService) GetCluster(arg0 context.Context, arg1 string) (*client.Cluster, *http.Response, error)

GetCluster mocks base method.

func (*MockService) GetConnectionString added in v0.4.1

GetConnectionString mocks base method.

func (*MockService) GetEgressRule added in v0.4.0

func (m *MockService) GetEgressRule(arg0 context.Context, arg1, arg2 string) (*client.GetEgressRuleResponse, *http.Response, error)

GetEgressRule mocks base method.

func (*MockService) GetInvoice

func (m *MockService) GetInvoice(arg0 context.Context, arg1 string) (*client.Invoice, *http.Response, error)

GetInvoice mocks base method.

func (*MockService) GetLogExportInfo

func (m *MockService) GetLogExportInfo(arg0 context.Context, arg1 string) (*client.LogExportClusterInfo, *http.Response, error)

GetLogExportInfo mocks base method.

func (*MockService) GetMetricExportInfo added in v0.4.0

func (m *MockService) GetMetricExportInfo(arg0 context.Context, arg1 string) (*client.MetricExportInfo, *http.Response, error)

GetMetricExportInfo mocks base method.

func (*MockService) ListAllowlistEntries

ListAllowlistEntries mocks base method.

func (*MockService) ListAvailableRegions

ListAvailableRegions mocks base method.

func (*MockService) ListAwsEndpointConnections

func (m *MockService) ListAwsEndpointConnections(arg0 context.Context, arg1 string) (*client.AwsEndpointConnections, *http.Response, error)

ListAwsEndpointConnections mocks base method.

func (*MockService) ListClusterNodes

ListClusterNodes mocks base method.

func (*MockService) ListClusters

ListClusters mocks base method.

func (*MockService) ListDatabases

ListDatabases mocks base method.

func (*MockService) ListEgressRules added in v0.4.0

ListEgressRules mocks base method.

func (*MockService) ListInvoices

ListInvoices mocks base method.

func (*MockService) ListPrivateEndpointServices

func (m *MockService) ListPrivateEndpointServices(arg0 context.Context, arg1 string) (*client.PrivateEndpointServices, *http.Response, error)

ListPrivateEndpointServices mocks base method.

func (*MockService) ListSQLUsers

ListSQLUsers mocks base method.

func (*MockService) SetAwsEndpointConnectionState

SetAwsEndpointConnectionState mocks base method.

func (*MockService) SetEgressTrafficPolicy added in v0.4.0

func (m *MockService) SetEgressTrafficPolicy(arg0 context.Context, arg1 string, arg2 *client.SetEgressTrafficPolicyRequest) (*http.Response, error)

SetEgressTrafficPolicy mocks base method.

func (*MockService) UpdateAllowlistEntry

func (m *MockService) UpdateAllowlistEntry(arg0 context.Context, arg1, arg2 string, arg3 int32, arg4 *client.AllowlistEntry1, arg5 *client.UpdateAllowlistEntryOptions) (*client.AllowlistEntry, *http.Response, error)

UpdateAllowlistEntry mocks base method.

func (*MockService) UpdateCMEKSpec

UpdateCMEKSpec mocks base method.

func (*MockService) UpdateCMEKStatus

UpdateCMEKStatus mocks base method.

func (*MockService) UpdateCluster

UpdateCluster mocks base method.

func (*MockService) UpdateSQLUserPassword

func (m *MockService) UpdateSQLUserPassword(arg0 context.Context, arg1, arg2 string, arg3 *client.UpdateSQLUserPasswordRequest) (*client.SQLUser, *http.Response, error)

UpdateSQLUserPassword mocks base method.

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) AddAllowlistEntry

func (mr *MockServiceMockRecorder) AddAllowlistEntry(arg0, arg1, arg2 interface{}) *gomock.Call

AddAllowlistEntry indicates an expected call of AddAllowlistEntry.

func (*MockServiceMockRecorder) AddAllowlistEntry2

func (mr *MockServiceMockRecorder) AddAllowlistEntry2(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

AddAllowlistEntry2 indicates an expected call of AddAllowlistEntry2.

func (*MockServiceMockRecorder) AddEgressRule added in v0.4.0

func (mr *MockServiceMockRecorder) AddEgressRule(arg0, arg1, arg2 interface{}) *gomock.Call

AddEgressRule indicates an expected call of AddEgressRule.

func (*MockServiceMockRecorder) CreateCluster

func (mr *MockServiceMockRecorder) CreateCluster(arg0, arg1 interface{}) *gomock.Call

CreateCluster indicates an expected call of CreateCluster.

func (*MockServiceMockRecorder) CreateDatabase

func (mr *MockServiceMockRecorder) CreateDatabase(arg0, arg1, arg2 interface{}) *gomock.Call

CreateDatabase indicates an expected call of CreateDatabase.

func (*MockServiceMockRecorder) CreatePrivateEndpointServices

func (mr *MockServiceMockRecorder) CreatePrivateEndpointServices(arg0, arg1, arg2 interface{}) *gomock.Call

CreatePrivateEndpointServices indicates an expected call of CreatePrivateEndpointServices.

func (*MockServiceMockRecorder) CreateSQLUser

func (mr *MockServiceMockRecorder) CreateSQLUser(arg0, arg1, arg2 interface{}) *gomock.Call

CreateSQLUser indicates an expected call of CreateSQLUser.

func (*MockServiceMockRecorder) DeleteAllowlistEntry

func (mr *MockServiceMockRecorder) DeleteAllowlistEntry(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteAllowlistEntry indicates an expected call of DeleteAllowlistEntry.

func (*MockServiceMockRecorder) DeleteCluster

func (mr *MockServiceMockRecorder) DeleteCluster(arg0, arg1 interface{}) *gomock.Call

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockServiceMockRecorder) DeleteDatabase

func (mr *MockServiceMockRecorder) DeleteDatabase(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteDatabase indicates an expected call of DeleteDatabase.

func (*MockServiceMockRecorder) DeleteEgressRule added in v0.4.0

func (mr *MockServiceMockRecorder) DeleteEgressRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteEgressRule indicates an expected call of DeleteEgressRule.

func (*MockServiceMockRecorder) DeleteLogExport

func (mr *MockServiceMockRecorder) DeleteLogExport(arg0, arg1 interface{}) *gomock.Call

DeleteLogExport indicates an expected call of DeleteLogExport.

func (*MockServiceMockRecorder) DeleteMetricExport added in v0.4.0

func (mr *MockServiceMockRecorder) DeleteMetricExport(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteMetricExport indicates an expected call of DeleteMetricExport.

func (*MockServiceMockRecorder) DeleteSQLUser

func (mr *MockServiceMockRecorder) DeleteSQLUser(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteSQLUser indicates an expected call of DeleteSQLUser.

func (*MockServiceMockRecorder) EditDatabase

func (mr *MockServiceMockRecorder) EditDatabase(arg0, arg1, arg2 interface{}) *gomock.Call

EditDatabase indicates an expected call of EditDatabase.

func (*MockServiceMockRecorder) EditEgressRule added in v0.4.0

func (mr *MockServiceMockRecorder) EditEgressRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EditEgressRule indicates an expected call of EditEgressRule.

func (*MockServiceMockRecorder) EnableCMEKSpec

func (mr *MockServiceMockRecorder) EnableCMEKSpec(arg0, arg1, arg2 interface{}) *gomock.Call

EnableCMEKSpec indicates an expected call of EnableCMEKSpec.

func (*MockServiceMockRecorder) EnableLogExport

func (mr *MockServiceMockRecorder) EnableLogExport(arg0, arg1, arg2 interface{}) *gomock.Call

EnableLogExport indicates an expected call of EnableLogExport.

func (*MockServiceMockRecorder) EnableMetricExport added in v0.4.0

func (mr *MockServiceMockRecorder) EnableMetricExport(arg0, arg1, arg2 interface{}) *gomock.Call

EnableMetricExport indicates an expected call of EnableMetricExport.

func (*MockServiceMockRecorder) GetCMEKClusterInfo

func (mr *MockServiceMockRecorder) GetCMEKClusterInfo(arg0, arg1 interface{}) *gomock.Call

GetCMEKClusterInfo indicates an expected call of GetCMEKClusterInfo.

func (*MockServiceMockRecorder) GetCluster

func (mr *MockServiceMockRecorder) GetCluster(arg0, arg1 interface{}) *gomock.Call

GetCluster indicates an expected call of GetCluster.

func (*MockServiceMockRecorder) GetConnectionString added in v0.4.1

func (mr *MockServiceMockRecorder) GetConnectionString(arg0, arg1, arg2 interface{}) *gomock.Call

GetConnectionString indicates an expected call of GetConnectionString.

func (*MockServiceMockRecorder) GetEgressRule added in v0.4.0

func (mr *MockServiceMockRecorder) GetEgressRule(arg0, arg1, arg2 interface{}) *gomock.Call

GetEgressRule indicates an expected call of GetEgressRule.

func (*MockServiceMockRecorder) GetInvoice

func (mr *MockServiceMockRecorder) GetInvoice(arg0, arg1 interface{}) *gomock.Call

GetInvoice indicates an expected call of GetInvoice.

func (*MockServiceMockRecorder) GetLogExportInfo

func (mr *MockServiceMockRecorder) GetLogExportInfo(arg0, arg1 interface{}) *gomock.Call

GetLogExportInfo indicates an expected call of GetLogExportInfo.

func (*MockServiceMockRecorder) GetMetricExportInfo added in v0.4.0

func (mr *MockServiceMockRecorder) GetMetricExportInfo(arg0, arg1 interface{}) *gomock.Call

GetMetricExportInfo indicates an expected call of GetMetricExportInfo.

func (*MockServiceMockRecorder) ListAllowlistEntries

func (mr *MockServiceMockRecorder) ListAllowlistEntries(arg0, arg1, arg2 interface{}) *gomock.Call

ListAllowlistEntries indicates an expected call of ListAllowlistEntries.

func (*MockServiceMockRecorder) ListAvailableRegions

func (mr *MockServiceMockRecorder) ListAvailableRegions(arg0, arg1 interface{}) *gomock.Call

ListAvailableRegions indicates an expected call of ListAvailableRegions.

func (*MockServiceMockRecorder) ListAwsEndpointConnections

func (mr *MockServiceMockRecorder) ListAwsEndpointConnections(arg0, arg1 interface{}) *gomock.Call

ListAwsEndpointConnections indicates an expected call of ListAwsEndpointConnections.

func (*MockServiceMockRecorder) ListClusterNodes

func (mr *MockServiceMockRecorder) ListClusterNodes(arg0, arg1, arg2 interface{}) *gomock.Call

ListClusterNodes indicates an expected call of ListClusterNodes.

func (*MockServiceMockRecorder) ListClusters

func (mr *MockServiceMockRecorder) ListClusters(arg0, arg1 interface{}) *gomock.Call

ListClusters indicates an expected call of ListClusters.

func (*MockServiceMockRecorder) ListDatabases

func (mr *MockServiceMockRecorder) ListDatabases(arg0, arg1, arg2 interface{}) *gomock.Call

ListDatabases indicates an expected call of ListDatabases.

func (*MockServiceMockRecorder) ListEgressRules added in v0.4.0

func (mr *MockServiceMockRecorder) ListEgressRules(arg0, arg1, arg2 interface{}) *gomock.Call

ListEgressRules indicates an expected call of ListEgressRules.

func (*MockServiceMockRecorder) ListInvoices

func (mr *MockServiceMockRecorder) ListInvoices(arg0 interface{}) *gomock.Call

ListInvoices indicates an expected call of ListInvoices.

func (*MockServiceMockRecorder) ListPrivateEndpointServices

func (mr *MockServiceMockRecorder) ListPrivateEndpointServices(arg0, arg1 interface{}) *gomock.Call

ListPrivateEndpointServices indicates an expected call of ListPrivateEndpointServices.

func (*MockServiceMockRecorder) ListSQLUsers

func (mr *MockServiceMockRecorder) ListSQLUsers(arg0, arg1, arg2 interface{}) *gomock.Call

ListSQLUsers indicates an expected call of ListSQLUsers.

func (*MockServiceMockRecorder) SetAwsEndpointConnectionState

func (mr *MockServiceMockRecorder) SetAwsEndpointConnectionState(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetAwsEndpointConnectionState indicates an expected call of SetAwsEndpointConnectionState.

func (*MockServiceMockRecorder) SetEgressTrafficPolicy added in v0.4.0

func (mr *MockServiceMockRecorder) SetEgressTrafficPolicy(arg0, arg1, arg2 interface{}) *gomock.Call

SetEgressTrafficPolicy indicates an expected call of SetEgressTrafficPolicy.

func (*MockServiceMockRecorder) UpdateAllowlistEntry

func (mr *MockServiceMockRecorder) UpdateAllowlistEntry(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

UpdateAllowlistEntry indicates an expected call of UpdateAllowlistEntry.

func (*MockServiceMockRecorder) UpdateCMEKSpec

func (mr *MockServiceMockRecorder) UpdateCMEKSpec(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateCMEKSpec indicates an expected call of UpdateCMEKSpec.

func (*MockServiceMockRecorder) UpdateCMEKStatus

func (mr *MockServiceMockRecorder) UpdateCMEKStatus(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateCMEKStatus indicates an expected call of UpdateCMEKStatus.

func (*MockServiceMockRecorder) UpdateCluster

func (mr *MockServiceMockRecorder) UpdateCluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateCluster indicates an expected call of UpdateCluster.

func (*MockServiceMockRecorder) UpdateSQLUserPassword

func (mr *MockServiceMockRecorder) UpdateSQLUserPassword(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateSQLUserPassword indicates an expected call of UpdateSQLUserPassword.

Jump to

Keyboard shortcuts

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