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

mock

package
v0.318.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLogService added in v0.60.0

type AuditLogService struct {
	ListFn        func(context.Context, *ps.ListAuditLogsRequest, ...ps.ListOption) (*ps.CursorPaginatedResponse[*ps.AuditLog], error)
	ListFnInvoked bool
}

func (*AuditLogService) List added in v0.60.0

type BackupPoliciesService added in v0.313.0

type BackupPoliciesService struct {
	ListFn        func(context.Context, *ps.ListBackupPoliciesRequest, ...ps.ListOption) ([]*ps.BackupPolicy, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetBackupPolicyRequest) (*ps.BackupPolicy, error)
	GetFnInvoked bool

	CreateFn        func(context.Context, *ps.CreateBackupPolicyRequest) (*ps.BackupPolicy, error)
	CreateFnInvoked bool

	UpdateFn        func(context.Context, *ps.UpdateBackupPolicyRequest) (*ps.BackupPolicy, error)
	UpdateFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteBackupPolicyRequest) error
	DeleteFnInvoked bool
}

func (*BackupPoliciesService) Create added in v0.313.0

func (*BackupPoliciesService) Delete added in v0.313.0

func (*BackupPoliciesService) Get added in v0.313.0

func (*BackupPoliciesService) List added in v0.313.0

func (*BackupPoliciesService) Update added in v0.313.0

type BackupsService added in v0.17.0

type BackupsService struct {
	CreateFn        func(context.Context, *ps.CreateBackupRequest) (*ps.Backup, error)
	CreateFnInvoked bool

	GetFn        func(context.Context, *ps.GetBackupRequest) (*ps.Backup, error)
	GetFnInvoked bool

	ListFn        func(context.Context, *ps.ListBackupsRequest) ([]*ps.Backup, error)
	ListFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteBackupRequest) error
	DeleteFnInvoked bool
}

func (*BackupsService) Create added in v0.17.0

func (*BackupsService) Delete added in v0.17.0

func (*BackupsService) Get added in v0.17.0

func (*BackupsService) List added in v0.17.0

func (b *BackupsService) List(ctx context.Context, req *ps.ListBackupsRequest) ([]*ps.Backup, error)

type DataImportsService added in v0.99.0

type DataImportsService struct {
	TestDataImportSourceFn          func(ctx context.Context, request *ps.TestDataImportSourceRequest) (*ps.TestDataImportSourceResponse, error)
	TestDataImportSourceFnInvoked   bool
	StartDataImportFn               func(ctx context.Context, request *ps.StartDataImportRequest) (*ps.DataImport, error)
	StartDataImportFnInvoked        bool
	CancelDataImportFn              func(ctx context.Context, request *ps.CancelDataImportRequest) error
	CancelDataImportFnInvoked       bool
	GetDataImportStatusFn           func(ctx context.Context, request *ps.GetImportStatusRequest) (*ps.DataImport, error)
	GetDataImportStatusFnInvoked    bool
	MakePlanetScalePrimaryFn        func(ctx context.Context, request *ps.MakePlanetScalePrimaryRequest) (*ps.DataImport, error)
	MakePlanetScalePrimaryFnInvoked bool
	MakePlanetScaleReplicaFn        func(ctx context.Context, request *ps.MakePlanetScaleReplicaRequest) (*ps.DataImport, error)
	MakePlanetScaleReplicaFnInvoked bool
	DetachExternalDatabaseFn        func(ctx context.Context, request *ps.DetachExternalDatabaseRequest) (*ps.DataImport, error)
	DetachExternalDatabaseFnInvoked bool
}

func (*DataImportsService) CancelDataImport added in v0.99.0

func (d *DataImportsService) CancelDataImport(ctx context.Context, request *ps.CancelDataImportRequest) error

func (*DataImportsService) DetachExternalDatabase added in v0.99.0

func (d *DataImportsService) DetachExternalDatabase(ctx context.Context, request *ps.DetachExternalDatabaseRequest) (*ps.DataImport, error)

func (*DataImportsService) GetDataImportStatus added in v0.99.0

func (d *DataImportsService) GetDataImportStatus(ctx context.Context, request *ps.GetImportStatusRequest) (*ps.DataImport, error)

func (*DataImportsService) MakePlanetScalePrimary added in v0.99.0

func (d *DataImportsService) MakePlanetScalePrimary(ctx context.Context, request *ps.MakePlanetScalePrimaryRequest) (*ps.DataImport, error)

func (*DataImportsService) MakePlanetScaleReplica added in v0.99.0

func (d *DataImportsService) MakePlanetScaleReplica(ctx context.Context, request *ps.MakePlanetScaleReplicaRequest) (*ps.DataImport, error)

func (*DataImportsService) StartDataImport added in v0.99.0

func (d *DataImportsService) StartDataImport(ctx context.Context, request *ps.StartDataImportRequest) (*ps.DataImport, error)

func (*DataImportsService) TestDataImportSource added in v0.99.0

type DatabaseBranchesService added in v0.16.0

