Documentation ¶
Overview ¶
nolint
nolint
nolint
nolint
Index ¶
- type BackupAccessBindingsIterator
- func (it *BackupAccessBindingsIterator) Error() error
- func (it *BackupAccessBindingsIterator) Next() bool
- func (it *BackupAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
- func (it *BackupAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
- func (it *BackupAccessBindingsIterator) Value() *access.AccessBinding
- type BackupIterator
- type BackupPathsIterator
- type BackupServiceClient
- func (c *BackupServiceClient) BackupAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, ...) *BackupAccessBindingsIterator
- func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *ydb.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator
- func (c *BackupServiceClient) BackupPathsIterator(ctx context.Context, req *ydb.ListPathsRequest, opts ...grpc.CallOption) *BackupPathsIterator
- func (c *BackupServiceClient) Delete(ctx context.Context, in *ydb.DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *BackupServiceClient) Get(ctx context.Context, in *ydb.GetBackupRequest, opts ...grpc.CallOption) (*ydb.Backup, error)
- func (c *BackupServiceClient) List(ctx context.Context, in *ydb.ListBackupsRequest, opts ...grpc.CallOption) (*ydb.ListBackupsResponse, error)
- func (c *BackupServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, ...) (*access.ListAccessBindingsResponse, error)
- func (c *BackupServiceClient) ListPaths(ctx context.Context, in *ydb.ListPathsRequest, opts ...grpc.CallOption) (*ydb.ListPathsResponse, error)
- func (c *BackupServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, ...) (*operation.Operation, error)
- func (c *BackupServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, ...) (*operation.Operation, error)
- type DatabaseAccessBindingsIterator
- func (it *DatabaseAccessBindingsIterator) Error() error
- func (it *DatabaseAccessBindingsIterator) Next() bool
- func (it *DatabaseAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
- func (it *DatabaseAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
- func (it *DatabaseAccessBindingsIterator) Value() *access.AccessBinding
- type DatabaseIterator
- type DatabaseServiceClient
- func (c *DatabaseServiceClient) Backup(ctx context.Context, in *ydb.BackupDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Create(ctx context.Context, in *ydb.CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) DatabaseAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, ...) *DatabaseAccessBindingsIterator
- func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, req *ydb.ListDatabasesRequest, opts ...grpc.CallOption) *DatabaseIterator
- func (c *DatabaseServiceClient) Delete(ctx context.Context, in *ydb.DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Get(ctx context.Context, in *ydb.GetDatabaseRequest, opts ...grpc.CallOption) (*ydb.Database, error)
- func (c *DatabaseServiceClient) List(ctx context.Context, in *ydb.ListDatabasesRequest, opts ...grpc.CallOption) (*ydb.ListDatabasesResponse, error)
- func (c *DatabaseServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, ...) (*access.ListAccessBindingsResponse, error)
- func (c *DatabaseServiceClient) Move(ctx context.Context, in *ydb.MoveDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Restore(ctx context.Context, in *ydb.RestoreBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, ...) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Start(ctx context.Context, in *ydb.StartDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Stop(ctx context.Context, in *ydb.StopDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) Update(ctx context.Context, in *ydb.UpdateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DatabaseServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, ...) (*operation.Operation, error)
- type ResourcePresetIterator
- func (it *ResourcePresetIterator) Error() error
- func (it *ResourcePresetIterator) Next() bool
- func (it *ResourcePresetIterator) Take(size int64) ([]*ydb.ResourcePreset, error)
- func (it *ResourcePresetIterator) TakeAll() ([]*ydb.ResourcePreset, error)
- func (it *ResourcePresetIterator) Value() *ydb.ResourcePreset
- type ResourcePresetServiceClient
- func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *ydb.GetResourcePresetRequest, opts ...grpc.CallOption) (*ydb.ResourcePreset, error)
- func (c *ResourcePresetServiceClient) List(ctx context.Context, in *ydb.ListResourcePresetsRequest, ...) (*ydb.ListResourcePresetsResponse, error)
- func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, req *ydb.ListResourcePresetsRequest, ...) *ResourcePresetIterator
- type StorageTypeIterator
- type StorageTypeServiceClient
- func (c *StorageTypeServiceClient) Get(ctx context.Context, in *ydb.GetStorageTypeRequest, opts ...grpc.CallOption) (*ydb.StorageType, error)
- func (c *StorageTypeServiceClient) List(ctx context.Context, in *ydb.ListStorageTypesRequest, opts ...grpc.CallOption) (*ydb.ListStorageTypesResponse, error)
- func (c *StorageTypeServiceClient) StorageTypeIterator(ctx context.Context, req *ydb.ListStorageTypesRequest, opts ...grpc.CallOption) *StorageTypeIterator
- type YDB
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 (it *BackupAccessBindingsIterator) Next() bool
func (*BackupAccessBindingsIterator) Take ¶
func (it *BackupAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
func (*BackupAccessBindingsIterator) TakeAll ¶
func (it *BackupAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
func (*BackupAccessBindingsIterator) Value ¶
func (it *BackupAccessBindingsIterator) Value() *access.AccessBinding
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) 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 (c *BackupServiceClient) BackupAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, opts ...grpc.CallOption) *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 ¶
func (c *BackupServiceClient) Delete(ctx context.Context, in *ydb.DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements ydb.BackupServiceClient
func (*BackupServiceClient) Get ¶
func (c *BackupServiceClient) Get(ctx context.Context, in *ydb.GetBackupRequest, opts ...grpc.CallOption) (*ydb.Backup, error)
Get implements ydb.BackupServiceClient
func (*BackupServiceClient) List ¶
func (c *BackupServiceClient) List(ctx context.Context, in *ydb.ListBackupsRequest, opts ...grpc.CallOption) (*ydb.ListBackupsResponse, error)
List implements ydb.BackupServiceClient
func (*BackupServiceClient) ListAccessBindings ¶
func (c *BackupServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
ListAccessBindings implements ydb.BackupServiceClient
func (*BackupServiceClient) ListPaths ¶
func (c *BackupServiceClient) ListPaths(ctx context.Context, in *ydb.ListPathsRequest, opts ...grpc.CallOption) (*ydb.ListPathsResponse, error)
ListPaths implements ydb.BackupServiceClient
func (*BackupServiceClient) SetAccessBindings ¶
func (c *BackupServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetAccessBindings implements ydb.BackupServiceClient
func (*BackupServiceClient) UpdateAccessBindings ¶
func (c *BackupServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateAccessBindings implements ydb.BackupServiceClient
type DatabaseAccessBindingsIterator ¶
type DatabaseAccessBindingsIterator struct {
// contains filtered or unexported fields
}
func (*DatabaseAccessBindingsIterator) Error ¶
func (it *DatabaseAccessBindingsIterator) Error() error
func (*DatabaseAccessBindingsIterator) Next ¶
func (it *DatabaseAccessBindingsIterator) Next() bool
func (*DatabaseAccessBindingsIterator) Take ¶
func (it *DatabaseAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
func (*DatabaseAccessBindingsIterator) TakeAll ¶
func (it *DatabaseAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
func (*DatabaseAccessBindingsIterator) Value ¶
func (it *DatabaseAccessBindingsIterator) Value() *access.AccessBinding
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) 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 ¶
func (c *DatabaseServiceClient) Backup(ctx context.Context, in *ydb.BackupDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Backup implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) Create ¶
func (c *DatabaseServiceClient) Create(ctx context.Context, in *ydb.CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) DatabaseAccessBindingsIterator ¶
func (c *DatabaseServiceClient) DatabaseAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, opts ...grpc.CallOption) *DatabaseAccessBindingsIterator
func (*DatabaseServiceClient) DatabaseIterator ¶
func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, req *ydb.ListDatabasesRequest, opts ...grpc.CallOption) *DatabaseIterator
func (*DatabaseServiceClient) Delete ¶
func (c *DatabaseServiceClient) Delete(ctx context.Context, in *ydb.DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) Get ¶
func (c *DatabaseServiceClient) Get(ctx context.Context, in *ydb.GetDatabaseRequest, opts ...grpc.CallOption) (*ydb.Database, error)
Get implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) List ¶
func (c *DatabaseServiceClient) List(ctx context.Context, in *ydb.ListDatabasesRequest, opts ...grpc.CallOption) (*ydb.ListDatabasesResponse, error)
List implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) ListAccessBindings ¶
func (c *DatabaseServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
ListAccessBindings implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) Move ¶
func (c *DatabaseServiceClient) Move(ctx context.Context, in *ydb.MoveDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Move implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) Restore ¶
func (c *DatabaseServiceClient) Restore(ctx context.Context, in *ydb.RestoreBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Restore implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) SetAccessBindings ¶
func (c *DatabaseServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetAccessBindings implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) Start ¶
func (c *DatabaseServiceClient) Start(ctx context.Context, in *ydb.StartDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Start implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) Stop ¶
func (c *DatabaseServiceClient) Stop(ctx context.Context, in *ydb.StopDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Stop implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) Update ¶
func (c *DatabaseServiceClient) Update(ctx context.Context, in *ydb.UpdateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements ydb.DatabaseServiceClient
func (*DatabaseServiceClient) UpdateAccessBindings ¶
func (c *DatabaseServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
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 ¶
func (it *ResourcePresetIterator) Value() *ydb.ResourcePreset
type ResourcePresetServiceClient ¶
type ResourcePresetServiceClient struct {
// contains filtered or unexported fields
}
ResourcePresetServiceClient is a ydb.ResourcePresetServiceClient with lazy GRPC connection initialization.
func (*ResourcePresetServiceClient) Get ¶
func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *ydb.GetResourcePresetRequest, opts ...grpc.CallOption) (*ydb.ResourcePreset, error)
Get implements ydb.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) List ¶
func (c *ResourcePresetServiceClient) List(ctx context.Context, in *ydb.ListResourcePresetsRequest, opts ...grpc.CallOption) (*ydb.ListResourcePresetsResponse, error)
List implements ydb.ResourcePresetServiceClient
func (*ResourcePresetServiceClient) ResourcePresetIterator ¶
func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, req *ydb.ListResourcePresetsRequest, opts ...grpc.CallOption) *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 ¶
func (c *StorageTypeServiceClient) Get(ctx context.Context, in *ydb.GetStorageTypeRequest, opts ...grpc.CallOption) (*ydb.StorageType, error)
Get implements ydb.StorageTypeServiceClient
func (*StorageTypeServiceClient) List ¶
func (c *StorageTypeServiceClient) List(ctx context.Context, in *ydb.ListStorageTypesRequest, opts ...grpc.CallOption) (*ydb.ListStorageTypesResponse, error)
List implements ydb.StorageTypeServiceClient
func (*StorageTypeServiceClient) StorageTypeIterator ¶
func (c *StorageTypeServiceClient) StorageTypeIterator(ctx context.Context, req *ydb.ListStorageTypesRequest, opts ...grpc.CallOption) *StorageTypeIterator
type YDB ¶
type YDB struct {
// contains filtered or unexported fields
}
YDB provides access to "ydb" component of Yandex.Cloud
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