resource

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

func Read

func Read(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Read handles the Read event from the Cloudformation service.

func Update

func Update(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Update handles the Update event from the Cloudformation service.

Types

type ApiKeyDefinition

type ApiKeyDefinition struct {
	PublicKey  *encoding.String
	PrivateKey *encoding.String
}

ApiKeyDefinition is autogenerated from the json schema

type AutoScaling

type AutoScaling struct {
	Compute       Compute
	DiskGBEnabled *encoding.Bool
}

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

type BiConnector struct {
	ReadPreference *encoding.String
	Enabled        *encoding.Bool
}

BiConnector is autogenerated from the json schema

type Compute

type Compute struct {
	Enabled          *encoding.Bool
	ScaleDownEnabled *encoding.Bool
}

Compute is autogenerated from the json schema

type Labels

type Labels struct {
	Key   *encoding.String
	Value *encoding.String
}

Labels 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

Jump to

Keyboard shortcuts

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