Documentation ¶
Index ¶
- Variables
- type YandexClient
- func (c YandexClient) Close() error
- func (c YandexClient) Description() map[string]any
- func (c YandexClient) Ls(path string) ([]unit.File, error)
- func (c YandexClient) Read(path string) ([]byte, error)
- func (c YandexClient) Remove(path string) error
- func (c YandexClient) Write(buf *bytes.Buffer, dst string) (string, error)
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) Remove ¶
func (c YandexClient) Remove(path string) error
Click to show internal directories.
Click to hide internal directories.