Documentation
¶
Index ¶
- func Create(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func Delete(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func List(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func Read(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func Update(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- type ApiKeyDefinition
- type AutoScaling
- type AutoScalingProvider
- type AutoScalingProviderCompute
- type BiConnector
- type Compute
- type Labels
- type Model
- type ProviderSettings
- type RegionsConfig
- type ReplicationSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
Create handles the Create event from the Cloudformation service.
func Delete ¶
func Delete(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
Delete handles the Delete event from the Cloudformation service.
func List ¶
func List(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
List NOOP
Types ¶
type ApiKeyDefinition ¶
ApiKeyDefinition is autogenerated from the json schema
type AutoScaling ¶
AutoScaling is autogenerated from the json schema
type AutoScalingProvider ¶
type AutoScalingProvider struct {
Compute AutoScalingProviderCompute
}
AutoScalingProvider is autogenerated from the json schema
type AutoScalingProviderCompute ¶
type AutoScalingProviderCompute struct {
MinInstanceSize *encoding.String
MaxInstanceSize *encoding.String
}
AutoScalingProviderCompute is autogenerated from the json schema
type BiConnector ¶
BiConnector is autogenerated from the json schema
type Model ¶
type Model struct {
ApiKeys ApiKeyDefinition `json:"ApiKeys,omitempty"`
AutoScaling AutoScaling `json:"AutoScaling,omitempty"`
BackupEnabled *encoding.Bool `json:"BackupEnabled,omitempty"`
BiConnector BiConnector `json:"BiConnector,omitempty"`
ClusterType *encoding.String `json:"ClusterType,omitempty"`
DiskSizeGB *encoding.Float `json:"DiskSizeGB,omitempty"`
EncryptionAtRestProvider *encoding.String `json:"EncryptionAtRestProvider,omitempty"`
ProjectID *encoding.String `json:"ProjectID,omitempty"`
ID *encoding.String `json:"ID,omitempty"`
Labels []Labels `json:"Labels,omitempty"`
MongoDBVersion *encoding.String `json:"MongoDBVersion,omitempty"`
MongoDBMajorVersion *encoding.String `json:"MongoDBMajorVersion,omitempty"`
MongoURI *encoding.String `json:"MongoURI,omitempty"`
MongoURIUpdated *encoding.String `json:"MongoURIUpdated,omitempty"`
MongoURIWithOptions *encoding.String `json:"MongoURIWithOptions,omitempty"`
Name *encoding.String `json:"Name,omitempty"`
NumShards *encoding.Int `json:"NumShards,omitempty"`
Paused *encoding.Bool `json:"Paused,omitempty"`
PitEnabled *encoding.Bool `json:"PitEnabled,omitempty"`
ProviderBackupEnabled *encoding.Bool `json:"ProviderBackupEnabled,omitempty"`
ProviderSettings ProviderSettings `json:"ProviderSettings,omitempty"`
ReplicationFactor *encoding.Int `json:"ReplicationFactor,omitempty"`
ReplicationSpecs []ReplicationSpec `json:"ReplicationSpecs,omitempty"`
SrvAddress *encoding.String `json:"SrvAddress,omitempty"`
StateName *encoding.String `json:"StateName,omitempty"`
}
Model is autogenerated from the json schema
type ProviderSettings ¶
type ProviderSettings struct {
AutoScaling AutoScalingProvider
BackingProviderName *encoding.String
DiskIOPS *encoding.Int
EncryptEBSVolume *encoding.Bool
InstanceSizeName *encoding.String
RegionName *encoding.String
VolumeType *encoding.String
}
ProviderSettings is autogenerated from the json schema
type RegionsConfig ¶
type RegionsConfig struct {
RegionName *encoding.String
AnalyticsNodes *encoding.Int
ElectableNodes *encoding.Int
Priority *encoding.Int
ReadOnlyNodes *encoding.Int
}
RegionsConfig is autogenerated from the json schema
type ReplicationSpec ¶
type ReplicationSpec struct {
ID *encoding.String
NumShards *encoding.Int
RegionsConfig []RegionsConfig
ZoneName *encoding.String
}
ReplicationSpec is autogenerated from the json schema
Click to show internal directories.
Click to hide internal directories.