type DatabaseBranchesService struct {
	CreateFn        func(context.Context, *ps.CreateDatabaseBranchRequest) (*ps.DatabaseBranch, error)
	CreateFnInvoked bool

	ListFn        func(context.Context, *ps.ListDatabaseBranchesRequest, ...ps.ListOption) ([]*ps.DatabaseBranch, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetDatabaseBranchRequest) (*ps.DatabaseBranch, error)
	GetFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteDatabaseBranchRequest) error
	DeleteFnInvoked bool

	DiffFn        func(context.Context, *ps.DiffBranchRequest) ([]*ps.Diff, error)
	DiffFnInvoked bool

	SchemaFn        func(context.Context, *ps.BranchSchemaRequest) ([]*ps.Diff, error)
	SchemaFnInvoked bool

	RoutingRulesFn        func(context.Context, *ps.BranchRoutingRulesRequest) (*ps.RoutingRules, error)
	RoutingRulesFnInvoked bool

	UpdateRoutingRulesFn        func(context.Context, *ps.UpdateBranchRoutingRulesRequest) (*ps.RoutingRules, error)
	UpdateRoutingRulesFnInvoked bool

	RefreshSchemaFn        func(context.Context, *ps.RefreshSchemaRequest) error
	RefreshSchemaFnInvoked bool

	DemoteFn        func(context.Context, *ps.DemoteRequest) (*ps.DatabaseBranch, error)
	DemoteFnInvoked bool

	EnableSafeMigrationsFn        func(context.Context, *ps.EnableSafeMigrationsRequest) (*ps.DatabaseBranch, error)
	EnableSafeMigrationsFnInvoked bool

	DisableSafeMigrationsFn        func(context.Context, *ps.DisableSafeMigrationsRequest) (*ps.DatabaseBranch, error)
	DisableSafeMigrationsFnInvoked bool

	PromoteFn        func(context.Context, *ps.PromoteRequest) (*ps.DatabaseBranch, error)
	PromoteFnInvoked bool

	LintSchemaFn        func(context.Context, *ps.LintSchemaRequest) ([]*ps.SchemaLintError, error)
	LintSchemaFnInvoked bool

	ListClusterSKUsFn        func(context.Context, *ps.ListBranchClusterSKUsRequest, ...ps.ListOption) ([]*ps.ClusterSKU, error)
	ListClusterSKUsFnInvoked bool

	ResizeFn        func(context.Context, *ps.ResizeBranchRequest) (*ps.BranchResizeRequest, error)
	ResizeFnInvoked bool

	ListResizesFn        func(context.Context, *ps.ListBranchResizesRequest) ([]*ps.BranchResizeRequest, error)
	ListResizesFnInvoked bool

	CancelResizeFn        func(context.Context, *ps.CancelBranchResizeRequest) error
	CancelResizeFnInvoked bool

	ResizeStatusFn        func(context.Context, *ps.BranchResizeStatusRequest) (*ps.BranchResizeRequest, error)
	ResizeStatusFnInvoked bool
}

func (*DatabaseBranchesService) CancelResize added in v0.310.0

func (*DatabaseBranchesService) Create added in v0.16.0

func (*DatabaseBranchesService) Delete added in v0.16.0

func (*DatabaseBranchesService) Demote added in v0.131.0

func (*DatabaseBranchesService) Diff added in v0.21.0

func (*DatabaseBranchesService) DisableSafeMigrations added in v0.132.0

func (*DatabaseBranchesService) EnableSafeMigrations added in v0.132.0

func (*DatabaseBranchesService) Get added in v0.16.0

func (*DatabaseBranchesService) LintSchema added in v0.134.0

func (*DatabaseBranchesService) List added in v0.16.0

func (*DatabaseBranchesService) ListClusterSKUs added in v0.224.0

func (*DatabaseBranchesService) ListResizes added in v0.310.0

func (*DatabaseBranchesService) Promote added in v0.64.0

func (*DatabaseBranchesService) RefreshSchema added in v0.28.0

func (*DatabaseBranchesService) Resize added in v0.310.0

func (*DatabaseBranchesService) ResizeStatus added in v0.310.0

func (*DatabaseBranchesService) RoutingRules added in v0.187.0

func (*DatabaseBranchesService) Schema added in v0.21.0

func (*DatabaseBranchesService) UpdateRoutingRules added in v0.187.0

type DatabaseService

type DatabaseService struct {
	CreateFn        func(context.Context, *ps.CreateDatabaseRequest) (*ps.Database, error)
	CreateFnInvoked bool

	GetFn        func(context.Context, *ps.GetDatabaseRequest) (*ps.Database, error)
	GetFnInvoked bool

	ListFn        func(context.Context, *ps.ListDatabasesRequest, ...ps.ListOption) ([]*ps.Database, error)
	ListFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteDatabaseRequest) (*ps.DatabaseDeletionRequest, error)
	DeleteFnInvoked bool

	UpdateSettingsFn        func(context.Context, *ps.UpdateDatabaseSettingsRequest) (*ps.Database, error)
	UpdateSettingsFnInvoked bool
}

func (*DatabaseService) Create

func (*DatabaseService) Delete

func (*DatabaseService) Get

func (*DatabaseService) List

func (d *DatabaseService) List(ctx context.Context, req *ps.ListDatabasesRequest, opts ...ps.ListOption) ([]*ps.Database, error)

func (*DatabaseService) UpdateSettings added in v0.313.0

type DeployRequestsService added in v0.16.1

type DeployRequestsService struct {
	ApplyFn        func(context.Context, *ps.ApplyDeployRequestRequest) (*ps.DeployRequest, error)
	ApplyFnInvoked bool

	ForceCutoverFn        func(context.Context, *ps.ForceCutoverDeployRequestRequest) (*ps.DeployRequest, error)
	ForceCutoverFnInvoked bool

	AutoApplyFn        func(context.Context, *ps.AutoApplyDeployRequestRequest) (*ps.DeployRequest, error)
	AutoApplyFnInvoked bool

	CancelFn        func(context.Context, *ps.CancelDeployRequestRequest) (*ps.DeployRequest, error)
	CancelFnInvoked bool

	CloseFn        func(context.Context, *ps.CloseDeployRequestRequest) (*ps.DeployRequest, error)
	CloseFnInvoked bool

	CreateFn        func(context.Context, *ps.CreateDeployRequestRequest) (*ps.DeployRequest, error)
	CreateFnInvoked bool

	CreateReviewFn        func(context.Context, *ps.ReviewDeployRequestRequest) (*ps.DeployRequestReview, error)
	CreateReviewFnInvoked bool

	DeployFn        func(context.Context, *ps.PerformDeployRequest) (*ps.DeployRequest, error)
	DeployFnInvoked bool

	DiffFn        func(context.Context, *ps.DiffRequest) ([]*ps.Diff, error)
	DiffFnInvoked bool

	GetFn        func(context.Context, *ps.GetDeployRequestRequest) (*ps.DeployRequest, error)
	GetFnInvoked bool

	ListFn        func(context.Context, *ps.ListDeployRequestsRequest) ([]*ps.DeployRequest, error)
	ListFnInvoked bool

	RevertDeployFn        func(context.Context, *ps.RevertDeployRequestRequest) (*ps.DeployRequest, error)
	RevertDeployFnInvoked bool

	SkipRevertDeployFn        func(context.Context, *ps.SkipRevertDeployRequestRequest) (*ps.DeployRequest, error)
	SkipRevertDeployFnInvoked bool

	AutoApplyDeployFn        func(context.Context, *ps.AutoApplyDeployRequestRequest) (*ps.DeployRequest, error)
	AutoApplyDeployFnInvoked bool

	GetDeployOperationsFn        func(context.Context, *ps.GetDeployOperationsRequest) ([]*ps.DeployOperation, error)
	GetDeployOperationsFnInvoked bool

	GetDeployQueueFn        func(context.Context, *ps.GetDeployQueueRequest) ([]*ps.Deployment, error)
	GetDeployQueueFnInvoked bool

	GetDeploymentFn        func(context.Context, *ps.GetDeploymentRequest) (*ps.Deployment, error)
	GetDeploymentFnInvoked bool

	ListReviewsFn        func(context.Context, *ps.ListDeployRequestReviewsRequest) ([]*ps.DeployRequestReview, error)
	ListReviewsFnInvoked bool

	CheckStorageFn        func(context.Context, *ps.CheckDeployRequestStorageRequest) (*ps.DeployRequestStorageCheck, error)
	CheckStorageFnInvoked bool

	GetThrottlerFn        func(context.Context, *ps.GetDeployRequestThrottlerRequest) (*ps.DeployRequestThrottler, error)
	GetThrottlerFnInvoked bool

	UpdateThrottlerFn        func(context.Context, *ps.UpdateDeployRequestThrottlerRequest) (*ps.DeployRequestThrottler, error)
	UpdateThrottlerFnInvoked bool
}

