atlas

package
v2.2.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Atlas

type Atlas struct {
	OrgID   string
	Public  string
	Private string
	Client  *admin.APIClient
}

func AClient

func AClient() (Atlas, error)

func GetClientOrFail

func GetClientOrFail() *Atlas

func (*Atlas) CreateExportBucket

func (a *Atlas) CreateExportBucket(projectID, bucketName, roleID string) (*admin.DiskBackupSnapshotAWSExportBucket, error)

func (*Atlas) DeleteGlobalKey

func (a *Atlas) DeleteGlobalKey(key admin.ApiKeyUserDetails) error

func (*Atlas) GetDBUser

func (a *Atlas) GetDBUser(database, userName, projectID string) (*admin.CloudDatabaseUser, error)

func (*Atlas) GetDeployment

func (a *Atlas) GetDeployment(projectId, deploymentName string) (*admin.AdvancedClusterDescription, error)

func (*Atlas) GetDeployments

func (a *Atlas) GetDeployments(projectID string) []admin.AdvancedClusterDescription

func (*Atlas) GetEncryptionAtRest

func (a *Atlas) GetEncryptionAtRest(projectID string) (*admin.EncryptionAtRest, error)

func (*Atlas) GetIntegrationByType

func (a *Atlas) GetIntegrationByType(projectId, iType string) (*admin.ThirdPartyIntegration, error)

func (*Atlas) GetOrgUsers

func (a *Atlas) GetOrgUsers() ([]admin.CloudAppUser, error)

func (*Atlas) GetServerlessInstance

func (a *Atlas) GetServerlessInstance(projectId, deploymentName string) (*admin.ServerlessInstanceDescription, error)

func (*Atlas) GetUserByName

func (a *Atlas) GetUserByName(database, projectID, username string) (*admin.CloudDatabaseUser, error)

func (*Atlas) IsDeploymentExist

func (a *Atlas) IsDeploymentExist(projectID string, name string) bool

func (*Atlas) IsProjectExists

func (a *Atlas) IsProjectExists(g Gomega, projectID string) bool

Jump to

Keyboard shortcuts

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