postgresql

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	armDeployer arm.Deployer,
	postgresqlManager postgresql.Manager,
) service.Module

New returns a new instance of a type that fulfills the service.Module interface and is capable of provisioning PostgreSQL servers and databases using "Azure Database for PostgreSQL"

Types

type BindingParameters

type BindingParameters struct {
}

BindingParameters encapsulates PostgreSQL-specific binding options

type Credentials

type Credentials struct {
	Host     string `json:"host"`
	Port     int    `json:"port"`
	Database string `json:"database"`
	Username string `json:"username"`
	Password string `json:"password"`
}

Credentials encapsulates PostgreSQL-specific coonection details and credentials.

type ProvisioningParameters

type ProvisioningParameters struct {
	Location       string            `json:"location"`
	ResourceGroup  string            `json:"resourceGroup"`
	Tags           map[string]string `json:"tags"`
	SSLEnforcement string            `json:"sslEnforcement"`
}

ProvisioningParameters encapsulates PostgreSQL-specific provisioning options

func (*ProvisioningParameters) SetResourceGroup

func (p *ProvisioningParameters) SetResourceGroup(resourceGroup string)

SetResourceGroup sets the name of the resource group into which service instances will be deployed

type UpdatingParameters

type UpdatingParameters struct {
}

UpdatingParameters encapsulates PostgreSQL-specific updating options

Jump to

Keyboard shortcuts

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