scaleway

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(scalewayProvider *ScalewayProvider) error

func Delete

func Delete(scalewayProvider *ScalewayProvider) error

func GetDevpodInstance

func GetDevpodInstance(scalewayProvider *ScalewayProvider) (*instance.GetServerResponse, error)

func Init

func Init(scalewayProvider *ScalewayProvider) error

func Start

func Start(scalewayProvider *ScalewayProvider) error

func Status

func Status(scalewayProvider *ScalewayProvider) (client.Status, error)

func Stop

func Stop(scalewayProvider *ScalewayProvider) error

Types

type ScalewayProvider

type ScalewayProvider struct {
	Config           *options.Options
	InstanceAPI      *instance.API
	AccountAPI       *account.API
	Log              log.Logger
	WorkingDirectory string
}

func NewProvider

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

Jump to

Keyboard shortcuts

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