exoscale

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetComputeClient

func GetComputeClient(meta interface{}) *egoscale.Client

GetComputeClient builds a CloudStack client

func GetDNSClient

func GetDNSClient(meta interface{}) *egoscale.Client

GetDNSClient builds a DNS client

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

func ValidateIPv4String

func ValidateIPv4String() schema.SchemaValidateFunc

ValidateIPv4String validates that the given field is a string representing an IPv4 address

func ValidateIPv6String

func ValidateIPv6String(i interface{}, k string) (s []string, es []error)

ValidateIPv6String validates that the given field is a string representing an IPv6 address

func ValidatePortRange added in v0.9.42

func ValidatePortRange(i interface{}, k string) (s []string, es []error)

ValidatePortRange validates that the given field contains a port range

func ValidateRegexp added in v0.12.0

func ValidateRegexp(pattern string) schema.SchemaValidateFunc

ValidateRegexp validates that the given field is a string and matches the regexp

func ValidateString added in v0.12.0

func ValidateString(str string) schema.SchemaValidateFunc

ValidateString validates that the given field is a string and matches the expected value

func ValidateStringNot added in v0.17.0

func ValidateStringNot(str string) schema.SchemaValidateFunc

ValidateStringNot validates that the given field is a string that doesn't match the specified value.

func ValidateUUID added in v0.12.0

func ValidateUUID() schema.SchemaValidateFunc

ValidateUUID validates that the given field is a UUID

Types

type BaseConfig

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

BaseConfig represents the provider structure

Jump to

Keyboard shortcuts

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