postgresql

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	armDeployer arm.Deployer,
	checkNameAvailabilityClient postgresSDK.CheckNameAvailabilityClient,
	serversClient postgresSDK.ServersClient,
	databasesClient postgresSDK.DatabasesClient,
) service.Module

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

Types

type AllInOneProvisioningParameters

type AllInOneProvisioningParameters struct {
	DBMSProvisioningParameters     `json:",squash"`
	DatabaseProvisioningParameters `json:",squash"`
}

AllInOneProvisioningParameters encapsulates non-sensitive dbms AND database PostgreSQL-specific provisioning 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"`
	URI         string   `json:"uri"`
	SSLRequired bool     `json:"sslRequired"`
	Tags        []string `json:"tags"`
}

Credentials encapsulates PostgreSQL-specific connection details and credentials.

type DBMSProvisioningParameters

type DBMSProvisioningParameters struct {
	SSLEnforcement string         `json:"sslEnforcement"`
	FirewallRules  []FirewallRule `json:"firewallRules"`
}

DBMSProvisioningParameters encapsulates non-senstivie PostgreSQL-specific dbms provisioning options

type DatabaseProvisioningParameters

type DatabaseProvisioningParameters struct {
	Extensions []string `json:"extensions"`
}

DatabaseProvisioningParameters encapsulates non-sensitive PostgreSQL-specific database provisioning options

type FirewallRule

type FirewallRule struct {
	Name    string `json:"name"`
	StartIP string `json:"startIPAddress"`
	EndIP   string `json:"endIPAddress"`
}

FirewallRule describes a firewall rule to be applied to an DBMS

Jump to

Keyboard shortcuts

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