yandexcloud

package
v0.0.0-...-f6e4835 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, ycProvider *YCProvider) error

func Delete

func Delete(ctx context.Context, ycProvider *YCProvider) error

func GetDevpodInstance

func GetDevpodInstance(ctx context.Context, ycProvider *YCProvider) (*compute.Instance, error)

func Init

func Init(ctx context.Context, ycProvider *YCProvider) error

func Start

func Start(ctx context.Context, ycProvider *YCProvider) error

func Status

func Status(ctx context.Context, ycProvider *YCProvider) (client.Status, error)

func Stop

func Stop(ctx context.Context, ycProvider *YCProvider) error

func StringPtr

func StringPtr(v string) *string

Types

type YCProvider

type YCProvider struct {
	Config           *options.Options
	SDK              *ycapi.SDK
	Log              log.Logger
	WorkingDirectory string
}

func NewProvider

func NewProvider(logs log.Logger, init bool) (*YCProvider, error)

Jump to

Keyboard shortcuts

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