digitalocean

package
v0.1.1-0...-e7e60cb Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2014 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForDropletAttribute

func WaitForDropletAttribute(id string, target string, pending []string, attribute string, client *digitalocean.Client) (interface{}, error)

Types

type Config

type Config struct {
	Token string `mapstructure:"token"`
}

func (*Config) Client

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

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

type ResourceProvider

type ResourceProvider struct {
	Config Config
	// contains filtered or unexported fields
}

func (*ResourceProvider) Apply

func (*ResourceProvider) Configure

func (*ResourceProvider) Diff

func (*ResourceProvider) Refresh

func (*ResourceProvider) Resources

func (p *ResourceProvider) Resources() []terraform.ResourceType

func (*ResourceProvider) Validate

func (p *ResourceProvider) Validate(c *terraform.ResourceConfig) ([]string, []error)

func (*ResourceProvider) ValidateResource

func (p *ResourceProvider) ValidateResource(
	t string, c *terraform.ResourceConfig) ([]string, []error)

Jump to

Keyboard shortcuts

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