Help us shape the future of Go! Take the 2026 Go Developer Survey

database

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientService

type ClientService struct {
	mock.Mock
}

ClientService is an autogenerated mock type for the ClientService type

func NewClientService added in v0.18.21

func NewClientService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientService

NewClientService creates a new instance of ClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientService) AcceptPostgresRestore added in v0.18.4

AcceptPostgresRestore provides a mock function for the type ClientService

func (*ClientService) AcceptPostgresRestoreDeprecated added in v0.18.24

AcceptPostgresRestoreDeprecated provides a mock function for the type ClientService

func (*ClientService) CreatePostgres

CreatePostgres provides a mock function for the type ClientService

func (*ClientService) CreatePostgresBackupConfig

CreatePostgresBackupConfig provides a mock function for the type ClientService

func (*ClientService) CreatePostgresStandby added in v0.18.3

CreatePostgresStandby provides a mock function for the type ClientService

func (*ClientService) DeletePostgres

DeletePostgres provides a mock function for the type ClientService

func (*ClientService) DeletePostgresBackupConfig

DeletePostgresBackupConfig provides a mock function for the type ClientService

func (*ClientService) EXPECT added in v0.30.9

func (_m *ClientService) EXPECT() *ClientService_Expecter

func (*ClientService) FindPostgres

FindPostgres provides a mock function for the type ClientService

func (*ClientService) GetBackupConfig

GetBackupConfig provides a mock function for the type ClientService

func (*ClientService) GetPostgres

GetPostgres provides a mock function for the type ClientService

func (*ClientService) GetPostgresBackups

GetPostgresBackups provides a mock function for the type ClientService

func (*ClientService) GetPostgresPartitions

GetPostgresPartitions provides a mock function for the type ClientService

func (*ClientService) GetPostgresSecrets

GetPostgresSecrets provides a mock function for the type ClientService

func (*ClientService) GetPostgresVersions

GetPostgresVersions provides a mock function for the type ClientService

func (*ClientService) ListPostgres

ListPostgres provides a mock function for the type ClientService

func (*ClientService) ListPostgresBackupConfigs

ListPostgresBackupConfigs provides a mock function for the type ClientService

func (*ClientService) RestorePostgres added in v0.18.4

RestorePostgres provides a mock function for the type ClientService

func (*ClientService) SetTransport

func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function for the type ClientService

func (*ClientService) UpdatePostgres

UpdatePostgres provides a mock function for the type ClientService

func (*ClientService) UpdatePostgresBackupConfig

UpdatePostgresBackupConfig provides a mock function for the type ClientService

type ClientService_AcceptPostgresRestoreDeprecated_Call added in v0.30.9

type ClientService_AcceptPostgresRestoreDeprecated_Call struct {
	*mock.Call
}

ClientService_AcceptPostgresRestoreDeprecated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptPostgresRestoreDeprecated'

func (*ClientService_AcceptPostgresRestoreDeprecated_Call) Return added in v0.30.9

func (*ClientService_AcceptPostgresRestoreDeprecated_Call) Run added in v0.30.9

type ClientService_AcceptPostgresRestore_Call added in v0.30.9

type ClientService_AcceptPostgresRestore_Call struct {
	*mock.Call
}

ClientService_AcceptPostgresRestore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptPostgresRestore'

func (*ClientService_AcceptPostgresRestore_Call) Return added in v0.30.9

func (*ClientService_AcceptPostgresRestore_Call) Run added in v0.30.9

func (*ClientService_AcceptPostgresRestore_Call) RunAndReturn added in v0.30.9

type ClientService_CreatePostgresBackupConfig_Call added in v0.30.9

type ClientService_CreatePostgresBackupConfig_Call struct {
	*mock.Call
}

ClientService_CreatePostgresBackupConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePostgresBackupConfig'

func (*ClientService_CreatePostgresBackupConfig_Call) Return added in v0.30.9

func (*ClientService_CreatePostgresBackupConfig_Call) Run added in v0.30.9

type ClientService_CreatePostgresStandby_Call added in v0.30.9

type ClientService_CreatePostgresStandby_Call struct {
	*mock.Call
}

ClientService_CreatePostgresStandby_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePostgresStandby'

func (*ClientService_CreatePostgresStandby_Call) Return added in v0.30.9

func (*ClientService_CreatePostgresStandby_Call) Run added in v0.30.9

func (*ClientService_CreatePostgresStandby_Call) RunAndReturn added in v0.30.9

