profitbricks

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirewallResource added in v1.4.3

func GetFirewallResource(d *schema.ResourceData, path string) profitbricks.FirewallRule

func IsRequestFailed added in v1.5.0

func IsRequestFailed(err error) bool

func IsValidUUID

func IsValidUUID(uuid string) bool

func Provider

func Provider() terraform.ResourceProvider

Provider returns a schema.Provider for ProfitBricks.

Types

type Config

type Config struct {
	Username string
	Password string
	Endpoint string
	Retries  int
	Token    string
}

Config represents

func (*Config) Client

func (c *Config) Client(terraformVersion string) (*profitbricks.Client, error)

Client returns a new client for accessing ProfitBricks.

type RequestFailedError added in v1.5.0

type RequestFailedError struct {
	// contains filtered or unexported fields
}

func (RequestFailedError) Error added in v1.5.0

func (e RequestFailedError) Error() string

Jump to

Keyboard shortcuts

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