func (*DeployRequestsService) ApplyDeploy added in v0.116.0

func (*DeployRequestsService) AutoApplyDeploy added in v0.116.0

func (*DeployRequestsService) CancelDeploy added in v0.16.1

func (*DeployRequestsService) CheckStorage added in v0.317.0

func (*DeployRequestsService) CloseDeploy added in v0.16.1

func (*DeployRequestsService) Create added in v0.16.1

func (*DeployRequestsService) CreateReview added in v0.16.1

func (*DeployRequestsService) Deploy added in v0.16.1

func (*DeployRequestsService) Diff added in v0.16.1

func (d *DeployRequestsService) Diff(ctx context.Context, req *ps.DiffRequest) ([]*ps.Diff, error)

func (*DeployRequestsService) ForceCutover added in v0.316.0

func (*DeployRequestsService) Get added in v0.16.1

func (*DeployRequestsService) GetDeployOperations added in v0.217.0

func (*DeployRequestsService) GetDeployQueue added in v0.317.0

func (d *DeployRequestsService) GetDeployQueue(ctx context.Context, req *ps.GetDeployQueueRequest) ([]*ps.Deployment, error)

func (*DeployRequestsService) GetDeployment added in v0.317.0

func (*DeployRequestsService) GetThrottler added in v0.317.0

func (*DeployRequestsService) List added in v0.16.1

func (*DeployRequestsService) ListReviews added in v0.317.0

func (*DeployRequestsService) RevertDeploy added in v0.101.0

func (*DeployRequestsService) SkipRevertDeploy added in v0.101.0

func (*DeployRequestsService) UpdateThrottler added in v0.317.0

type KeyspacesService added in v0.213.0

type KeyspacesService struct {
	ListFn        func(context.Context, *ps.ListKeyspacesRequest) ([]*ps.Keyspace, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetKeyspaceRequest) (*ps.Keyspace, error)
	GetFnInvoked bool

	UpdateReadOnlyRegionsFn        func(context.Context, *ps.UpdateReadOnlyRegionsRequest) ([]*ps.ReadOnlyRegionKeyspace, error)
	UpdateReadOnlyRegionsFnInvoked bool

	VSchemaFn        func(context.Context, *ps.GetKeyspaceVSchemaRequest) (*ps.VSchema, error)
	VSchemaFnInvoked bool

	UpdateVSchemaFn        func(context.Context, *ps.UpdateKeyspaceVSchemaRequest) (*ps.VSchema, error)
	UpdateVSchemaFnInvoked bool

	CreateFn        func(context.Context, *ps.CreateKeyspaceRequest) (*ps.Keyspace, error)
	CreateFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteKeyspaceRequest) error
	DeleteFnInvoked bool

	ResizeFn        func(context.Context, *ps.ResizeKeyspaceRequest) (*ps.KeyspaceResizeRequest, error)
	ResizeFnInvoked bool

	CancelResizeFn        func(context.Context, *ps.CancelKeyspaceResizeRequest) error
	CancelResizeFnInvoked bool

	ResizeStatusFn        func(context.Context, *ps.KeyspaceResizeStatusRequest) (*ps.KeyspaceResizeRequest, error)
	ResizeStatusFnInvoked bool

	RolloutStatusFn        func(context.Context, *ps.KeyspaceRolloutStatusRequest) (*ps.KeyspaceRollout, error)
	RolloutStatusFnInvoked bool

	UpdateSettingsFn        func(context.Context, *ps.UpdateKeyspaceSettingsRequest) (*ps.Keyspace, error)
	UpdateSettingsFnInvoked bool
}

func (*KeyspacesService) CancelResize added in v0.213.0

func (*KeyspacesService) Create added in v0.213.0

func (*KeyspacesService) Delete added in v0.316.0

func (*KeyspacesService) Get added in v0.213.0

func (*KeyspacesService) List added in v0.213.0

func (*KeyspacesService) Resize added in v0.213.0

func (*KeyspacesService) ResizeStatus added in v0.213.0

func (*KeyspacesService) RolloutStatus added in v0.221.0

func (*KeyspacesService) UpdateReadOnlyRegions added in v0.313.0

func (*KeyspacesService) UpdateSettings added in v0.234.0

func (*KeyspacesService) UpdateVSchema added in v0.213.0

func (*KeyspacesService) VSchema added in v0.213.0

type LookupVindexService added in v0.272.0

