atlas

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 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) GetAdvancedCluster added in v0.8.0

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

func (*Atlas) GetPrivateEndpoint added in v0.7.0

func (a *Atlas) GetPrivateEndpoint(projectID, provider string) ([]mongodbatlas.PrivateEndpointConnection, error)

Jump to

Keyboard shortcuts

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