spotinst

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2017 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Config

type Config struct {
	Email        string
	Password     string
	ClientID     string
	ClientSecret string
	Token        string
}

func (*Config) Client

func (c *Config) Client() (*spotinst.Client, error)

Client returns a new client for accessing Spotinst.

func (*Config) Validate

func (c *Config) Validate() error

Validate returns an error in case of invalid configuration.

Jump to

Keyboard shortcuts

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