cloudflare

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashByMapKey added in v1.0.0

func HashByMapKey(key string) func(v interface{}) int

func IntIdentity added in v1.0.0

func IntIdentity(i interface{}) int

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Config

type Config struct {
	Email   string
	Token   string
	Options []cloudflare.Option
}

func (*Config) Client

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

Client() returns a new client for accessing cloudflare.

type ScriptData added in v1.4.0

type ScriptData struct {
	// The script id will be the `name` for named script
	// or the `zone_name` for zone-scoped scripts
	ID     string
	Params cloudflare.WorkerRequestParams
}

Jump to

Keyboard shortcuts

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