v0.2.2 Latest Latest

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

Go to latest
Published: Sep 9, 2014 License: MPL-2.0 Imports: 11 Imported by: 0




This section is empty.


This section is empty.


func Provider added in v0.2.2

func Provider() *schema.Provider

Provider returns a schema.Provider for DigitalOcean.

NOTE: schema.Provider became available long after the DO provider was started, so resources may not be converted to this new structure yet. This is a WIP. To assist with the migration, make sure any resources you migrate are acceptance tested, then perform the migration.

func WaitForDropletAttribute

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


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