exoscale

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, exoscaleProvider *ExoscaleProvider) error

func Delete

func Delete(ctx context.Context, exoscaleProvider *ExoscaleProvider) error

func GetDevpodInstance

func GetDevpodInstance(ctx context.Context, exoscaleProvider *ExoscaleProvider) (*v2.Instance, error)

func Init

func Init(ctx context.Context, exoscaleProvider *ExoscaleProvider) error

func Start

func Start(ctx context.Context, exoscaleProvider *ExoscaleProvider) error

func Status

func Status(ctx context.Context, exoscaleProvider *ExoscaleProvider) (client.Status, error)

func Stop

func Stop(ctx context.Context, exoscaleProvider *ExoscaleProvider) error

func StringPtr

func StringPtr(v string) *string

Types

type ExoscaleProvider

type ExoscaleProvider struct {
	Config           *options.Options
	ClientV2         *v2.Client
	Log              log.Logger
	WorkingDirectory string
}

func NewProvider

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

Jump to

Keyboard shortcuts

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