type ClientService_CreatePostgres_Call added in v0.30.9

type ClientService_CreatePostgres_Call struct {
	*mock.Call
}

ClientService_CreatePostgres_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePostgres'

func (*ClientService_CreatePostgres_Call) Return added in v0.30.9

func (*ClientService_CreatePostgres_Call) Run added in v0.30.9

func (*ClientService_CreatePostgres_Call) RunAndReturn added in v0.30.9

type ClientService_DeletePostgresBackupConfig_Call added in v0.30.9

type ClientService_DeletePostgresBackupConfig_Call struct {
	*mock.Call
}

ClientService_DeletePostgresBackupConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePostgresBackupConfig'

func (*ClientService_DeletePostgresBackupConfig_Call) Return added in v0.30.9

func (*ClientService_DeletePostgresBackupConfig_Call) Run added in v0.30.9

type ClientService_DeletePostgres_Call added in v0.30.9

type ClientService_DeletePostgres_Call struct {
	*mock.Call
}

ClientService_DeletePostgres_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePostgres'

func (*ClientService_DeletePostgres_Call) Return added in v0.30.9

func (*ClientService_DeletePostgres_Call) Run added in v0.30.9

func (*ClientService_DeletePostgres_Call) RunAndReturn added in v0.30.9

type ClientService_Expecter added in v0.30.9

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

func (*ClientService_Expecter) AcceptPostgresRestore added in v0.30.9

func (_e *ClientService_Expecter) AcceptPostgresRestore(params any, authInfo any, opts ...any) *ClientService_AcceptPostgresRestore_Call

AcceptPostgresRestore is a helper method to define mock.On call

  • params *database.AcceptPostgresRestoreParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) AcceptPostgresRestoreDeprecated added in v0.30.9

func (_e *ClientService_Expecter) AcceptPostgresRestoreDeprecated(params any, authInfo any, opts ...any) *ClientService_AcceptPostgresRestoreDeprecated_Call

AcceptPostgresRestoreDeprecated is a helper method to define mock.On call

  • params *database.AcceptPostgresRestoreDeprecatedParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) CreatePostgres added in v0.30.9

func (_e *ClientService_Expecter) CreatePostgres(params any, authInfo any, opts ...any) *ClientService_CreatePostgres_Call

CreatePostgres is a helper method to define mock.On call

  • params *database.CreatePostgresParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) CreatePostgresBackupConfig added in v0.30.9

func (_e *ClientService_Expecter) CreatePostgresBackupConfig(params any, authInfo any, opts ...any) *ClientService_CreatePostgresBackupConfig_Call

CreatePostgresBackupConfig is a helper method to define mock.On call

  • params *database.CreatePostgresBackupConfigParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) CreatePostgresStandby added in v0.30.9

func (_e *ClientService_Expecter) CreatePostgresStandby(params any, authInfo any, opts ...any) *ClientService_CreatePostgresStandby_Call

CreatePostgresStandby is a helper method to define mock.On call

  • params *database.CreatePostgresStandbyParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) DeletePostgres added in v0.30.9

func (_e *ClientService_Expecter) DeletePostgres(params any, authInfo any, opts ...any) *ClientService_DeletePostgres_Call

DeletePostgres is a helper method to define mock.On call

  • params *database.DeletePostgresParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) DeletePostgresBackupConfig added in v0.30.9

func (_e *ClientService_Expecter) DeletePostgresBackupConfig(params any, authInfo any, opts ...any) *ClientService_DeletePostgresBackupConfig_Call

DeletePostgresBackupConfig is a helper method to define mock.On call

  • params *database.DeletePostgresBackupConfigParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) FindPostgres added in v0.30.9

func (_e *ClientService_Expecter) FindPostgres(params any, authInfo any, opts ...any) *ClientService_FindPostgres_Call

FindPostgres is a helper method to define mock.On call

  • params *database.FindPostgresParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) GetBackupConfig added in v0.30.9

func (_e *ClientService_Expecter) GetBackupConfig(params any, authInfo any, opts ...any) *ClientService_GetBackupConfig_Call

GetBackupConfig is a helper method to define mock.On call

  • params *database.GetBackupConfigParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) GetPostgres added in v0.30.9

func (_e *ClientService_Expecter) GetPostgres(params any, authInfo any, opts ...any) *ClientService_GetPostgres_Call

