spotinst

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: MPL-2.0 Imports: 143 Imported by: 1

Documentation

Index

Constants

View Source
const ErrCodeAKSVirtualNodeGroupNotFound = "CANT_GET_OCEAN_LAUNCH_SPEC"
View Source
const ErrCodeClusterNotFound = "CLUSTER_DOESNT_EXIST"
View Source
const ErrCodeECSClusterNotFound = "CANT_GET_OCEAN_CLUSTER"
View Source
const ErrCodeECSLaunchSpecNotFound = "CANT_GET_OCEAN_ECS_LAUNCH_SPEC"
View Source
const ErrCodeGKELaunchSpecNotFound = "CANT_GET_OCEAN_LAUNCH_SPEC"
View Source
const ErrCodeGroupNotFound = "GROUP_DOESNT_EXIST"

ErrCodeGroupNotFound for service response error code "GROUP_DOESNT_EXIST".

View Source
const ErrCodeHealthCheckNotFound = "HEALTH_CHECK_DOESNT_EXIST"
View Source
const ErrCodeLaunchSpecNotFound = "CANT_GET_OCEAN_LAUNCH_SPEC"
View Source
const ErrCodeManagedInstanceDoesntExist = "MANAGED_INSTANCE_DOESNT_EXIST"
View Source
const ErrCodeSuspendProcessesNotFound = "SUSPEND_PROCESSES_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
	FeatureFlags string
	// contains filtered or unexported fields
}

func (*Config) Client

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

Client configures and returns a fully initialized Spotinst client.

Directories

Path Synopsis
azure_v3

Jump to

Keyboard shortcuts

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