storage

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketIterator

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

func (*BucketIterator) Error

func (it *BucketIterator) Error() error

func (*BucketIterator) Next

func (it *BucketIterator) Next() bool

func (*BucketIterator) Take

func (it *BucketIterator) Take(size int64) ([]*storage.Bucket, error)

func (*BucketIterator) TakeAll

func (it *BucketIterator) TakeAll() ([]*storage.Bucket, error)

func (*BucketIterator) Value

func (it *BucketIterator) Value() *storage.Bucket

type BucketServiceClient

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

BucketServiceClient is a storage.BucketServiceClient with lazy GRPC connection initialization.

func (*BucketServiceClient) BucketIterator

func (*BucketServiceClient) Create

Create implements storage.BucketServiceClient

func (*BucketServiceClient) Delete

Delete implements storage.BucketServiceClient

func (*BucketServiceClient) DeleteHTTPSConfig

DeleteHTTPSConfig implements storage.BucketServiceClient

func (*BucketServiceClient) Get

Get implements storage.BucketServiceClient

func (*BucketServiceClient) GetHTTPSConfig

GetHTTPSConfig implements storage.BucketServiceClient

func (*BucketServiceClient) GetStats

GetStats implements storage.BucketServiceClient

func (*BucketServiceClient) List

List implements storage.BucketServiceClient

func (*BucketServiceClient) SetHTTPSConfig

SetHTTPSConfig implements storage.BucketServiceClient

func (*BucketServiceClient) Update

Update implements storage.BucketServiceClient

type StorageAPI

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

StorageAPI provides access to "storage" component of Yandex.Cloud

func NewStorageAPI

func NewStorageAPI(g func(ctx context.Context) (*grpc.ClientConn, error)) *StorageAPI

NewStorageAPI creates instance of StorageAPI

func (*StorageAPI) Bucket

func (s *StorageAPI) Bucket() *BucketServiceClient

Bucket gets BucketService client

Jump to

Keyboard shortcuts

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