Documentation
¶
Index ¶
- Variables
- func AlertConfig() *atlas.AlertConfiguration
- func AlertConfigs() []atlas.AlertConfiguration
- func AutomationConfig() *opsmngr.AutomationConfig
- func AutomationConfigWithOneReplicaSet(name string, disabled bool) *opsmngr.AutomationConfig
- func Cluster() *atlas.Cluster
- func Clusters() []atlas.Cluster
- func DatabaseUser() *atlas.DatabaseUser
- func DatabaseUsers() []atlas.DatabaseUser
- func EmptyAutomationConfig() *opsmngr.AutomationConfig
- func IPWhiteList() *atlas.ProjectIPWhitelist
- func Organizations() *om.Organizations
- func OwnerResponse(email, firstName, lastName string) *opsmngr.CreateUserResponse
- func ProjectIPWhitelist() []atlas.ProjectIPWhitelist
- func Projects() *atlas.Projects
Constants ¶
This section is empty.
Variables ¶
View Source
var Organization = &om.Organization{ ID: "5a0a1e7e0f2912c554080adc", Name: "Organization 0", Links: []*atlas.Link{ { Href: "https://cloud.mongodb.com/api/public/v1.0/orgs/5a0a1e7e0f2912c554080adc", Rel: "self", }, }, }
View Source
var Project1 = &atlas.Project{ ClusterCount: 2, Created: "2016-07-14T14:19:33Z", ID: "5a0a1e7e0f2912c554080ae6", Links: []*atlas.Link{ { Href: "https://cloud.mongodb.com/api/atlas/v1.0/groups/5a0a1e7e0f2912c554080ae6", Rel: "self", }, }, Name: "ProjectBar", OrgID: "5a0a1e7e0f2912c554080adc", }
View Source
var Project2 = &atlas.Project{ ClusterCount: 0, Created: "2017-10-16T15:24:01Z", ID: "5a0a1e7e0f2912c554080ae7", Links: []*atlas.Link{ { Href: "https://cloud.mongodb.com/api/atlas/v1.0/groups/5a0a1e7e0f2912c554080ae7", Rel: "self", }, }, Name: "Project Foo", OrgID: "5a0a1e7e0f2912c554080adc", }
Functions ¶
func AlertConfig ¶
func AlertConfig() *atlas.AlertConfiguration
func AlertConfigs ¶
func AlertConfigs() []atlas.AlertConfiguration
func AutomationConfig ¶
func AutomationConfig() *opsmngr.AutomationConfig
func AutomationConfigWithOneReplicaSet ¶
func AutomationConfigWithOneReplicaSet(name string, disabled bool) *opsmngr.AutomationConfig
func DatabaseUser ¶
func DatabaseUser() *atlas.DatabaseUser
func DatabaseUsers ¶
func DatabaseUsers() []atlas.DatabaseUser
func EmptyAutomationConfig ¶
func EmptyAutomationConfig() *opsmngr.AutomationConfig
func IPWhiteList ¶
func IPWhiteList() *atlas.ProjectIPWhitelist
func Organizations ¶
func Organizations() *om.Organizations
func OwnerResponse ¶
func OwnerResponse(email, firstName, lastName string) *opsmngr.CreateUserResponse
func ProjectIPWhitelist ¶
func ProjectIPWhitelist() []atlas.ProjectIPWhitelist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.