mongocli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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 DeleteCluster

func DeleteCluster(projectID, clusterName string) *Buffer

func GetClusterByName

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

func GetClusterStateName

func GetClusterStateName(projectID string, clusterName string) string

func GetClusters

func GetClusters(projectID string) []mongodbatlas.Cluster

func GetClustersInfo

func GetClustersInfo(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(userName, projectID string) mongodbatlas.DatabaseUser

func GetVersionOutput

func GetVersionOutput()

func IsClusterExist

func IsClusterExist(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(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