Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderType = "mongodb-atlas"
View Source
const ResourceTypeMongodbAtlas = "mongodb-atlas"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AtlasBackup ¶
type AtlasConfig ¶
type AtlasConfig struct {
Admins []string `json:"admins" yaml:"admins"`
Developers []string `json:"developers" yaml:"developers"`
InstanceSize string `json:"instanceSize" yaml:"instanceSize"`
OrgId string `json:"orgId" yaml:"orgId"`
ProjectId string `json:"projectId" yaml:"projectId"`
ProjectName string `json:"projectName" yaml:"projectName"`
Region string `json:"region" yaml:"region"`
PrivateKey string `json:"privateKey" yaml:"privateKey"`
PublicKey string `json:"publicKey" yaml:"publicKey"`
CloudProvider string `json:"cloudProvider" yaml:"cloudProvider"`
Backup *AtlasBackup `json:"backup,omitempty" yaml:"backup,omitempty"`
NetworkConfig *AtlasNetworkConfig `json:"networkConfig,omitempty" yaml:"networkConfig,omitempty"`
ExtraProviders map[string]api.AuthDescriptor `json:"extraProviders,omitempty" yaml:"extraProviders,omitempty"`
DiskSizeGB *float64 `json:"diskSizeGB,omitempty" yaml:"diskSizeGB,omitempty"`
NumShards *int `json:"numShards,omitempty" yaml:"numShards,omitempty"`
}
func (*AtlasConfig) CredentialsValue ¶
func (r *AtlasConfig) CredentialsValue() string
func (*AtlasConfig) DependencyProviders ¶
func (r *AtlasConfig) DependencyProviders() map[string]api.AuthDescriptor
func (*AtlasConfig) ProjectIdValue ¶
func (r *AtlasConfig) ProjectIdValue() string
func (*AtlasConfig) ProviderType ¶
func (r *AtlasConfig) ProviderType() string
type AtlasNetworkConfig ¶
type AtlasNetworkConfig struct {
PrivateLinkEndpoint *PrivateLinkEndpoint `json:"privateLinkEndpoint,omitempty" yaml:"privateLinkEndpoint,omitempty"`
AllowAllIps *bool `json:"allowAllIps,omitempty" yaml:"allowAllIps,omitempty"`
AllowCidrs *[]string `json:"allowCidrs,omitempty" yaml:"allowCidrs,omitempty"` // format "0.0.0.0/0"
}
type PrivateLinkEndpoint ¶
type PrivateLinkEndpoint struct {
ProviderName string `json:"providerName" yaml:"providerName"`
}
Click to show internal directories.
Click to hide internal directories.