GetPostgres is a helper method to define mock.On call

  • params *database.GetPostgresParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) GetPostgresBackups added in v0.30.9

func (_e *ClientService_Expecter) GetPostgresBackups(params any, authInfo any, opts ...any) *ClientService_GetPostgresBackups_Call

GetPostgresBackups is a helper method to define mock.On call

  • params *database.GetPostgresBackupsParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) GetPostgresPartitions added in v0.30.9

func (_e *ClientService_Expecter) GetPostgresPartitions(params any, authInfo any, opts ...any) *ClientService_GetPostgresPartitions_Call

GetPostgresPartitions is a helper method to define mock.On call

  • params *database.GetPostgresPartitionsParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) GetPostgresSecrets added in v0.30.9

func (_e *ClientService_Expecter) GetPostgresSecrets(params any, authInfo any, opts ...any) *ClientService_GetPostgresSecrets_Call

GetPostgresSecrets is a helper method to define mock.On call

  • params *database.GetPostgresSecretsParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) GetPostgresVersions added in v0.30.9

func (_e *ClientService_Expecter) GetPostgresVersions(params any, authInfo any, opts ...any) *ClientService_GetPostgresVersions_Call

GetPostgresVersions is a helper method to define mock.On call

  • params *database.GetPostgresVersionsParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) ListPostgres added in v0.30.9

func (_e *ClientService_Expecter) ListPostgres(params any, authInfo any, opts ...any) *ClientService_ListPostgres_Call

ListPostgres is a helper method to define mock.On call

  • params *database.ListPostgresParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) ListPostgresBackupConfigs added in v0.30.9

func (_e *ClientService_Expecter) ListPostgresBackupConfigs(params any, authInfo any, opts ...any) *ClientService_ListPostgresBackupConfigs_Call

ListPostgresBackupConfigs is a helper method to define mock.On call

  • params *database.ListPostgresBackupConfigsParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) RestorePostgres added in v0.30.9

func (_e *ClientService_Expecter) RestorePostgres(params any, authInfo any, opts ...any) *ClientService_RestorePostgres_Call

RestorePostgres is a helper method to define mock.On call

  • params *database.RestorePostgresParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) SetTransport added in v0.30.9

func (_e *ClientService_Expecter) SetTransport(transport any) *ClientService_SetTransport_Call

SetTransport is a helper method to define mock.On call

  • transport runtime.ClientTransport

func (*ClientService_Expecter) UpdatePostgres added in v0.30.9

func (_e *ClientService_Expecter) UpdatePostgres(params any, authInfo any, opts ...any) *ClientService_UpdatePostgres_Call

UpdatePostgres is a helper method to define mock.On call

  • params *database.UpdatePostgresParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

func (*ClientService_Expecter) UpdatePostgresBackupConfig added in v0.30.9

func (_e *ClientService_Expecter) UpdatePostgresBackupConfig(params any, authInfo any, opts ...any) *ClientService_UpdatePostgresBackupConfig_Call

UpdatePostgresBackupConfig is a helper method to define mock.On call

  • params *database.UpdatePostgresBackupConfigParams
  • authInfo runtime.ClientAuthInfoWriter
  • opts ...database.ClientOption

type ClientService_FindPostgres_Call added in v0.30.9

type ClientService_FindPostgres_Call struct {
	*mock.Call
}

ClientService_FindPostgres_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindPostgres'

func (*ClientService_FindPostgres_Call) Return added in v0.30.9

func (*ClientService_FindPostgres_Call) Run added in v0.30.9

func (*ClientService_FindPostgres_Call) RunAndReturn added in v0.30.9

type ClientService_GetBackupConfig_Call added in v0.30.9

type ClientService_GetBackupConfig_Call struct {
	*mock.Call
}

ClientService_GetBackupConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBackupConfig'

func (*ClientService_GetBackupConfig_Call) Return added in v0.30.9

func (*ClientService_GetBackupConfig_Call) Run added in v0.30.9

func (*ClientService_GetBackupConfig_Call) RunAndReturn added in v0.30.9

type ClientService_GetPostgresBackups_Call added in v0.30.9

type ClientService_GetPostgresBackups_Call struct {
	*mock.Call
}

ClientService_GetPostgresBackups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostgresBackups'

func (*ClientService_GetPostgresBackups_Call) Return added in v0.30.9

func (*ClientService_GetPostgresBackups_Call) Run added in v0.30.9

func (*ClientService_GetPostgresBackups_Call) RunAndReturn added in v0.30.9