type LookupVindexService struct {
	CreateFn        func(context.Context, *ps.LookupVindexCreateRequest) (json.RawMessage, error)
	CreateFnInvoked bool

	ShowFn        func(context.Context, *ps.LookupVindexShowRequest) (json.RawMessage, error)
	ShowFnInvoked bool

	ExternalizeFn        func(context.Context, *ps.LookupVindexExternalizeRequest) (json.RawMessage, error)
	ExternalizeFnInvoked bool

	InternalizeFn        func(context.Context, *ps.LookupVindexInternalizeRequest) (json.RawMessage, error)
	InternalizeFnInvoked bool

	CancelFn        func(context.Context, *ps.LookupVindexCancelRequest) (json.RawMessage, error)
	CancelFnInvoked bool

	CompleteFn        func(context.Context, *ps.LookupVindexCompleteRequest) (json.RawMessage, error)
	CompleteFnInvoked bool
}

func (*LookupVindexService) Cancel added in v0.272.0

func (*LookupVindexService) Complete added in v0.272.0

func (*LookupVindexService) Create added in v0.272.0

func (*LookupVindexService) Externalize added in v0.272.0

func (*LookupVindexService) Internalize added in v0.272.0

func (*LookupVindexService) Show added in v0.272.0

type MaintenanceSchedulesService added in v0.318.0

type MaintenanceSchedulesService struct {
	ListFn        func(context.Context, *ps.ListMaintenanceSchedulesRequest, ...ps.ListOption) ([]*ps.MaintenanceSchedule, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetMaintenanceScheduleRequest) (*ps.MaintenanceSchedule, error)
	GetFnInvoked bool

	ListWindowsFn        func(context.Context, *ps.ListMaintenanceWindowsRequest, ...ps.ListOption) ([]*ps.MaintenanceWindow, error)
	ListWindowsFnInvoked bool
}

func (*MaintenanceSchedulesService) Get added in v0.318.0

func (*MaintenanceSchedulesService) List added in v0.318.0

func (*MaintenanceSchedulesService) ListWindows added in v0.318.0

type MaterializeService added in v0.272.0

type MaterializeService struct {
	CreateFn        func(context.Context, *ps.MaterializeCreateRequest) (json.RawMessage, error)
	CreateFnInvoked bool

	ShowFn        func(context.Context, *ps.MaterializeShowRequest) (json.RawMessage, error)
	ShowFnInvoked bool

	StartFn        func(context.Context, *ps.MaterializeStartRequest) (json.RawMessage, error)
	StartFnInvoked bool

	StopFn        func(context.Context, *ps.MaterializeStopRequest) (json.RawMessage, error)
	StopFnInvoked bool

	CancelFn        func(context.Context, *ps.MaterializeCancelRequest) (json.RawMessage, error)
	CancelFnInvoked bool
}

func (*MaterializeService) Cancel added in v0.272.0

func (*MaterializeService) Create added in v0.272.0

func (*MaterializeService) Show added in v0.272.0

func (*MaterializeService) Start added in v0.272.0

func (*MaterializeService) Stop added in v0.272.0

type MoveTablesService added in v0.272.0

type MoveTablesService struct {
	CreateFn        func(context.Context, *ps.MoveTablesCreateRequest) (*ps.VtctldOperationReference, error)
	CreateFnInvoked bool

	ShowFn        func(context.Context, *ps.MoveTablesShowRequest) (json.RawMessage, error)
	ShowFnInvoked bool

	StatusFn        func(context.Context, *ps.MoveTablesStatusRequest) (json.RawMessage, error)
	StatusFnInvoked bool

	SwitchTrafficFn        func(context.Context, *ps.MoveTablesSwitchTrafficRequest) (*ps.VtctldOperationReference, error)
	SwitchTrafficFnInvoked bool

	ReverseTrafficFn        func(context.Context, *ps.MoveTablesReverseTrafficRequest) (*ps.VtctldOperationReference, error)
	ReverseTrafficFnInvoked bool

	CancelFn        func(context.Context, *ps.MoveTablesCancelRequest) (*ps.VtctldOperationReference, error)
	CancelFnInvoked bool

	CompleteFn        func(context.Context, *ps.MoveTablesCompleteRequest) (*ps.VtctldOperationReference, error)
	CompleteFnInvoked bool
}

func (*MoveTablesService) Cancel added in v0.272.0

func (*MoveTablesService) Complete added in v0.272.0

func (*MoveTablesService) Create added in v0.272.0

func (*MoveTablesService) ReverseTraffic added in v0.272.0

func (*MoveTablesService) Show added in v0.272.0

func (*MoveTablesService) Status added in v0.272.0

func (*MoveTablesService) SwitchTraffic added in v0.272.0

type OrganizationsService added in v0.19.0

type OrganizationsService struct {
	GetFn        func(context.Context, *ps.GetOrganizationRequest) (*ps.Organization, error)
	GetFnInvoked bool

	ListFn        func(context.Context) ([]*ps.Organization, error)
	ListFnInvoked bool

	ListRegionsFn        func(context.Context, *ps.ListOrganizationRegionsRequest) ([]*ps.Region, error)
	ListRegionsFnInvoked bool

	ListClusterSKUsFn        func(context.Context, *ps.ListOrganizationClusterSKUsRequest, ...ps.ListOption) ([]*ps.ClusterSKU, error)
	ListClusterSKUsFnInvoked bool
}

func (*OrganizationsService) Get added in v0.19.0

func (*OrganizationsService) List added in v0.19.0

func (*OrganizationsService) ListClusterSKUs added in v0.224.0

func (*OrganizationsService) ListRegions added in v0.64.0

type PasswordsService added in v0.64.0

func (*PasswordsService) Create added in v0.64.0

func (*PasswordsService) Delete added in v0.64.0

func (*PasswordsService) Get added in v0.64.0

func (*PasswordsService) List added in v0.64.0

func (*PasswordsService) Renew added in v0.179.0

type PlannedReparentShardService added in v0.279.0

