scaleway

package
v0.0.0-...-60ce6a2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotFoundError        = errgo.New("not found")
	NotImplementedError  = errgo.New("not implemented")
	InvalidArgumentError = errgo.New("invalid argument")
)

Functions

func NewProvider

func NewProvider(logger *logging.Logger, config ScalewayProviderConfig) (providers.CloudProvider, error)

NewProvider creates a new Scaleway provider implementation

func NewScalewayLogger

func NewScalewayLogger(log *logging.Logger) api.Logger

Types

type ScalewayProviderConfig

type ScalewayProviderConfig struct {
	// Authentication
	Organization string
	Token        string
	Region       string
	FleetVersion string
	EtcdVersion  string

	ReserveLoadBalancerIP bool // If set, a reserved IP address will be used for the public IPv4 address
	EnableIPV6            bool // If set, an IPv6 address will be used
	NoIPv4                bool // If set, no IPv4 will be used for new instances
}

ScalewayProviderConfig contains scaleway specific provider configuration

func NewConfig

func NewConfig() ScalewayProviderConfig

NewConfig initializes a default set of provider configuration options

type ScalewayRC

type ScalewayRC struct {
	Organization string `json:"organization"`
	Token        string `json:"token"`
}

func ReadRC

func ReadRC() (ScalewayRC, error)

Jump to

Keyboard shortcuts

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