spotinst

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: MPL-2.0 Imports: 77 Imported by: 0

Documentation

Index

Constants

View Source
const ErrCodeClusterNotFound = "CLUSTER_DOESNT_EXIST"

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Read

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

View Source
const ErrCodeGroupNotFound = "GROUP_DOESNT_EXIST"

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Read

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ErrCodeGroupNotFound for service response error code "GROUP_DOESNT_EXIST".

Variables

View Source
var ErrNoValidCredentials = errors.New("\n\nNo valid credentials found " +
	"for Spotinst Provider.\nPlease see https://www.terraform.io/docs/" +
	"providers/spotinst/index.html\nfor more information on providing " +
	"credentials for Spotinst Provider.")

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Client added in v1.0.0

type Client struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	Token   string
	Account string
}

func (*Config) Client

func (c *Config) Client() (*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