rds

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: 13 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type AutowiredOnlySpec

type AutowiredOnlySpec struct {
	PrimaryParameters MainParametersSpec `json:"primary_parameters"`
	Misc              MiscParametersSpec `json:"misc"`
	Location          LocationSpec       `json:"location"`
}

type FinalSpec

type FinalSpec struct {
	PrimaryParameters MainParametersSpec `json:"primary_parameters"`
	Parameters        json.RawMessage    `json:"parameters"`
	Misc              MiscParametersSpec `json:"misc"`
	Location          LocationSpec       `json:"location"`
}

type LocationSpec

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

type MainParametersSpec

type MainParametersSpec struct {
	MicrosAlarmEndpoints        []oap.MicrosAlarmSpec `json:"MicrosAlarmEndpoints"`
	MicrosAppSubnets            []string              `json:"MicrosAppSubnets"`
	MicrosEnv                   string                `json:"MicrosEnv"`
	MicrosEnvironmentLabel      voyager.Label         `json:"MicrosEnvironmentLabel,omitempty"`
	MicrosInstanceSecurityGroup string                `json:"MicrosInstanceSecurityGroup"`
	MicrosJumpboxSecurityGroup  string                `json:"MicrosJumpboxSecurityGroup"`
	MicrosPagerdutyEndpoint     string                `json:"MicrosPagerdutyEndpoint,omitempty"`
	MicrosPagerdutyEndpointHigh string                `json:"MicrosPagerdutyEndpointHigh,omitempty"`
	MicrosPagerdutyEndpointLow  string                `json:"MicrosPagerdutyEndpointLow,omitempty"`
	MicrosPrivateDNSZone        string                `json:"MicrosPrivateDnsZone"`
	MicrosPrivatePaaSDNSZone    string                `json:"MicrosPrivatePaasDnsZone"`
	MicrosResourceName          voyager.ResourceName  `json:"MicrosResourceName"`
	MicrosServiceName           voyager.ServiceName   `json:"MicrosServiceName"`
	MicrosVPCId                 string                `json:"MicrosVpcId"`
}

MICROS Provided RDS CFN Parameters

type MiscParametersSpec

type MiscParametersSpec struct {
	RDSType      string                 `json:"rds_type"`
	Tags         map[voyager.Tag]string `json:"tags"`
	Lessee       voyager.ServiceName    `json:"lessee"`
	ResourceName voyager.ResourceName   `json:"resource_name"`
}

type ReadReplicaParam

type ReadReplicaParam struct {
	ReadReplica bool `json:"ReadReplica"`
}

type WiringPlugin

type WiringPlugin struct {
	VPC         func(voyager.Location) *oap.VPCEnvironment
	Environment func(voyager.Location) string
}

func New

func New(environment func(location voyager.Location) string, vpc func(location voyager.Location) *oap.VPCEnvironment) *WiringPlugin

func (*WiringPlugin) WireUp

Jump to

Keyboard shortcuts

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