cloudflare

package
Version: v0.2.0 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func (*Config) Client

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

Client() returns a new client for accessing cloudflare.

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