postgres

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceType voyager.ResourceType = "Postgres"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LocationSpec

type LocationSpec struct {
	Environment string `json:"env"`
}

type SharedDbSpec

type SharedDbSpec struct {
	ServiceName  voyager.ServiceName  `json:"service"`
	ResourceName voyager.ResourceName `json:"resource"`
}

When the Postgres database should be created in a Dedicated RDS instance, Emperor expects this information in the provision payload, otherwise, if absent, it will be created in the Default RDS

type WiringPlugin

type WiringPlugin struct {
	Environment func(location voyager.Location) string
}

func New

func New(environment func(location voyager.Location) string) *WiringPlugin

func (*WiringPlugin) WireUp

Jump to

Keyboard shortcuts

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