vultr

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Client

type Client struct {
	*lib.Client
}

Client wraps a JamesClonk/vultr/lib.

type Config

type Config struct {
	APIKey string
}

Config is the configuration structure used to instantiate the Vultr provider.

func (*Config) Client

func (c *Config) Client() (interface{}, error)

Client configures and returns a fully initialized Vultr Client.

type Filter

type Filter interface {
	F(map[string]string) bool
}

Filter is a simple interface to describe type that accepts a map[string]string and returns a boolean saying whether or not it matches the filter.

Jump to

Keyboard shortcuts

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