package
Version:
v0.6.7
Opens a new window with list of versions in this module.
Published: Nov 23, 2015
License: MPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
type Config struct {
Datacenter string `mapstructure:"datacenter"`
Address string `mapstructure:"address"`
Scheme string `mapstructure:"scheme"`
}
func (c *Config) Client() (*consulapi.Client, error)
Client() returns a new client for accessing consul.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.