type PlannedReparentShardService struct {
	CreateFn        func(context.Context, *ps.PlannedReparentShardRequest) (*ps.VtctldOperation, error)
	CreateFnInvoked bool

	GetFn        func(context.Context, *ps.GetPlannedReparentShardRequest) (*ps.VtctldOperation, error)
	GetFnInvoked bool
}

func (*PlannedReparentShardService) Create added in v0.279.0

func (*PlannedReparentShardService) Get added in v0.279.0

type PostgresBouncersService added in v0.314.0

type PostgresBouncersService struct {
	ListFn        func(context.Context, *ps.ListPostgresBouncersRequest, ...ps.ListOption) ([]*ps.PostgresBouncer, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetPostgresBouncerRequest) (*ps.PostgresBouncer, error)
	GetFnInvoked bool

	CreateFn        func(context.Context, *ps.CreatePostgresBouncerRequest) (*ps.PostgresBouncer, error)
	CreateFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeletePostgresBouncerRequest) error
	DeleteFnInvoked bool

	ListResizesFn        func(context.Context, *ps.ListPostgresBouncerResizesRequest, ...ps.ListOption) ([]*ps.PostgresBouncerResizeRequest, error)
	ListResizesFnInvoked bool

	ResizeFn        func(context.Context, *ps.ResizePostgresBouncerRequest) (*ps.PostgresBouncerResizeRequest, error)
	ResizeFnInvoked bool

	CancelResizesFn        func(context.Context, *ps.CancelPostgresBouncerResizesRequest) error
	CancelResizesFnInvoked bool
}

func (*PostgresBouncersService) CancelResizes added in v0.314.0

func (*PostgresBouncersService) Create added in v0.314.0

func (*PostgresBouncersService) Delete added in v0.314.0

func (*PostgresBouncersService) Get added in v0.314.0

func (*PostgresBouncersService) List added in v0.314.0

func (*PostgresBouncersService) ListResizes added in v0.314.0

func (*PostgresBouncersService) Resize added in v0.314.0

type PostgresBranchesService added in v0.247.0

type PostgresBranchesService struct {
	CreateFn        func(context.Context, *ps.CreatePostgresBranchRequest) (*ps.PostgresBranch, error)
	CreateFnInvoked bool

	ListFn        func(context.Context, *ps.ListPostgresBranchesRequest, ...ps.ListOption) ([]*ps.PostgresBranch, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetPostgresBranchRequest) (*ps.PostgresBranch, error)
	GetFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeletePostgresBranchRequest) error
	DeleteFnInvoked bool

	SchemaFn        func(context.Context, *ps.PostgresBranchSchemaRequest) ([]*ps.PostgresBranchSchema, error)
	SchemaFnInvoked bool

	ListClusterSKUsFn        func(context.Context, *ps.ListBranchClusterSKUsRequest, ...ps.ListOption) ([]*ps.ClusterSKU, error)
	ListClusterSKUsFnInvoked bool

	ResizeFn        func(context.Context, *ps.ResizePostgresBranchRequest) (*ps.PostgresBranchClusterResizeRequest, error)
	ResizeFnInvoked bool

	ListChangesFn        func(context.Context, *ps.ListPostgresBranchChangesRequest) ([]*ps.PostgresBranchClusterResizeRequest, error)
	ListChangesFnInvoked bool

	GetChangeFn        func(context.Context, *ps.GetPostgresBranchChangeRequest) (*ps.PostgresBranchClusterResizeRequest, error)
	GetChangeFnInvoked bool

	CancelChangesFn        func(context.Context, *ps.CancelPostgresBranchChangesRequest) error
	CancelChangesFnInvoked bool

	ListParametersFn        func(context.Context, *ps.ListPostgresParametersRequest) ([]*ps.PostgresParameter, error)
	ListParametersFnInvoked bool
}

func (*PostgresBranchesService) CancelChanges added in v0.304.0

func (*PostgresBranchesService) Create added in v0.247.0

func (*PostgresBranchesService) Delete added in v0.247.0

func (*PostgresBranchesService) Get added in v0.247.0

func (*PostgresBranchesService) GetChange added in v0.304.0

func (*PostgresBranchesService) List added in v0.247.0

func (*PostgresBranchesService) ListChanges added in v0.304.0

func (*PostgresBranchesService) ListClusterSKUs added in v0.247.0

func (*PostgresBranchesService) ListParameters added in v0.304.0

func (*PostgresBranchesService) Resize added in v0.292.0

func (*PostgresBranchesService) Schema added in v0.247.0

type PostgresCIDRsService added in v0.313.0

type PostgresCIDRsService struct {
	ListFn        func(context.Context, *ps.ListPostgresCIDRsRequest, ...ps.ListOption) ([]*ps.PostgresCIDR, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetPostgresCIDRRequest) (*ps.PostgresCIDR, error)
	GetFnInvoked bool

	CreateFn        func(context.Context, *ps.CreatePostgresCIDRRequest) (*ps.PostgresCIDR, error)
	CreateFnInvoked bool

	UpdateFn        func(context.Context, *ps.UpdatePostgresCIDRRequest) (*ps.PostgresCIDR, error)
	UpdateFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeletePostgresCIDRRequest) error
	DeleteFnInvoked bool
}

func (*PostgresCIDRsService) Create added in v0.313.0

func (*PostgresCIDRsService) Delete added in v0.313.0

func (*PostgresCIDRsService) Get added in v0.313.0

func (*PostgresCIDRsService) List added in v0.313.0

func (*PostgresCIDRsService) Update added in v0.313.0

type PostgresRolesService added in v0.248.0