type ClientService_GetPostgresPartitions_Call added in v0.30.9

type ClientService_GetPostgresPartitions_Call struct {
	*mock.Call
}

ClientService_GetPostgresPartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostgresPartitions'

func (*ClientService_GetPostgresPartitions_Call) Return added in v0.30.9

func (*ClientService_GetPostgresPartitions_Call) Run added in v0.30.9

func (*ClientService_GetPostgresPartitions_Call) RunAndReturn added in v0.30.9

type ClientService_GetPostgresSecrets_Call added in v0.30.9

type ClientService_GetPostgresSecrets_Call struct {
	*mock.Call
}

ClientService_GetPostgresSecrets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostgresSecrets'

func (*ClientService_GetPostgresSecrets_Call) Return added in v0.30.9

func (*ClientService_GetPostgresSecrets_Call) Run added in v0.30.9

func (*ClientService_GetPostgresSecrets_Call) RunAndReturn added in v0.30.9

type ClientService_GetPostgresVersions_Call added in v0.30.9

type ClientService_GetPostgresVersions_Call struct {
	*mock.Call
}

ClientService_GetPostgresVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostgresVersions'

func (*ClientService_GetPostgresVersions_Call) Return added in v0.30.9

func (*ClientService_GetPostgresVersions_Call) Run added in v0.30.9

func (*ClientService_GetPostgresVersions_Call) RunAndReturn added in v0.30.9

type ClientService_GetPostgres_Call added in v0.30.9

type ClientService_GetPostgres_Call struct {
	*mock.Call
}

ClientService_GetPostgres_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPostgres'

func (*ClientService_GetPostgres_Call) Return added in v0.30.9

func (*ClientService_GetPostgres_Call) Run added in v0.30.9

func (*ClientService_GetPostgres_Call) RunAndReturn added in v0.30.9

type ClientService_ListPostgresBackupConfigs_Call added in v0.30.9

type ClientService_ListPostgresBackupConfigs_Call struct {
	*mock.Call
}

ClientService_ListPostgresBackupConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPostgresBackupConfigs'

func (*ClientService_ListPostgresBackupConfigs_Call) Return added in v0.30.9

func (*ClientService_ListPostgresBackupConfigs_Call) Run added in v0.30.9

type ClientService_ListPostgres_Call added in v0.30.9

type ClientService_ListPostgres_Call struct {
	*mock.Call
}

ClientService_ListPostgres_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPostgres'

func (*ClientService_ListPostgres_Call) Return added in v0.30.9

func (*ClientService_ListPostgres_Call) Run added in v0.30.9

func (*ClientService_ListPostgres_Call) RunAndReturn added in v0.30.9

type ClientService_RestorePostgres_Call added in v0.30.9

type ClientService_RestorePostgres_Call struct {
	*mock.Call
}

ClientService_RestorePostgres_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestorePostgres'

func (*ClientService_RestorePostgres_Call) Return added in v0.30.9

func (*ClientService_RestorePostgres_Call) Run added in v0.30.9

func (*ClientService_RestorePostgres_Call) RunAndReturn added in v0.30.9

type ClientService_SetTransport_Call added in v0.30.9

type ClientService_SetTransport_Call struct {
	*mock.Call
}

ClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'

func (*ClientService_SetTransport_Call) Return added in v0.30.9

func (*ClientService_SetTransport_Call) Run added in v0.30.9

func (*ClientService_SetTransport_Call) RunAndReturn added in v0.30.9

type ClientService_UpdatePostgresBackupConfig_Call added in v0.30.9

type ClientService_UpdatePostgresBackupConfig_Call struct {
	*mock.Call
}

ClientService_UpdatePostgresBackupConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePostgresBackupConfig'

func (*ClientService_UpdatePostgresBackupConfig_Call) Return added in v0.30.9

func (*ClientService_UpdatePostgresBackupConfig_Call) Run added in v0.30.9

type ClientService_UpdatePostgres_Call added in v0.30.9

type ClientService_UpdatePostgres_Call struct {
	*mock.Call
}

ClientService_UpdatePostgres_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePostgres'

func (*ClientService_UpdatePostgres_Call) Return added in v0.30.9

func (*ClientService_UpdatePostgres_Call) Run added in v0.30.9

func (*ClientService_UpdatePostgres_Call) RunAndReturn added in v0.30.9

Jump to

Keyboard shortcuts

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