scaleway

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseInstance

func ParseInstance(name string, in *scaleway.ProductServer) (*v1.MachineType, error)

Types

type Client

type Client struct {
	ParClient *scaleway.ScalewayAPI
	AmsClient *scaleway.ScalewayAPI
}

func NewClient

func NewClient(opts credential.Scaleway) (*Client, error)

func (*Client) GetCredentialFormat

func (g *Client) GetCredentialFormat() v1.CredentialFormat

func (*Client) GetName

func (g *Client) GetName() string

func (*Client) ListMachineTypes

func (g *Client) ListMachineTypes() ([]v1.MachineType, error)

func (*Client) ListRegions

func (g *Client) ListRegions() ([]v1.Region, error)

func (*Client) ListZones

func (g *Client) ListZones() ([]string, error)

Jump to

Keyboard shortcuts

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