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 ¶
func (p *WiringPlugin) WireUp(resource *orch_v1.StateResource, context *wiringplugin.WiringContext) wiringplugin.WiringResult
Click to show internal directories.
Click to hide internal directories.