Documentation
¶
Overview ¶
nolint
nolint
nolint
nolint
nolint
nolint
nolint
nolint
Index ¶
- type BackupIterator
- type BackupRetentionPolicyIterator
- func (it *BackupRetentionPolicyIterator) Error() error
- func (it *BackupRetentionPolicyIterator) Next() bool
- func (it *BackupRetentionPolicyIterator) Take(size int64) ([]*mdb.BackupRetentionPolicy, error)
- func (it *BackupRetentionPolicyIterator) TakeAll() ([]*mdb.BackupRetentionPolicy, error)
- func (it *BackupRetentionPolicyIterator) Value() *mdb.BackupRetentionPolicy
- type BackupRetentionPolicyServiceClient
- func (c *BackupRetentionPolicyServiceClient) BackupRetentionPolicyIterator(ctx context.Context, req *postgresql.ListBackupRetentionPoliciesRequest, ...) *BackupRetentionPolicyIterator
- func (c *BackupRetentionPolicyServiceClient) Create(ctx context.Context, in *postgresql.CreateBackupRetentionPolicyRequest, ...) (*operation.Operation, error)
- func (c *BackupRetentionPolicyServiceClient) Delete(ctx context.Context, in *postgresql.DeleteBackupRetentionPolicyRequest, ...) (*operation.Operation, error)
- func (c *BackupRetentionPolicyServiceClient) Get(ctx context.Context, in *postgresql.GetBackupRetentionPolicyRequest, ...) (*mdb.BackupRetentionPolicy, error)
- func (c *BackupRetentionPolicyServiceClient) List(ctx context.Context, in *postgresql.ListBackupRetentionPoliciesRequest, ...) (*postgresql.ListBackupRetentionPoliciesResponse, error)
- type BackupServiceClient
- func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *postgresql.ListBackupsRequest, ...) *BackupIterator
- func (c *BackupServiceClient) Delete(ctx context.Context, in *postgresql.DeleteBackupRequest, ...) (*operation.Operation, error)
- func (c *BackupServiceClient) Get(ctx context.Context, in *postgresql.GetBackupRequest, opts ...grpc.CallOption) (*postgresql.Backup, error)
- func (c *BackupServiceClient) List(ctx context.Context, in *postgresql.ListBackupsRequest, ...) (*postgresql.ListBackupsResponse, error)
- type ClusterAccessBindingsIterator
- func (it *ClusterAccessBindingsIterator) Error() error
- func (it *ClusterAccessBindingsIterator) Next() bool
- func (it *ClusterAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
- func (it *ClusterAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
- func (it *ClusterAccessBindingsIterator) Value() *access.AccessBinding
- type ClusterBackupsIterator
- func (it *ClusterBackupsIterator) Error() error
- func (it *ClusterBackupsIterator) Next() bool
- func (it *ClusterBackupsIterator) Take(size int64) ([]*postgresql.Backup, error)
- func (it *ClusterBackupsIterator) TakeAll() ([]*postgresql.Backup, error)
- func (it *ClusterBackupsIterator) Value() *postgresql.Backup
- type ClusterHostsIterator
- type ClusterIterator
- type ClusterLogsIterator
- func (it *ClusterLogsIterator) Error() error
- func (it *ClusterLogsIterator) Next() bool
- func (it *ClusterLogsIterator) Take(size int64) ([]*postgresql.LogRecord, error)
- func (it *ClusterLogsIterator) TakeAll() ([]*postgresql.LogRecord, error)
- func (it *ClusterLogsIterator) Value() *postgresql.LogRecord
- type ClusterOperationsIterator
- func (it *ClusterOperationsIterator) Error() error
- func (it *ClusterOperationsIterator) Next() bool
- func (it *ClusterOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *ClusterOperationsIterator) Value() *operation.Operation
- type ClusterServiceClient
- func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *postgresql.AddClusterHostsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Backup(ctx context.Context, in *postgresql.BackupClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) ClusterAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, ...) *ClusterAccessBindingsIterator
- func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, req *postgresql.ListClusterBackupsRequest, ...) *ClusterBackupsIterator
- func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, req *postgresql.ListClusterHostsRequest, ...) *ClusterHostsIterator
- func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *postgresql.ListClustersRequest, ...) *ClusterIterator
- func (c *ClusterServiceClient) ClusterLogsIterator(ctx context.Context, req *postgresql.ListClusterLogsRequest, ...) *ClusterLogsIterator
- func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *postgresql.ListClusterOperationsRequest, ...) *ClusterOperationsIterator
- func (c *ClusterServiceClient) Create(ctx context.Context, in *postgresql.CreateClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Delete(ctx context.Context, in *postgresql.DeleteClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *postgresql.DeleteClusterHostsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Get(ctx context.Context, in *postgresql.GetClusterRequest, opts ...grpc.CallOption) (*postgresql.Cluster, error)
- func (c *ClusterServiceClient) List(ctx context.Context, in *postgresql.ListClustersRequest, ...) (*postgresql.ListClustersResponse, error)
- func (c *ClusterServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, ...) (*access.ListAccessBindingsResponse, error)
- func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *postgresql.ListClusterBackupsRequest, ...) (*postgresql.ListClusterBackupsResponse, error)
- func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *postgresql.ListClusterHostsRequest, ...) (*postgresql.ListClusterHostsResponse, error)
- func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *postgresql.ListClusterLogsRequest, ...) (*postgresql.ListClusterLogsResponse, error)
- func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *postgresql.ListClusterOperationsRequest, ...) (*postgresql.ListClusterOperationsResponse, error)
- func (c *ClusterServiceClient) Move(ctx context.Context, in *postgresql.MoveClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *postgresql.RescheduleMaintenanceRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Restore(ctx context.Context, in *postgresql.RestoreClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Start(ctx context.Context, in *postgresql.StartClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *postgresql.StartClusterFailoverRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) Stop(ctx context.Context, in *postgresql.StopClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *postgresql.StreamClusterLogsRequest, ...) (postgresql.ClusterService_StreamLogsClient, error)
- func (c *ClusterServiceClient) Update(ctx context.Context, in *postgresql.UpdateClusterRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, ...) (*operation.Operation, error)
- func (c *ClusterServiceClient) UpdateHosts(ctx context.Context, in *postgresql.UpdateClusterHostsRequest, ...) (*operation.Operation, error)
- type DatabaseIterator
- type DatabaseServiceClient
- func (c *DatabaseServiceClient) Create(ctx context.Context, in *postgresql.CreateDatabaseRequest, ...) (*operation.Operation, error)
- func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, req *postgresql.ListDatabasesRequest, ...) *DatabaseIterator
- func (c *DatabaseServiceClient) Delete(ctx context.Context, in *postgresql.DeleteDatabaseRequest, ...) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Get(ctx context.Context, in *postgresql.GetDatabaseRequest, ...) (*postgresql.Database, error)
- func (c *DatabaseServiceClient) List(ctx context.Context, in *postgresql.ListDatabasesRequest, ...) (*postgresql.ListDatabasesResponse, error)
- func (c *DatabaseServiceClient) Update(ctx context.Context, in *postgresql.UpdateDatabaseRequest, ...) (*operation.Operation, error)
- type ManagedRepackRunningRepacksIterator
- func (it *ManagedRepackRunningRepacksIterator) Error() error
- func (it *ManagedRepackRunningRepacksIterator) Next() bool
- func (it *ManagedRepackRunningRepacksIterator) Take(size int64) ([]*postgresql.RunningRepack, error)
- func (it *ManagedRepackRunningRepacksIterator) TakeAll() ([]*postgresql.RunningRepack, error)
- func (it *ManagedRepackRunningRepacksIterator) Value() *postgresql.RunningRepack
- type ManagedRepackServiceClient
- func (c *ManagedRepackServiceClient) LaunchRepack(ctx context.Context, in *postgresql.LaunchRepackRequest, ...) (*postgresql.LaunchRepackResponse, error)
- func (c *ManagedRepackServiceClient) ListRunningRepacks(ctx context.Context, in *postgresql.ListRunningRepacksRequest, ...) (*postgresql.ListRunningRepacksResponse, error)
- func (c *ManagedRepackServiceClient) ManagedRepackRunningRepacksIterator(ctx context.Context, req *postgresql.ListRunningRepacksRequest, ...) *ManagedRepackRunningRepacksIterator
- func (c *ManagedRepackServiceClient) TerminateRepack(ctx context.Context, in *postgresql.TerminateRepackRequest, ...) (*emptypb.Empty, error)
- type PerformanceDiagnosticsRawSessionStatesIterator
- func (it *PerformanceDiagnosticsRawSessionStatesIterator) Error() error
- func (it *PerformanceDiagnosticsRawSessionStatesIterator) Next() bool
- func (it *PerformanceDiagnosticsRawSessionStatesIterator) Take(size int64) ([]*postgresql.SessionState, error)
- func (it *PerformanceDiagnosticsRawSessionStatesIterator) TakeAll() ([]*postgresql.SessionState, error)
- func (it *PerformanceDiagnosticsRawSessionStatesIterator) Value() *postgresql.SessionState
- type PerformanceDiagnosticsRawStatementsIterator
- func (it *PerformanceDiagnosticsRawStatementsIterator) Error() error
- func (it *PerformanceDiagnosticsRawStatementsIterator) Next() bool
- func (it *PerformanceDiagnosticsRawStatementsIterator) Take(size int64) ([]*postgresql.QueryStatement, error)
- func (it *PerformanceDiagnosticsRawStatementsIterator) TakeAll() ([]*postgresql.QueryStatement, error)
- func (it *PerformanceDiagnosticsRawStatementsIterator) Value() *postgresql.QueryStatement
- type PerformanceDiagnosticsServiceClient
- func (c *PerformanceDiagnosticsServiceClient) ListRawSessionStates(ctx context.Context, in *postgresql.ListRawSessionStatesRequest, ...) (*postgresql.ListRawSessionStatesResponse, error)
- func (c *PerformanceDiagnosticsServiceClient) ListRawStatements(ctx context.Context, in *postgresql.ListRawStatementsRequest, ...) (*postgresql.ListRawStatementsResponse, error)
- func (c *PerformanceDiagnosticsServiceClient) PerformanceDiagnosticsRawSessionStatesIterator(ctx context.Context, req *postgresql.ListRawSessionStatesRequest, ...) *PerformanceDiagnosticsRawSessionStatesIterator
- func (c *PerformanceDiagnosticsServiceClient) PerformanceDiagnosticsRawStatementsIterator(ctx context.Context, req *postgresql.ListRawStatementsRequest, ...) *PerformanceDiagnosticsRawStatementsIterator
- type PostgreSQL
- func (p *PostgreSQL) Backup() *BackupServiceClient
- func (p *PostgreSQL) BackupRetentionPolicy() *BackupRetentionPolicyServiceClient
- func (p *PostgreSQL) Cluster() *ClusterServiceClient
- func (p *PostgreSQL) Database() *DatabaseServiceClient
- func (p *PostgreSQL) ManagedRepack() *ManagedRepackServiceClient
- func (p *PostgreSQL) PerformanceDiagnostics() *PerformanceDiagnosticsServiceClient
- func (p *PostgreSQL) ResourcePreset() *ResourcePresetServiceClient
- func (p *PostgreSQL) User() *UserServiceClient
- type ResourcePresetIterator
- func (it *ResourcePresetIterator) Error() error
- func (it *ResourcePresetIterator) Next() bool
- func (it *ResourcePresetIterator) Take(size int64) ([]*postgresql.ResourcePreset, error)
- func (it *ResourcePresetIterator) TakeAll() ([]*postgresql.ResourcePreset, error)
- func (it *ResourcePresetIterator) Value() *postgresql.ResourcePreset
- type ResourcePresetServiceClient
- func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *postgresql.GetResourcePresetRequest, ...) (*postgresql.ResourcePreset, error)
- func (c *ResourcePresetServiceClient) List(ctx context.Context, in *postgresql.ListResourcePresetsRequest, ...) (*postgresql.ListResourcePresetsResponse, error)
- func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, req *postgresql.ListResourcePresetsRequest, ...) *ResourcePresetIterator
- type UserIterator
- type UserServiceClient
- func (c *UserServiceClient) Create(ctx context.Context, in *postgresql.CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) Delete(ctx context.Context, in *postgresql.DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) Get(ctx context.Context, in *postgresql.GetUserRequest, opts ...grpc.CallOption) (*postgresql.User, error)
- func (c *UserServiceClient) GrantPermission(ctx context.Context, in *postgresql.GrantUserPermissionRequest, ...) (*operation.Operation, error)
- func (c *UserServiceClient) List(ctx context.Context, in *postgresql.ListUsersRequest, opts ...grpc.CallOption) (*postgresql.ListUsersResponse, error)
- func (c *UserServiceClient) RevokePermission(ctx context.Context, in *postgresql.RevokeUserPermissionRequest, ...) (*operation.Operation, error)
- func (c *UserServiceClient) Update(ctx context.Context, in *postgresql.UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *UserServiceClient) UserIterator(ctx context.Context, req *postgresql.ListUsersRequest, opts ...grpc.CallOption) *UserIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupIterator ¶
type BackupIterator struct {
// contains filtered or unexported fields
}
func (*BackupIterator) Error ¶
func (it *BackupIterator) Error() error
func (*BackupIterator) Next ¶
func (it *BackupIterator) Next() bool
func (*BackupIterator) Take ¶
func (it *BackupIterator) Take(size int64) ([]*postgresql.Backup, error)
func (*BackupIterator) TakeAll ¶
func (it *BackupIterator) TakeAll() ([]*postgresql.Backup, error)
func (*BackupIterator) Value ¶
func (it *BackupIterator) Value() *postgresql.Backup
type BackupRetentionPolicyIterator ¶
type BackupRetentionPolicyIterator struct {
// contains filtered or unexported fields
}
func (*BackupRetentionPolicyIterator) Error ¶
func (it *BackupRetentionPolicyIterator) Error() error
func (*BackupRetentionPolicyIterator) Next ¶
func (it *BackupRetentionPolicyIterator) Next() bool
func (*BackupRetentionPolicyIterator) Take ¶
func (it *BackupRetentionPolicyIterator) Take(size int64) ([]*mdb.BackupRetentionPolicy, error)
func (*BackupRetentionPolicyIterator) TakeAll ¶
func (it *BackupRetentionPolicyIterator) TakeAll() ([]*mdb.BackupRetentionPolicy, error)
func (*BackupRetentionPolicyIterator) Value ¶
func (it *BackupRetentionPolicyIterator) Value() *mdb.BackupRetentionPolicy
type BackupRetentionPolicyServiceClient ¶
type BackupRetentionPolicyServiceClient struct {
// contains filtered or unexported fields
}
BackupRetentionPolicyServiceClient is a postgresql.BackupRetentionPolicyServiceClient with lazy GRPC connection initialization.
func (*BackupRetentionPolicyServiceClient) BackupRetentionPolicyIterator ¶
func (c *BackupRetentionPolicyServiceClient) BackupRetentionPolicyIterator(ctx context.Context, req *postgresql.ListBackupRetentionPoliciesRequest, opts ...grpc.CallOption) *BackupRetentionPolicyIterator
func (*BackupRetentionPolicyServiceClient) Create ¶
func (c *BackupRetentionPolicyServiceClient) Create(ctx context.Context, in *postgresql.CreateBackupRetentionPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements postgresql.BackupRetentionPolicyServiceClient
func (*BackupRetentionPolicyServiceClient) Delete ¶
func (c *BackupRetentionPolicyServiceClient) Delete(ctx context.Context, in *postgresql.DeleteBackupRetentionPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements postgresql.BackupRetentionPolicyServiceClient
func (*BackupRetentionPolicyServiceClient) Get ¶ added in v0.32.0
func (c *BackupRetentionPolicyServiceClient) Get(ctx context.Context, in *postgresql.GetBackupRetentionPolicyRequest, opts ...grpc.CallOption) (*mdb.BackupRetentionPolicy, error)
Get implements postgresql.BackupRetentionPolicyServiceClient
func (*BackupRetentionPolicyServiceClient) List ¶
func (c *BackupRetentionPolicyServiceClient) List(ctx context.Context, in *postgresql.ListBackupRetentionPoliciesRequest, opts ...grpc.CallOption) (*postgresql.ListBackupRetentionPoliciesResponse, error)
List implements postgresql.BackupRetentionPolicyServiceClient
type BackupServiceClient ¶
type BackupServiceClient struct {
// contains filtered or unexported fields
}
BackupServiceClient is a postgresql.BackupServiceClient with lazy GRPC connection initialization.
func (*BackupServiceClient) BackupIterator ¶
func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *postgresql.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator
func (*BackupServiceClient) Delete ¶
func (c *BackupServiceClient) Delete(ctx context.Context, in *postgresql.DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements postgresql.BackupServiceClient
func (*BackupServiceClient) Get ¶
func (c *BackupServiceClient) Get(ctx context.Context, in *postgresql.GetBackupRequest, opts ...grpc.CallOption) (*postgresql.Backup, error)
Get implements postgresql.BackupServiceClient
func (*BackupServiceClient) List ¶
func (c *BackupServiceClient) List(ctx context.Context, in *postgresql.ListBackupsRequest, opts ...grpc.CallOption) (*postgresql.ListBackupsResponse, error)
List implements postgresql.BackupServiceClient
type ClusterAccessBindingsIterator ¶ added in v0.27.0
type ClusterAccessBindingsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterAccessBindingsIterator) Error ¶ added in v0.27.0
func (it *ClusterAccessBindingsIterator) Error() error
func (*ClusterAccessBindingsIterator) Next ¶ added in v0.27.0
func (it *ClusterAccessBindingsIterator) Next() bool
func (*ClusterAccessBindingsIterator) Take ¶ added in v0.27.0
func (it *ClusterAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
func (*ClusterAccessBindingsIterator) TakeAll ¶ added in v0.27.0
func (it *ClusterAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
func (*ClusterAccessBindingsIterator) Value ¶ added in v0.27.0
func (it *ClusterAccessBindingsIterator) Value() *access.AccessBinding
type ClusterBackupsIterator ¶
type ClusterBackupsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterBackupsIterator) Error ¶
func (it *ClusterBackupsIterator) Error() error
func (*ClusterBackupsIterator) Next ¶
func (it *ClusterBackupsIterator) Next() bool
func (*ClusterBackupsIterator) Take ¶
func (it *ClusterBackupsIterator) Take(size int64) ([]*postgresql.Backup, error)
func (*ClusterBackupsIterator) TakeAll ¶
func (it *ClusterBackupsIterator) TakeAll() ([]*postgresql.Backup, error)
func (*ClusterBackupsIterator) Value ¶
func (it *ClusterBackupsIterator) Value() *postgresql.Backup
type ClusterHostsIterator ¶
type ClusterHostsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterHostsIterator) Error ¶
func (it *ClusterHostsIterator) Error() error
func (*ClusterHostsIterator) Next ¶
func (it *ClusterHostsIterator) Next() bool
func (*ClusterHostsIterator) Take ¶
func (it *ClusterHostsIterator) Take(size int64) ([]*postgresql.Host, error)
func (*ClusterHostsIterator) TakeAll ¶
func (it *ClusterHostsIterator) TakeAll() ([]*postgresql.Host, error)
func (*ClusterHostsIterator) Value ¶
func (it *ClusterHostsIterator) Value() *postgresql.Host
type ClusterIterator ¶
type ClusterIterator struct {
// contains filtered or unexported fields
}
func (*ClusterIterator) Error ¶
func (it *ClusterIterator) Error() error
func (*ClusterIterator) Next ¶
func (it *ClusterIterator) Next() bool
func (*ClusterIterator) Take ¶
func (it *ClusterIterator) Take(size int64) ([]*postgresql.Cluster, error)
func (*ClusterIterator) TakeAll ¶
func (it *ClusterIterator) TakeAll() ([]*postgresql.Cluster, error)
func (*ClusterIterator) Value ¶
func (it *ClusterIterator) Value() *postgresql.Cluster
type ClusterLogsIterator ¶
type ClusterLogsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterLogsIterator) Error ¶
func (it *ClusterLogsIterator) Error() error
func (*ClusterLogsIterator) Next ¶
func (it *ClusterLogsIterator) Next() bool
func (*ClusterLogsIterator) Take ¶
func (it *ClusterLogsIterator) Take(size int64) ([]*postgresql.LogRecord, error)
func (*ClusterLogsIterator) TakeAll ¶
func (it *ClusterLogsIterator) TakeAll() ([]*postgresql.LogRecord, error)
func (*ClusterLogsIterator) Value ¶
func (it *ClusterLogsIterator) Value() *postgresql.LogRecord
type ClusterOperationsIterator ¶
type ClusterOperationsIterator struct {
// contains filtered or unexported fields
}
func (*ClusterOperationsIterator) Error ¶
func (it *ClusterOperationsIterator) Error() error
func (*ClusterOperationsIterator) Next ¶
func (it *ClusterOperationsIterator) Next() bool
func (*ClusterOperationsIterator) Take ¶
func (it *ClusterOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*ClusterOperationsIterator) TakeAll ¶
func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*ClusterOperationsIterator) Value ¶
func (it *ClusterOperationsIterator) Value() *operation.Operation
type ClusterServiceClient ¶
type ClusterServiceClient struct {
// contains filtered or unexported fields
}
ClusterServiceClient is a postgresql.ClusterServiceClient with lazy GRPC connection initialization.
func (*ClusterServiceClient) AddHosts ¶
func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *postgresql.AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddHosts implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Backup ¶
func (c *ClusterServiceClient) Backup(ctx context.Context, in *postgresql.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Backup implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) ClusterAccessBindingsIterator ¶ added in v0.27.0
func (c *ClusterServiceClient) ClusterAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, opts ...grpc.CallOption) *ClusterAccessBindingsIterator
func (*ClusterServiceClient) ClusterBackupsIterator ¶
func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, req *postgresql.ListClusterBackupsRequest, opts ...grpc.CallOption) *ClusterBackupsIterator
func (*ClusterServiceClient) ClusterHostsIterator ¶
func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, req *postgresql.ListClusterHostsRequest, opts ...grpc.CallOption) *ClusterHostsIterator
func (*ClusterServiceClient) ClusterIterator ¶
func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *postgresql.ListClustersRequest, opts ...grpc.CallOption) *ClusterIterator
func (*ClusterServiceClient) ClusterLogsIterator ¶
func (c *ClusterServiceClient) ClusterLogsIterator(ctx context.Context, req *postgresql.ListClusterLogsRequest, opts ...grpc.CallOption) *ClusterLogsIterator
func (*ClusterServiceClient) ClusterOperationsIterator ¶
func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *postgresql.ListClusterOperationsRequest, opts ...grpc.CallOption) *ClusterOperationsIterator
func (*ClusterServiceClient) Create ¶
func (c *ClusterServiceClient) Create(ctx context.Context, in *postgresql.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Delete ¶
func (c *ClusterServiceClient) Delete(ctx context.Context, in *postgresql.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) DeleteHosts ¶
func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *postgresql.DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteHosts implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Get ¶
func (c *ClusterServiceClient) Get(ctx context.Context, in *postgresql.GetClusterRequest, opts ...grpc.CallOption) (*postgresql.Cluster, error)
Get implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) List ¶
func (c *ClusterServiceClient) List(ctx context.Context, in *postgresql.ListClustersRequest, opts ...grpc.CallOption) (*postgresql.ListClustersResponse, error)
List implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) ListAccessBindings ¶ added in v0.27.0
func (c *ClusterServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
ListAccessBindings implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) ListBackups ¶
func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *postgresql.ListClusterBackupsRequest, opts ...grpc.CallOption) (*postgresql.ListClusterBackupsResponse, error)
ListBackups implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) ListHosts ¶
func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *postgresql.ListClusterHostsRequest, opts ...grpc.CallOption) (*postgresql.ListClusterHostsResponse, error)
ListHosts implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) ListLogs ¶
func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *postgresql.ListClusterLogsRequest, opts ...grpc.CallOption) (*postgresql.ListClusterLogsResponse, error)
ListLogs implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) ListOperations ¶
func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *postgresql.ListClusterOperationsRequest, opts ...grpc.CallOption) (*postgresql.ListClusterOperationsResponse, error)
ListOperations implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Move ¶
func (c *ClusterServiceClient) Move(ctx context.Context, in *postgresql.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Move implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) RescheduleMaintenance ¶
func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *postgresql.RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RescheduleMaintenance implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Restore ¶
func (c *ClusterServiceClient) Restore(ctx context.Context, in *postgresql.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Restore implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) SetAccessBindings ¶ added in v0.27.0
func (c *ClusterServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetAccessBindings implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Start ¶
func (c *ClusterServiceClient) Start(ctx context.Context, in *postgresql.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) StartFailover ¶
func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *postgresql.StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error)
StartFailover implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Stop ¶
func (c *ClusterServiceClient) Stop(ctx context.Context, in *postgresql.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) StreamLogs ¶
func (c *ClusterServiceClient) StreamLogs(ctx context.Context, in *postgresql.StreamClusterLogsRequest, opts ...grpc.CallOption) (postgresql.ClusterService_StreamLogsClient, error)
StreamLogs implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) Update ¶
func (c *ClusterServiceClient) Update(ctx context.Context, in *postgresql.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) UpdateAccessBindings ¶ added in v0.27.0
func (c *ClusterServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateAccessBindings implements postgresql.ClusterServiceClient
func (*ClusterServiceClient) UpdateHosts ¶
func (c *ClusterServiceClient) UpdateHosts(ctx context.Context, in *postgresql.UpdateClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateHosts implements postgresql.ClusterServiceClient
type DatabaseIterator ¶
type DatabaseIterator struct {
// contains filtered or unexported fields
}
func (*DatabaseIterator) Error ¶
func (it *DatabaseIterator) Error() error
func (*DatabaseIterator) Next ¶
func (it *DatabaseIterator) Next() bool
func (*DatabaseIterator) Take ¶
func (it *DatabaseIterator) Take(size int64) ([]*postgresql.Database, error)
func (*DatabaseIterator) TakeAll ¶
func (it *DatabaseIterator) TakeAll() ([]*postgresql.Database, error)
func (*DatabaseIterator) Value ¶
func (it *DatabaseIterator) Value() *postgresql.Database
type DatabaseServiceClient ¶
type DatabaseServiceClient struct {
// contains filtered or unexported fields
}
DatabaseServiceClient is a postgresql.DatabaseServiceClient with lazy GRPC connection initialization.
func (*DatabaseServiceClient) Create ¶
func (c *DatabaseServiceClient) Create(ctx context.Context, in *postgresql.CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements postgresql.DatabaseServiceClient
func (*DatabaseServiceClient) DatabaseIterator ¶
func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, req *postgresql.ListDatabasesRequest, opts ...grpc.CallOption) *DatabaseIterator
func (*DatabaseServiceClient) Delete ¶
func (c *DatabaseServiceClient) Delete(ctx context.Context, in *postgresql.DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements postgresql.DatabaseServiceClient
func (*DatabaseServiceClient) Get ¶
func (c *DatabaseServiceClient) Get(ctx context.Context, in *postgresql.GetDatabaseRequest, opts ...grpc.CallOption) (*postgresql.Database, error)
Get implements postgresql.DatabaseServiceClient
func (*DatabaseServiceClient) List ¶
func (c *DatabaseServiceClient) List(ctx context.Context, in *postgresql.ListDatabasesRequest, opts ...grpc.CallOption) (*postgresql.ListDatabasesResponse, error)
List implements postgresql.DatabaseServiceClient
func (*DatabaseServiceClient) Update ¶
func (c *DatabaseServiceClient) Update(ctx context.Context, in *postgresql.UpdateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements postgresql.DatabaseServiceClient
type ManagedRepackRunningRepacksIterator ¶ added in v0.33.0
type ManagedRepackRunningRepacksIterator struct {
// contains filtered or unexported fields
}
func (*ManagedRepackRunningRepacksIterator) Error ¶ added in v0.33.0
func (it *ManagedRepackRunningRepacksIterator) Error() error
func (*ManagedRepackRunningRepacksIterator) Next ¶ added in v0.33.0
func (it *ManagedRepackRunningRepacksIterator) Next() bool
func (*ManagedRepackRunningRepacksIterator) Take ¶ added in v0.33.0
func (it *ManagedRepackRunningRepacksIterator) Take(size int64) ([]*postgresql.RunningRepack, error)
func (*ManagedRepackRunningRepacksIterator) TakeAll ¶ added in v0.33.0
func (it *ManagedRepackRunningRepacksIterator) TakeAll() ([]*postgresql.RunningRepack, error)
func (*ManagedRepackRunningRepacksIterator) Value ¶ added in v0.33.0
func (it *ManagedRepackRunningRepacksIterator) Value() *postgresql.RunningRepack
type ManagedRepackServiceClient ¶ added in v0.33.0
type ManagedRepackServiceClient struct {
// contains filtered or unexported fields
}
ManagedRepackServiceClient is a postgresql.ManagedRepackServiceClient with lazy GRPC connection initialization.
func (*ManagedRepackServiceClient) LaunchRepack ¶ added in v0.33.0
func (c *ManagedRepackServiceClient) LaunchRepack(ctx context.Context, in *postgresql.LaunchRepackRequest, opts ...grpc.CallOption) (*postgresql.LaunchRepackResponse, error)
LaunchRepack implements postgresql.ManagedRepackServiceClient
func (*ManagedRepackServiceClient) ListRunningRepacks ¶ added in v0.33.0
func (c *ManagedRepackServiceClient) ListRunningRepacks(ctx context.Context, in *postgresql.ListRunningRepacksRequest, opts ...grpc.CallOption) (*postgresql.ListRunningRepacksResponse, error)
ListRunningRepacks implements postgresql.ManagedRepackServiceClient
func (*ManagedRepackServiceClient) ManagedRepackRunningRepacksIterator ¶ added in v0.33.0
func (c *ManagedRepackServiceClient) ManagedRepackRunningRepacksIterator(ctx context.Context, req *postgresql.ListRunningRepacksRequest, opts ...grpc.CallOption) *ManagedRepackRunningRepacksIterator
func (*ManagedRepackServiceClient) TerminateRepack ¶ added in v0.33.0
func (c *ManagedRepackServiceClient) TerminateRepack(ctx context.Context, in *postgresql.TerminateRepackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
TerminateRepack implements postgresql.ManagedRepackServiceClient
type PerformanceDiagnosticsRawSessionStatesIterator ¶ added in v0.33.0
type PerformanceDiagnosticsRawSessionStatesIterator struct {
// contains filtered or unexported fields
}
func (*PerformanceDiagnosticsRawSessionStatesIterator) Error ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawSessionStatesIterator) Error() error
func (*PerformanceDiagnosticsRawSessionStatesIterator) Next ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawSessionStatesIterator) Next() bool
func (*PerformanceDiagnosticsRawSessionStatesIterator) Take ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawSessionStatesIterator) Take(size int64) ([]*postgresql.SessionState, error)
func (*PerformanceDiagnosticsRawSessionStatesIterator) TakeAll ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawSessionStatesIterator) TakeAll() ([]*postgresql.SessionState, error)
func (*PerformanceDiagnosticsRawSessionStatesIterator) Value ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawSessionStatesIterator) Value() *postgresql.SessionState
type PerformanceDiagnosticsRawStatementsIterator ¶ added in v0.33.0
type PerformanceDiagnosticsRawStatementsIterator struct {
// contains filtered or unexported fields
}
func (*PerformanceDiagnosticsRawStatementsIterator) Error ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawStatementsIterator) Error() error
func (*PerformanceDiagnosticsRawStatementsIterator) Next ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawStatementsIterator) Next() bool
func (*PerformanceDiagnosticsRawStatementsIterator) Take ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawStatementsIterator) Take(size int64) ([]*postgresql.QueryStatement, error)
func (*PerformanceDiagnosticsRawStatementsIterator) TakeAll ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawStatementsIterator) TakeAll() ([]*postgresql.QueryStatement, error)
func (*PerformanceDiagnosticsRawStatementsIterator) Value ¶ added in v0.33.0
func (it *PerformanceDiagnosticsRawStatementsIterator) Value() *postgresql.QueryStatement
type PerformanceDiagnosticsServiceClient ¶ added in v0.33.0
type PerformanceDiagnosticsServiceClient struct {
// contains filtered or unexported fields
}
PerformanceDiagnosticsServiceClient is a postgresql.PerformanceDiagnosticsServiceClient with lazy GRPC connection initialization.
func (*PerformanceDiagnosticsServiceClient) ListRawSessionStates ¶ added in v0.33.0
func (c *PerformanceDiagnosticsServiceClient) ListRawSessionStates(ctx context.Context, in *postgresql.ListRawSessionStatesRequest, opts ...grpc.CallOption) (*postgresql.ListRawSessionStatesResponse, error)
ListRawSessionStates implements postgresql.PerformanceDiagnosticsServiceClient
func (*PerformanceDiagnosticsServiceClient) ListRawStatements ¶ added in v0.33.0
func (c *PerformanceDiagnosticsServiceClient) ListRawStatements(ctx context.Context, in *postgresql.ListRawStatementsRequest, opts ...grpc.CallOption) (*postgresql.ListRawStatementsResponse, error)
ListRawStatements implements postgresql.PerformanceDiagnosticsServiceClient
func (*PerformanceDiagnosticsServiceClient) PerformanceDiagnosticsRawSessionStatesIterator ¶ added in v0.33.0
func (c *PerformanceDiagnosticsServiceClient) PerformanceDiagnosticsRawSessionStatesIterator(ctx context.Context, req *postgresql.ListRawSessionStatesRequest, opts ...grpc.CallOption) *PerformanceDiagnosticsRawSessionStatesIterator
func (*PerformanceDiagnosticsServiceClient) PerformanceDiagnosticsRawStatementsIterator ¶ added in v0.33.0
func (c *PerformanceDiagnosticsServiceClient) PerformanceDiagnosticsRawStatementsIterator(ctx context.Context, req *postgresql.ListRawStatementsRequest, opts ...grpc.CallOption) *PerformanceDiagnosticsRawStatementsIterator
type PostgreSQL ¶
type PostgreSQL struct {
// contains filtered or unexported fields
}
PostgreSQL provides access to "postgresql" component of Yandex.Cloud
func NewPostgreSQL ¶
func NewPostgreSQL(g func(ctx context.Context) (*grpc.ClientConn, error)) *PostgreSQL
NewPostgreSQL creates instance of PostgreSQL
func (*PostgreSQL) Backup ¶
func (p *PostgreSQL) Backup() *BackupServiceClient
Backup gets BackupService client
func (*PostgreSQL) BackupRetentionPolicy ¶
func (p *PostgreSQL) BackupRetentionPolicy() *BackupRetentionPolicyServiceClient
BackupRetentionPolicy gets BackupRetentionPolicyService client
func (*PostgreSQL) Cluster ¶
func (p *PostgreSQL) Cluster() *ClusterServiceClient
Cluster gets ClusterService client
func (*PostgreSQL) Database ¶
func (p *PostgreSQL) Database() *DatabaseServiceClient
Database gets DatabaseService client
func (*PostgreSQL) ManagedRepack ¶ added in v0.33.0
func (p *PostgreSQL) ManagedRepack() *ManagedRepackServiceClient
ManagedRepack gets ManagedRepackService client
func (*PostgreSQL) PerformanceDiagnostics ¶ added in v0.33.0
func (p *PostgreSQL) PerformanceDiagnostics() *PerformanceDiagnosticsServiceClient
PerformanceDiagnostics gets PerformanceDiagnosticsService client
func (*PostgreSQL) ResourcePreset ¶
func (p *PostgreSQL) ResourcePreset() *ResourcePresetServiceClient
ResourcePreset gets ResourcePresetService client
func (*PostgreSQL) User ¶
func (p *PostgreSQL) User() *UserServiceClient
User gets UserService client
type ResourcePresetIterator ¶
type ResourcePresetIterator struct {
// contains filtered or unexported fields
}
func (*ResourcePresetIterator) Error ¶
func (it *ResourcePresetIterator) Error() error
func (*ResourcePresetIterator) Next ¶
func (it *ResourcePresetIterator) Next() bool
func (*ResourcePresetIterator) Take ¶
func (it *ResourcePresetIterator) Take(size int64) ([]*postgresql.ResourcePreset, error)
func (*ResourcePresetIterator) TakeAll ¶
func (it *ResourcePresetIterator) TakeAll() ([]*postgresql.ResourcePreset, error)
func (*ResourcePresetIterator) Value ¶
func (it *ResourcePresetIterator) Value() *postgresql.ResourcePreset
type ResourcePresetServiceClient ¶
type ResourcePresetServiceClient struct {
// contains filtered or unexported fields
}
ResourcePresetServiceClient is a postgresql.ResourcePresetServiceClient with lazy GRPC connection initialization.
func (*ResourcePresetServiceClient) Get ¶
func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *postgresql.GetResourcePresetRequest, opts ...grpc.CallOption) (*postgresql.ResourcePreset, error)
Get implements postgresql.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) List ¶
func (c *ResourcePresetServiceClient) List(ctx context.Context, in *postgresql.ListResourcePresetsRequest, opts ...grpc.CallOption) (*postgresql.ListResourcePresetsResponse, error)
List implements postgresql.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) ResourcePresetIterator ¶
func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, req *postgresql.ListResourcePresetsRequest, opts ...grpc.CallOption) *ResourcePresetIterator
type UserIterator ¶
type UserIterator struct {
// contains filtered or unexported fields
}
func (*UserIterator) Error ¶
func (it *UserIterator) Error() error
func (*UserIterator) Next ¶
func (it *UserIterator) Next() bool
func (*UserIterator) Take ¶
func (it *UserIterator) Take(size int64) ([]*postgresql.User, error)
func (*UserIterator) TakeAll ¶
func (it *UserIterator) TakeAll() ([]*postgresql.User, error)
func (*UserIterator) Value ¶
func (it *UserIterator) Value() *postgresql.User
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
UserServiceClient is a postgresql.UserServiceClient with lazy GRPC connection initialization.
func (*UserServiceClient) Create ¶
func (c *UserServiceClient) Create(ctx context.Context, in *postgresql.CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements postgresql.UserServiceClient
func (*UserServiceClient) Delete ¶
func (c *UserServiceClient) Delete(ctx context.Context, in *postgresql.DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements postgresql.UserServiceClient
func (*UserServiceClient) Get ¶
func (c *UserServiceClient) Get(ctx context.Context, in *postgresql.GetUserRequest, opts ...grpc.CallOption) (*postgresql.User, error)
Get implements postgresql.UserServiceClient
func (*UserServiceClient) GrantPermission ¶
func (c *UserServiceClient) GrantPermission(ctx context.Context, in *postgresql.GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
GrantPermission implements postgresql.UserServiceClient
func (*UserServiceClient) List ¶
func (c *UserServiceClient) List(ctx context.Context, in *postgresql.ListUsersRequest, opts ...grpc.CallOption) (*postgresql.ListUsersResponse, error)
List implements postgresql.UserServiceClient
func (*UserServiceClient) RevokePermission ¶
func (c *UserServiceClient) RevokePermission(ctx context.Context, in *postgresql.RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RevokePermission implements postgresql.UserServiceClient
func (*UserServiceClient) Update ¶
func (c *UserServiceClient) Update(ctx context.Context, in *postgresql.UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements postgresql.UserServiceClient
func (*UserServiceClient) UserIterator ¶
func (c *UserServiceClient) UserIterator(ctx context.Context, req *postgresql.ListUsersRequest, opts ...grpc.CallOption) *UserIterator