yandexcloud

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "yandex-cloud/yandex"

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, sdk *ycsdk.SDK, config *storage.Config) (storage.Client, error)

Types

type Client

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

func (*Client) ListZones

func (c *Client) ListZones(ctx context.Context, zones ...string) ([]storage.Zone, error)

type Record

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

func (*Record) GetData

func (r *Record) GetData() []string

func (*Record) GetName

func (r *Record) GetName() string

func (*Record) GetTTL

func (r *Record) GetTTL() int64

func (*Record) GetType

func (r *Record) GetType() string

type Zone

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

func (*Zone) ListRecords

func (z *Zone) ListRecords(ctx context.Context, filters ...string) ([]storage.Record, error)

Jump to

Keyboard shortcuts

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