Documentation ¶
Index ¶
- type Atlas
- func (a *Atlas) AddKeyWithAccessList(projectID string, roles, access []string) (*mongodbatlas.APIKey, error)
- func (a *Atlas) DeleteGlobalKey(key mongodbatlas.APIKey) error
- func (a *Atlas) GetAdvancedDeployment(projectId, deploymentName string) (*mongodbatlas.AdvancedCluster, error)
- func (a *Atlas) GetDBUser(database, userName, projectID string) (*mongodbatlas.DatabaseUser, error)
- func (a *Atlas) GetDeployment(projectID string, name string) mongodbatlas.Cluster
- func (a *Atlas) GetDeployments(projectID string) []mongodbatlas.Cluster
- func (a *Atlas) GetIntegrationbyType(projectId, iType string) (*mongodbatlas.ThirdPartyIntegration, 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(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) DeleteGlobalKey ¶ added in v1.1.0
func (a *Atlas) DeleteGlobalKey(key mongodbatlas.APIKey) error
func (*Atlas) GetAdvancedDeployment ¶ added in v1.0.0
func (a *Atlas) GetAdvancedDeployment(projectId, deploymentName string) (*mongodbatlas.AdvancedCluster, 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 string, name string) mongodbatlas.Cluster
func (*Atlas) GetDeployments ¶ added in v1.2.0
func (a *Atlas) GetDeployments(projectID string) []mongodbatlas.Cluster
func (*Atlas) GetIntegrationbyType ¶ added in v1.0.0
func (a *Atlas) GetIntegrationbyType(projectId, iType string) (*mongodbatlas.ThirdPartyIntegration, 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.