yandex

package
v0.0.0-...-eb0c352 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLoadingConfiguration = fmt.Errorf("failed to load cloud configuration")

Functions

This section is empty.

Types

type YandexClient

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

func NewClient

func NewClient(conf unit.ClientConfig) (*YandexClient, error)

func (YandexClient) Close

func (c YandexClient) Close() error

func (YandexClient) Description

func (c YandexClient) Description() map[string]any

func (YandexClient) Ls

func (c YandexClient) Ls(path string) ([]unit.File, error)

func (YandexClient) Read

func (c YandexClient) Read(path string) ([]byte, error)

func (YandexClient) Remove

func (c YandexClient) Remove(path string) error

func (YandexClient) Write

func (c YandexClient) Write(buf *bytes.Buffer, dst string) (string, error)

Jump to

Keyboard shortcuts

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