ydb

package
v0.0.0-...-2393e24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupAccessBindingsIterator

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

func (*BackupAccessBindingsIterator) Error

func (it *BackupAccessBindingsIterator) Error() error

func (*BackupAccessBindingsIterator) Next

func (*BackupAccessBindingsIterator) Take

func (*BackupAccessBindingsIterator) TakeAll

func (*BackupAccessBindingsIterator) Value

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) ([]*ydb.Backup, error)

func (*BackupIterator) TakeAll

func (it *BackupIterator) TakeAll() ([]*ydb.Backup, error)

func (*BackupIterator) Value

func (it *BackupIterator) Value() *ydb.Backup

type BackupPathsIterator

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

func (*BackupPathsIterator) Error

func (it *BackupPathsIterator) Error() error

func (*BackupPathsIterator) Next

func (it *BackupPathsIterator) Next() bool

func (*BackupPathsIterator) Take

func (it *BackupPathsIterator) Take(size int64) ([]string, error)

func (*BackupPathsIterator) TakeAll

func (it *BackupPathsIterator) TakeAll() ([]string, error)

func (*BackupPathsIterator) Value

func (it *BackupPathsIterator) Value() string

type BackupServiceClient

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

BackupServiceClient is a ydb.BackupServiceClient with lazy GRPC connection initialization.

func (*BackupServiceClient) BackupAccessBindingsIterator

func (*BackupServiceClient) BackupIterator

func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *ydb.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator

func (*BackupServiceClient) BackupPathsIterator

func (c *BackupServiceClient) BackupPathsIterator(ctx context.Context, req *ydb.ListPathsRequest, opts ...grpc.CallOption) *BackupPathsIterator

func (*BackupServiceClient) Delete

Delete implements ydb.BackupServiceClient

func (*BackupServiceClient) Get

Get implements ydb.BackupServiceClient

func (*BackupServiceClient) List

List implements ydb.BackupServiceClient

func (*BackupServiceClient) ListAccessBindings

ListAccessBindings implements ydb.BackupServiceClient

func (*BackupServiceClient) ListPaths

ListPaths implements ydb.BackupServiceClient

func (*BackupServiceClient) SetAccessBindings

SetAccessBindings implements ydb.BackupServiceClient

func (*BackupServiceClient) UpdateAccessBindings

UpdateAccessBindings implements ydb.BackupServiceClient

type DatabaseAccessBindingsIterator

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

func (*DatabaseAccessBindingsIterator) Error

func (*DatabaseAccessBindingsIterator) Next

func (*DatabaseAccessBindingsIterator) Take

func (*DatabaseAccessBindingsIterator) TakeAll

func (*DatabaseAccessBindingsIterator) Value

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) ([]*ydb.Database, error)

func (*DatabaseIterator) TakeAll

func (it *DatabaseIterator) TakeAll() ([]*ydb.Database, error)

func (*DatabaseIterator) Value

func (it *DatabaseIterator) Value() *ydb.Database

type DatabaseServiceClient

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

DatabaseServiceClient is a ydb.DatabaseServiceClient with lazy GRPC connection initialization.

func (*DatabaseServiceClient) Backup

Backup implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) Create

Create implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) DatabaseAccessBindingsIterator

func (*DatabaseServiceClient) DatabaseIterator

func (*DatabaseServiceClient) Delete

Delete implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) Get

Get implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) List

List implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) ListAccessBindings

ListAccessBindings implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) Move

Move implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) Restore

Restore implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) SetAccessBindings

SetAccessBindings implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) Start

Start implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) Stop

Stop implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) Update

Update implements ydb.DatabaseServiceClient

func (*DatabaseServiceClient) UpdateAccessBindings

UpdateAccessBindings implements ydb.DatabaseServiceClient

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) ([]*ydb.ResourcePreset, error)

func (*ResourcePresetIterator) TakeAll

func (it *ResourcePresetIterator) TakeAll() ([]*ydb.ResourcePreset, error)

func (*ResourcePresetIterator) Value

type ResourcePresetServiceClient

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

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

func (*ResourcePresetServiceClient) Get

Get implements ydb.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) List

List implements ydb.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) ResourcePresetIterator

type StorageTypeIterator

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

func (*StorageTypeIterator) Error

func (it *StorageTypeIterator) Error() error

func (*StorageTypeIterator) Next

func (it *StorageTypeIterator) Next() bool

func (*StorageTypeIterator) Take

func (it *StorageTypeIterator) Take(size int64) ([]*ydb.StorageType, error)

func (*StorageTypeIterator) TakeAll

func (it *StorageTypeIterator) TakeAll() ([]*ydb.StorageType, error)

func (*StorageTypeIterator) Value

func (it *StorageTypeIterator) Value() *ydb.StorageType

type StorageTypeServiceClient

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

StorageTypeServiceClient is a ydb.StorageTypeServiceClient with lazy GRPC connection initialization.

func (*StorageTypeServiceClient) Get

Get implements ydb.StorageTypeServiceClient

func (*StorageTypeServiceClient) List

List implements ydb.StorageTypeServiceClient

func (*StorageTypeServiceClient) StorageTypeIterator

type YDB

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

YDB provides access to "ydb" component of Yandex.Cloud

func NewYDB

func NewYDB(g func(ctx context.Context) (*grpc.ClientConn, error)) *YDB

NewYDB creates instance of YDB

func (*YDB) Backup

func (y *YDB) Backup() *BackupServiceClient

Backup gets BackupService client

func (*YDB) Database

func (y *YDB) Database() *DatabaseServiceClient

Database gets DatabaseService client

func (*YDB) ResourcePreset

func (y *YDB) ResourcePreset() *ResourcePresetServiceClient

ResourcePreset gets ResourcePresetService client

func (*YDB) StorageType

func (y *YDB) StorageType() *StorageTypeServiceClient

StorageType gets StorageTypeService client

Jump to

Keyboard shortcuts

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