Documentation ¶
Index ¶
- type Atlas
- func (a *Atlas) AddKeyWithAccessList(projectID string, roles, access []string) (*mongodbatlas.APIKey, error)
- func (a *Atlas) CreateExportBucket(projectID, bucketName, roleID string) (*mongodbatlas.CloudProviderSnapshotExportBucket, error)
- func (a *Atlas) DeleteGlobalKey(key mongodbatlas.APIKey) error
- func (a *Atlas) GetDBUser(database, userName, projectID string) (*mongodbatlas.DatabaseUser, error)
- func (a *Atlas) GetDeployment(projectId, deploymentName string) (*mongodbatlas.AdvancedCluster, error)
- func (a *Atlas) GetDeployments(projectID string) []*mongodbatlas.AdvancedCluster
- func (a *Atlas) GetEncryptionAtRest(projectID string) (*mongodbatlas.EncryptionAtRest, error)
- func (a *Atlas) GetIntegrationByType(projectId, iType string) (*mongodbatlas.ThirdPartyIntegration, error)
- func (a *Atlas) GetOrgUsers(projectID string) ([]mongodbatlas.AtlasUser, error)
- func (a *Atlas) GetPrivateEndpoint(projectID, provider string) ([]mongodbatlas.PrivateEndpointConnection, error)
- func (a *Atlas) GetServerlessInstance(projectId, deploymentName string) (*mongodbatlas.Cluster, error)
- func (a *Atlas) GetUserByName(database, projectID, username string) (*mongodbatlas.DatabaseUser, error)
- func (a *Atlas) IsDeploymentExist(projectID string, name string) bool
- func (a *Atlas) IsProjectExists(g Gomega, projectID string) bool
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 *mongodbatlas.Client }
func GetClientOrFail ¶ added in v1.2.0
func GetClientOrFail() *Atlas
func (*Atlas) AddKeyWithAccessList ¶
func (*Atlas) CreateExportBucket ¶ added in v1.7.2
func (a *Atlas) CreateExportBucket(projectID, bucketName, roleID string) (*mongodbatlas.CloudProviderSnapshotExportBucket, error)
func (*Atlas) DeleteGlobalKey ¶ added in v1.1.0
func (a *Atlas) DeleteGlobalKey(key mongodbatlas.APIKey) error
func (*Atlas) GetDBUser ¶ added in v1.2.0
func (a *Atlas) GetDBUser(database, userName, projectID string) (*mongodbatlas.DatabaseUser, error)
func (*Atlas) GetDeployment ¶ added in v1.2.0
func (a *Atlas) GetDeployment(projectId, deploymentName string) (*mongodbatlas.AdvancedCluster, error)
func (*Atlas) GetDeployments ¶ added in v1.2.0
func (a *Atlas) GetDeployments(projectID string) []*mongodbatlas.AdvancedCluster
func (*Atlas) GetEncryptionAtRest ¶ added in v1.8.1
func (a *Atlas) GetEncryptionAtRest(projectID string) (*mongodbatlas.EncryptionAtRest, error)
func (*Atlas) GetIntegrationByType ¶ added in v1.8.1
func (a *Atlas) GetIntegrationByType(projectId, iType string) (*mongodbatlas.ThirdPartyIntegration, error)
func (*Atlas) GetOrgUsers ¶ added in v1.5.0
func (a *Atlas) GetOrgUsers(projectID string) ([]mongodbatlas.AtlasUser, error)
func (*Atlas) GetPrivateEndpoint ¶ added in v0.7.0
func (a *Atlas) GetPrivateEndpoint(projectID, provider string) ([]mongodbatlas.PrivateEndpointConnection, error)
func (*Atlas) GetServerlessInstance ¶ added in v1.0.0
func (a *Atlas) GetServerlessInstance(projectId, deploymentName string) (*mongodbatlas.Cluster, error)
func (*Atlas) GetUserByName ¶ added in v1.1.0
func (a *Atlas) GetUserByName(database, projectID, username string) (*mongodbatlas.DatabaseUser, error)
func (*Atlas) IsDeploymentExist ¶ added in v1.2.0
func (*Atlas) IsProjectExists ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.