digitalocean

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MPL-2.0 Imports: 36 Imported by: 5

Documentation

Index

Constants

View Source
const RegistryHostname = "registry.digitalocean.com"

Variables

This section is empty.

Functions

func CaseSensitive added in v1.0.0

func CaseSensitive(_, old, new string, _ *schema.ResourceData) bool

func HashString added in v1.0.0

func HashString(s string) string

func HashStringIgnoreCase added in v1.0.0

func HashStringIgnoreCase(v interface{}) int

Helper function for sets of strings that are case insensitive

func HashStringStateFunc added in v1.12.0

func HashStringStateFunc() schema.SchemaStateFunc

func Provider

func Provider() terraform.ResourceProvider

Provider returns a schema.Provider for DigitalOcean.

Types

type CombinedConfig added in v1.2.0

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

type Config

type Config struct {
	Token             string
	APIEndpoint       string
	SpacesAPIEndpoint string
	AccessID          string
	SecretKey         string
	TerraformVersion  string
}

func (*Config) Client

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

Client() returns a new client for accessing digital ocean.

Source Files

Jump to

Keyboard shortcuts

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