type PostgresRolesService struct {
	ListFn                    func(context.Context, *ps.ListPostgresRolesRequest, ...ps.ListOption) ([]*ps.PostgresRole, error)
	ListFnInvoked             bool
	GetFn                     func(context.Context, *ps.GetPostgresRoleRequest) (*ps.PostgresRole, error)
	GetFnInvoked              bool
	CreateFn                  func(context.Context, *ps.CreatePostgresRoleRequest) (*ps.PostgresRole, error)
	CreateFnInvoked           bool
	UpdateFn                  func(context.Context, *ps.UpdatePostgresRoleRequest) (*ps.PostgresRole, error)
	UpdateFnInvoked           bool
	RenewFn                   func(context.Context, *ps.RenewPostgresRoleRequest) (*ps.PostgresRole, error)
	RenewFnInvoked            bool
	DeleteFn                  func(context.Context, *ps.DeletePostgresRoleRequest) error
	DeleteFnInvoked           bool
	ResetDefaultRoleFn        func(context.Context, *ps.ResetDefaultRoleRequest) (*ps.PostgresRole, error)
	ResetDefaultRoleFnInvoked bool
	ResetPasswordFn           func(context.Context, *ps.ResetPostgresRolePasswordRequest) (*ps.PostgresRole, error)
	ResetPasswordFnInvoked    bool
	ReassignObjectsFn         func(context.Context, *ps.ReassignPostgresRoleObjectsRequest) error
	ReassignObjectsFnInvoked  bool
}

func (*PostgresRolesService) Create added in v0.251.0

func (*PostgresRolesService) Delete added in v0.251.0

func (*PostgresRolesService) Get added in v0.251.0

func (*PostgresRolesService) List added in v0.251.0

func (*PostgresRolesService) ReassignObjects added in v0.261.0

func (*PostgresRolesService) Renew added in v0.251.0

func (*PostgresRolesService) ResetDefaultRole added in v0.248.0

func (*PostgresRolesService) ResetPassword added in v0.261.0

func (*PostgresRolesService) Update added in v0.251.0

type ProcesslistService added in v0.287.0

type ProcesslistService struct {
	ListFn        func(context.Context, *ps.ProcesslistRequest) (*ps.ProcesslistResult, error)
	ListFnInvoked bool

	KillFn        func(context.Context, *ps.KillProcessRequest) (*ps.KillProcessResult, error)
	KillFnInvoked bool
}

func (*ProcesslistService) Kill added in v0.287.0

func (*ProcesslistService) List added in v0.287.0

type QueryInsightsService added in v0.307.0

type QueryInsightsService struct {
	ListQueriesFn        func(context.Context, *ps.ListQueryInsightsRequest, ...ps.ListOption) ([]*ps.QueryInsight, error)
	ListQueriesFnInvoked bool

	ListQuerySamplesFn        func(context.Context, *ps.ListQuerySamplesRequest, ...ps.ListOption) ([]*ps.QuerySample, error)
	ListQuerySamplesFnInvoked bool

	ListErrorsFn        func(context.Context, *ps.ListQueryInsightsErrorsRequest, ...ps.ListOption) ([]*ps.QueryInsightError, error)
	ListErrorsFnInvoked bool

	ListAnomaliesFn        func(context.Context, *ps.ListAnomaliesRequest, ...ps.ListOption) ([]*ps.Anomaly, error)
	ListAnomaliesFnInvoked bool

	ListTagsFn        func(context.Context, *ps.ListQueryTagsRequest, ...ps.ListOption) ([]*ps.QueryTag, error)
	ListTagsFnInvoked bool

	GetTagFn        func(context.Context, *ps.GetQueryTagRequest, ...ps.ListOption) (*ps.QueryTag, error)
	GetTagFnInvoked bool

	ListTagSummariesFn        func(context.Context, *ps.ListTagSummariesRequest, ...ps.ListOption) ([]*ps.TagSummary, error)
	ListTagSummariesFnInvoked bool
}

func (*QueryInsightsService) GetTag added in v0.315.0

func (*QueryInsightsService) ListAnomalies added in v0.307.0

func (s *QueryInsightsService) ListAnomalies(ctx context.Context, req *ps.ListAnomaliesRequest, opts ...ps.ListOption) ([]*ps.Anomaly, error)

func (*QueryInsightsService) ListErrors added in v0.307.0

func (*QueryInsightsService) ListQueries added in v0.307.0

func (*QueryInsightsService) ListQuerySamples added in v0.315.0

func (s *QueryInsightsService) ListQuerySamples(ctx context.Context, req *ps.ListQuerySamplesRequest, opts ...ps.ListOption) ([]*ps.QuerySample, error)

func (*QueryInsightsService) ListTagSummaries added in v0.315.0

func (s *QueryInsightsService) ListTagSummaries(ctx context.Context, req *ps.ListTagSummariesRequest, opts ...ps.ListOption) ([]*ps.TagSummary, error)

func (*QueryInsightsService) ListTags added in v0.315.0

func (s *QueryInsightsService) ListTags(ctx context.Context, req *ps.ListQueryTagsRequest, opts ...ps.ListOption) ([]*ps.QueryTag, error)

type ReadOnlyRegionsService added in v0.312.0

type ReadOnlyRegionsService struct {
	ListFn        func(context.Context, *ps.ListReadOnlyRegionsRequest, ...ps.ListOption) ([]*ps.ReadOnlyRegion, error)
	ListFnInvoked bool
}

func (*ReadOnlyRegionsService) List added in v0.312.0

type SchemaRecommendationService added in v0.307.0

type SchemaRecommendationService struct {
	ListFn        func(context.Context, *ps.ListSchemaRecommendationsRequest, ...ps.ListOption) ([]*ps.SchemaRecommendation, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetSchemaRecommendationRequest) (*ps.SchemaRecommendation, error)
	GetFnInvoked bool

	DismissFn        func(context.Context, *ps.DismissSchemaRecommendationRequest) (*ps.SchemaRecommendation, error)
	DismissFnInvoked bool
}

func (*SchemaRecommendationService) Dismiss added in v0.307.0

func (*SchemaRecommendationService) Get added in v0.307.0

func (*SchemaRecommendationService) List added in v0.307.0

type ServiceTokenService added in v0.21.0

type ServiceTokenService struct {
	CreateFn        func(context.Context, *ps.CreateServiceTokenRequest) (*ps.ServiceToken, error)
	CreateFnInvoked bool

	ListFn        func(context.Context, *ps.ListServiceTokensRequest) ([]*ps.ServiceToken, error)
	ListFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteServiceTokenRequest) error
	DeleteFnInvoked bool

	GetAccessFn        func(context.Context, *ps.GetServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error)
	GetAccessFnInvoked bool

	AddAccessFn        func(context.Context, *ps.AddServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error)
	AddAccessFnInvoked bool

	DeleteAccessFn        func(context.Context, *ps.DeleteServiceTokenAccessRequest) error
	DeleteAccessFnInvoked bool

	ListGrantsFn        func(context.Context, *ps.ListServiceTokenGrantsRequest) ([]*ps.ServiceTokenGrant, error)
	ListGrantsFnInvoked bool
}

