postgresql

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

nolint

nolint

Index

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 (*BackupRetentionPolicyIterator) Next

func (*BackupRetentionPolicyIterator) Take

func (*BackupRetentionPolicyIterator) TakeAll

func (*BackupRetentionPolicyIterator) Value

type BackupRetentionPolicyServiceClient

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

BackupRetentionPolicyServiceClient is a postgresql.BackupRetentionPolicyServiceClient with lazy GRPC connection initialization.

func (*BackupRetentionPolicyServiceClient) BackupRetentionPolicyIterator

func (*BackupRetentionPolicyServiceClient) Create

Create implements postgresql.BackupRetentionPolicyServiceClient

func (*BackupRetentionPolicyServiceClient) Delete

Delete implements postgresql.BackupRetentionPolicyServiceClient

func (*BackupRetentionPolicyServiceClient) List

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 (*BackupServiceClient) Delete

Delete implements postgresql.BackupServiceClient

func (*BackupServiceClient) Get

Get implements postgresql.BackupServiceClient

func (*BackupServiceClient) List

List implements postgresql.BackupServiceClient

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

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

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 (*ClusterOperationsIterator) TakeAll

func (it *ClusterOperationsIterator) TakeAll() ([]*operation.Operation, error)

func (*ClusterOperationsIterator) Value

type ClusterServiceClient

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

ClusterServiceClient is a postgresql.ClusterServiceClient with lazy GRPC connection initialization.

func (*ClusterServiceClient) AddHosts

AddHosts implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Backup

Backup implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) ClusterBackupsIterator

func (*ClusterServiceClient) ClusterHostsIterator

func (*ClusterServiceClient) ClusterIterator

func (*ClusterServiceClient) ClusterLogsIterator

func (*ClusterServiceClient) ClusterOperationsIterator

func (*ClusterServiceClient) Create

Create implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Delete

Delete implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) DeleteHosts

DeleteHosts implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Get

Get implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) List

List implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) ListBackups

ListBackups implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) ListHosts

ListHosts implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) ListLogs

ListLogs implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) ListOperations

ListOperations implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Move

Move implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) RescheduleMaintenance

RescheduleMaintenance implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Restore

Restore implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Start

Start implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) StartFailover

StartFailover implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Stop

Stop implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) StreamLogs

StreamLogs implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) Update

Update implements postgresql.ClusterServiceClient

func (*ClusterServiceClient) UpdateHosts

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

Create implements postgresql.DatabaseServiceClient

func (*DatabaseServiceClient) DatabaseIterator

func (*DatabaseServiceClient) Delete

Delete implements postgresql.DatabaseServiceClient

func (*DatabaseServiceClient) Get

Get implements postgresql.DatabaseServiceClient

func (*DatabaseServiceClient) List

List implements postgresql.DatabaseServiceClient

func (*DatabaseServiceClient) Update

Update implements postgresql.DatabaseServiceClient

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) 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 (*ResourcePresetIterator) TakeAll

func (*ResourcePresetIterator) Value

type ResourcePresetServiceClient

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

ResourcePresetServiceClient is a postgresql.ResourcePresetServiceClient with lazy GRPC connection initialization.

func (*ResourcePresetServiceClient) Get

Get implements postgresql.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) List

List implements postgresql.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) 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

Create implements postgresql.UserServiceClient

func (*UserServiceClient) Delete

Delete implements postgresql.UserServiceClient

func (*UserServiceClient) Get

Get implements postgresql.UserServiceClient

func (*UserServiceClient) GrantPermission

GrantPermission implements postgresql.UserServiceClient

func (*UserServiceClient) List

List implements postgresql.UserServiceClient

func (*UserServiceClient) RevokePermission

RevokePermission implements postgresql.UserServiceClient

func (*UserServiceClient) Update

Update implements postgresql.UserServiceClient

func (*UserServiceClient) UserIterator

Jump to

Keyboard shortcuts

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