mongodb

package
v0.0.0-...-2c85719 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendUserPasswordAndDBToMongoUri

func AppendUserPasswordAndDBToMongoUri(mongoUri string, user, password, dbName string) string

func Cluster

func Cluster(ctx *sdk.Context, stack api.Stack, input api.ResourceInput, params pApi.ProvisionParams) (*api.ResourceOutput, error)

func ClusterComputeProcessor

func ClusterComputeProcessor(ctx *sdk.Context, stack api.Stack, input api.ResourceInput, collector pApi.ComputeContextCollector, params pApi.ProvisionParams) (*api.ResourceOutput, error)

func Provider

func Provider(ctx *sdk.Context, stack api.Stack, input api.ResourceInput, params pApi.ProvisionParams) (*api.ResourceOutput, error)

Types

type ClusterOutput

type ClusterOutput struct {
	DbUsers                    sdk.Output
	Cluster                    *mongodbatlas.Cluster
	Project                    *mongodbatlas.Project
	PrivateLinkEndpointService *mongodbatlas.PrivateLinkEndpointService
}

type DbUserOutput

type DbUserOutput struct {
	UserName string `json:"userName" yaml:"userName"`
	Password string `json:"password" yaml:"password"`
	DbUri    string `json:"dbUri" yaml:"dbUri"`
}

func (DbUserOutput) ToJson

func (o DbUserOutput) ToJson() string

Jump to

Keyboard shortcuts

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