func (*ServiceTokenService) AddAccess added in v0.21.0

func (*ServiceTokenService) Create added in v0.21.0

func (*ServiceTokenService) Delete added in v0.21.0

func (*ServiceTokenService) DeleteAccess added in v0.21.0

func (*ServiceTokenService) GetAccess added in v0.21.0

func (*ServiceTokenService) List added in v0.21.0

func (*ServiceTokenService) ListGrants added in v0.124.0

type TrafficBudgetsService added in v0.277.0

type TrafficBudgetsService struct {
	ListFn          func(context.Context, *ps.ListTrafficBudgetsRequest) ([]*ps.TrafficBudget, error)
	ListFnInvoked   bool
	GetFn           func(context.Context, *ps.GetTrafficBudgetRequest) (*ps.TrafficBudget, error)
	GetFnInvoked    bool
	CreateFn        func(context.Context, *ps.CreateTrafficBudgetRequest) (*ps.TrafficBudget, error)
	CreateFnInvoked bool
	UpdateFn        func(context.Context, *ps.UpdateTrafficBudgetRequest) (*ps.TrafficBudget, error)
	UpdateFnInvoked bool
	DeleteFn        func(context.Context, *ps.DeleteTrafficBudgetRequest) error
	DeleteFnInvoked bool
}

func (*TrafficBudgetsService) Create added in v0.277.0

func (*TrafficBudgetsService) Delete added in v0.277.0

func (*TrafficBudgetsService) Get added in v0.277.0

func (*TrafficBudgetsService) List added in v0.277.0

func (*TrafficBudgetsService) Update added in v0.277.0

type TrafficRulesService added in v0.277.0

type TrafficRulesService struct {
	CreateFn        func(context.Context, *ps.CreateTrafficRuleRequest) (*ps.TrafficRule, error)
	CreateFnInvoked bool
	DeleteFn        func(context.Context, *ps.DeleteTrafficRuleRequest) error
	DeleteFnInvoked bool
}

func (*TrafficRulesService) Create added in v0.277.0

func (*TrafficRulesService) Delete added in v0.277.0

type VDiffService added in v0.272.0

type VDiffService struct {
	CreateFn        func(context.Context, *ps.VDiffCreateRequest) (json.RawMessage, error)
	CreateFnInvoked bool

	ListFn        func(context.Context, *ps.VDiffListRequest) (json.RawMessage, error)
	ListFnInvoked bool

	ShowFn        func(context.Context, *ps.VDiffShowRequest) (json.RawMessage, error)
	ShowFnInvoked bool

	StopFn        func(context.Context, *ps.VDiffStopRequest) (json.RawMessage, error)
	StopFnInvoked bool

	ResumeFn        func(context.Context, *ps.VDiffResumeRequest) (json.RawMessage, error)
	ResumeFnInvoked bool

	DeleteFn        func(context.Context, *ps.VDiffDeleteRequest) (json.RawMessage, error)
	DeleteFnInvoked bool
}

func (*VDiffService) Create added in v0.272.0

func (*VDiffService) Delete added in v0.272.0

func (*VDiffService) List added in v0.275.0

func (*VDiffService) Resume added in v0.272.0

func (*VDiffService) Show added in v0.272.0

func (*VDiffService) Stop added in v0.272.0

type VtctldService added in v0.272.0

type VtctldService struct {
	ListWorkflowsFn        func(context.Context, *ps.VtctldListWorkflowsRequest) (json.RawMessage, error)
	ListWorkflowsFnInvoked bool

	ListKeyspacesFn        func(context.Context, *ps.VtctldListKeyspacesRequest) (json.RawMessage, error)
	ListKeyspacesFnInvoked bool

	GetRoutingRulesFn        func(context.Context, *ps.VtctldGetRoutingRulesRequest) (json.RawMessage, error)
	GetRoutingRulesFnInvoked bool

	GetKeyspaceRoutingRulesFn        func(context.Context, *ps.VtctldGetKeyspaceRoutingRulesRequest) (json.RawMessage, error)
	GetKeyspaceRoutingRulesFnInvoked bool

	ApplyKeyspaceRoutingRulesFn        func(context.Context, *ps.VtctldApplyKeyspaceRoutingRulesRequest) (json.RawMessage, error)
	ApplyKeyspaceRoutingRulesFnInvoked bool

	GetShardFn        func(context.Context, *ps.VtctldGetShardRequest) (json.RawMessage, error)
	GetShardFnInvoked bool

	SetShardTabletControlFn        func(context.Context, *ps.VtctldSetShardTabletControlRequest) (json.RawMessage, error)
	SetShardTabletControlFnInvoked bool

	RefreshStateByShardFn        func(context.Context, *ps.VtctldRefreshStateByShardRequest) (json.RawMessage, error)
	RefreshStateByShardFnInvoked bool

	ListTabletsFn        func(context.Context, *ps.ListBranchTabletsRequest) ([]*ps.TabletGroup, error)
	ListTabletsFnInvoked bool

	StartWorkflowFn        func(context.Context, *ps.VtctldStartWorkflowRequest) (json.RawMessage, error)
	StartWorkflowFnInvoked bool

	StopWorkflowFn        func(context.Context, *ps.VtctldStopWorkflowRequest) (json.RawMessage, error)
	StopWorkflowFnInvoked bool

	GetThrottlerStatusFn        func(context.Context, *ps.VtctldGetThrottlerStatusRequest) (json.RawMessage, error)
	GetThrottlerStatusFnInvoked bool

	CheckThrottlerFn        func(context.Context, *ps.VtctldCheckThrottlerRequest) (json.RawMessage, error)
	CheckThrottlerFnInvoked bool

	UpdateThrottlerConfigFn        func(context.Context, *ps.VtctldUpdateThrottlerConfigRequest) (json.RawMessage, error)
	UpdateThrottlerConfigFnInvoked bool

	GetOperationFn        func(context.Context, *ps.GetVtctldOperationRequest) (*ps.VtctldOperation, error)
	GetOperationFnInvoked bool
}

