mongocli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAtlasProjectAPIKey added in v0.6.1

func CreateAtlasProjectAPIKey(role, projectID string) (string, string)

func DeleteDeployment added in v1.1.0

func DeleteDeployment(projectID, deploymentName string) *Buffer

func GetDeploymentByName added in v1.1.0

func GetDeploymentByName(projectID string, name string) mongodbatlas.Cluster

func GetDeploymentStateName added in v1.1.0

func GetDeploymentStateName(projectID string, deploymentName string) string

func GetDeployments added in v1.1.0

func GetDeployments(projectID string) []mongodbatlas.Cluster

func GetDeploymentsInfo added in v1.1.0

func GetDeploymentsInfo(projectID string, name string) mongodbatlas.Cluster

func GetProjectID

func GetProjectID(name string) string

func GetProjects

func GetProjects() mongodbatlas.Projects

func GetUser added in v0.5.0

func GetUser(database, userName, projectID string) *mongodbatlas.DatabaseUser

func GetVersionOutput

func GetVersionOutput()

func IsDeploymentExist added in v1.1.0

func IsDeploymentExist(projectID string, name string) bool

func IsProjectExist

func IsProjectExist(name string) bool

func IsProjectInfoExist

func IsProjectInfoExist(projectID string) bool

func IsUserExist added in v0.5.0

func IsUserExist(database, userName, projectID string) bool

func IsUserExistForAdmin added in v1.1.0

func IsUserExistForAdmin(userName, projectID string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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