postgresql

package
v0.6.5-0...-c57aae3 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2016 License: MPL-2.0 Imports: 6 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 {
	// contains filtered or unexported fields
}

Client struct holding connection string

func (*Client) Connect

func (c *Client) Connect() (*sql.DB, error)

Connect will manually connect/diconnect to prevent a large number or db connections being made

type Config

type Config struct {
	Host     string
	Port     int
	Username string
	Password string
}

Config - provider config

func (*Config) NewClient

func (c *Config) NewClient() (*Client, error)

NewClient returns new client config

Jump to

Keyboard shortcuts

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