func (*VtctldService) ApplyKeyspaceRoutingRules added in v0.316.0

func (s *VtctldService) ApplyKeyspaceRoutingRules(ctx context.Context, req *ps.VtctldApplyKeyspaceRoutingRulesRequest) (json.RawMessage, error)

func (*VtctldService) CheckThrottler added in v0.286.0

func (*VtctldService) GetKeyspaceRoutingRules added in v0.316.0

func (s *VtctldService) GetKeyspaceRoutingRules(ctx context.Context, req *ps.VtctldGetKeyspaceRoutingRulesRequest) (json.RawMessage, error)

func (*VtctldService) GetOperation added in v0.274.0

func (*VtctldService) GetRoutingRules added in v0.290.0

func (*VtctldService) GetShard added in v0.291.0

func (*VtctldService) GetThrottlerStatus added in v0.286.0

func (*VtctldService) ListKeyspaces added in v0.272.0

func (*VtctldService) ListTablets added in v0.279.0

func (s *VtctldService) ListTablets(ctx context.Context, req *ps.ListBranchTabletsRequest) ([]*ps.TabletGroup, error)

func (*VtctldService) ListWorkflows added in v0.272.0

func (*VtctldService) RefreshStateByShard added in v0.292.0

func (*VtctldService) SetShardTabletControl added in v0.292.0

func (s *VtctldService) SetShardTabletControl(ctx context.Context, req *ps.VtctldSetShardTabletControlRequest) (json.RawMessage, error)

func (*VtctldService) StartWorkflow added in v0.272.0

func (*VtctldService) StopWorkflow added in v0.272.0

func (*VtctldService) UpdateThrottlerConfig added in v0.286.0

func (s *VtctldService) UpdateThrottlerConfig(ctx context.Context, req *ps.VtctldUpdateThrottlerConfigRequest) (json.RawMessage, error)

type WebhooksService added in v0.264.0

type WebhooksService struct {
	ListFn        func(context.Context, *ps.ListWebhooksRequest, ...ps.ListOption) ([]*ps.Webhook, error)
	ListFnInvoked bool

	CreateFn        func(context.Context, *ps.CreateWebhookRequest) (*ps.Webhook, error)
	CreateFnInvoked bool

	GetFn        func(context.Context, *ps.GetWebhookRequest) (*ps.Webhook, error)
	GetFnInvoked bool

	UpdateFn        func(context.Context, *ps.UpdateWebhookRequest) (*ps.Webhook, error)
	UpdateFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteWebhookRequest) error
	DeleteFnInvoked bool

	TestFn        func(context.Context, *ps.TestWebhookRequest) error
	TestFnInvoked bool
}

func (*WebhooksService) Create added in v0.264.0

func (*WebhooksService) Delete added in v0.264.0

func (*WebhooksService) Get added in v0.264.0

func (*WebhooksService) List added in v0.264.0

func (w *WebhooksService) List(ctx context.Context, req *ps.ListWebhooksRequest, opts ...ps.ListOption) ([]*ps.Webhook, error)

func (*WebhooksService) Test added in v0.264.0

func (*WebhooksService) Update added in v0.264.0

type WorkflowsService added in v0.231.0

type WorkflowsService struct {
	ListFn        func(context.Context, *ps.ListWorkflowsRequest) ([]*ps.Workflow, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetWorkflowRequest) (*ps.Workflow, error)
	GetFnInvoked bool

	CreateFn        func(context.Context, *ps.CreateWorkflowRequest) (*ps.Workflow, error)
	CreateFnInvoked bool

	CancelFn        func(context.Context, *ps.CancelWorkflowRequest) (*ps.Workflow, error)
	CancelFnInvoked bool

	CompleteFn        func(context.Context, *ps.CompleteWorkflowRequest) (*ps.Workflow, error)
	CompleteFnInvoked bool

	CutoverFn        func(context.Context, *ps.CutoverWorkflowRequest) (*ps.Workflow, error)
	CutoverFnInvoked bool

	RetryFn        func(context.Context, *ps.RetryWorkflowRequest) (*ps.Workflow, error)
	RetryFnInvoked bool

	ReverseCutoverFn        func(context.Context, *ps.ReverseCutoverWorkflowRequest) (*ps.Workflow, error)
	ReverseCutoverFnInvoked bool

	ReverseTrafficFn        func(context.Context, *ps.ReverseTrafficWorkflowRequest) (*ps.Workflow, error)
	ReverseTrafficFnInvoked bool

	SwitchPrimariesFn        func(context.Context, *ps.SwitchPrimariesWorkflowRequest) (*ps.Workflow, error)
	SwitchPrimariesFnInvoked bool

	SwitchReplicasFn        func(context.Context, *ps.SwitchReplicasWorkflowRequest) (*ps.Workflow, error)
	SwitchReplicasFnInvoked bool

	VerifyDataFn        func(context.Context, *ps.VerifyDataWorkflowRequest) (*ps.Workflow, error)
	VerifyDataFnInvoked bool
}

func (*WorkflowsService) Cancel added in v0.232.0

func (*WorkflowsService) Complete added in v0.232.0

func (*WorkflowsService) Create added in v0.232.0

func (*WorkflowsService) Cutover added in v0.232.0

func (*WorkflowsService) Get added in v0.231.0

func (*WorkflowsService) List added in v0.231.0

func (*WorkflowsService) Retry added in v0.232.0

func (*WorkflowsService) ReverseCutover added in v0.232.0

func (*WorkflowsService) ReverseTraffic added in v0.232.0

func (*WorkflowsService) SwitchPrimaries added in v0.232.0

func (*WorkflowsService) SwitchReplicas added in v0.232.0

func (*WorkflowsService) VerifyData added in v0.232.0

Jump to

Keyboard shortcuts

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