consulacl

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const FieldName = "name"
View Source
const FieldPolicy = "policy"
View Source
const FieldPrefix = "prefix"
View Source
const FieldRule = "rule"
View Source
const FieldScope = "scope"
View Source
const FieldToken = "token"
View Source
const FieldType = "type"

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Types

type Config

type Config struct {
	// Destination
	Token string `mapstructure:"token"`
	// // Auth
	Address string `mapstructure:"address"`
	// TLS
	Scheme        string `mapstructure:"scheme"`
	CAFile        string `mapstructure:"ca_file"`
	CertFile      string `mapstructure:"cert_file"`
	KeyFile       string `mapstructure:"key_file"`
	TlsSkipVerify bool   `mapstructure:"tls_skip_verify"`
}

func (*Config) Client

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

Jump to

Keyboard shortcuts

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