atlas

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: 10 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  *mongodbatlas.Client
}

func AClient

func AClient() (Atlas, error)

func (*Atlas) AddKeyWithAccessList

func (a *Atlas) AddKeyWithAccessList(projectID string, roles, access []string) (public string, private string, err error)

func (*Atlas) GetAdvancedDeployment added in v1.0.0

func (a *Atlas) GetAdvancedDeployment(projectId, clusterName string) (*mongodbatlas.AdvancedCluster, error)

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, clusterName string) (*mongodbatlas.Cluster, error)

Jump to

Keyboard shortcuts

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