Documentation
¶
Overview ¶
Copyright 2020 MongoDB Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func Agent() *om.Agent
- func Agents() *om.Agents
- func Alert() *atlas.Alert
- func AlertConfig() *atlas.AlertConfiguration
- func AlertConfigs() []atlas.AlertConfiguration
- func AlertsResponse() *atlas.AlertsResponse
- func AllClusters() *om.AllClustersProjects
- func AutomationConfig() *opsmngr.AutomationConfig
- func AutomationConfigWithMongoDBUsers() *opsmngr.AutomationConfig
- func AutomationConfigWithOneReplicaSet(name string, disabled bool) *opsmngr.AutomationConfig
- func AutomationConfigWithoutMongoDBUsers() *opsmngr.AutomationConfig
- func AutomationStatus() *om.AutomationStatus
- func Checkpoint() *atlas.Checkpoint
- func Checkpoints() *atlas.Checkpoints
- func Cluster() *atlas.Cluster
- func Clusters() []atlas.Cluster
- func ContinuousJobs() *atlas.ContinuousJobs
- func ContinuousSnapshots() *atlas.ContinuousSnapshots
- func DatabaseUser() *atlas.DatabaseUser
- func DatabaseUsers() []atlas.DatabaseUser
- func EmptyAutomationConfig() *opsmngr.AutomationConfig
- func Event() *atlas.Event
- func Events() *atlas.EventResponse
- func GlobalAlert() *om.GlobalAlert
- func GlobalAlerts() *om.GlobalAlerts
- func IPWhiteList() *atlas.ProjectIPWhitelist
- func MatcherFieldsType() []string
- func MongoDBUsers() *opsmngr.MongoDBUser
- 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 AlertsResponse ¶ added in v0.1.0
func AlertsResponse() *atlas.AlertsResponse
func AllClusters ¶ added in v0.0.4
func AllClusters() *om.AllClustersProjects
func AutomationConfig ¶
func AutomationConfig() *opsmngr.AutomationConfig
func AutomationConfigWithMongoDBUsers ¶ added in v0.1.0
func AutomationConfigWithMongoDBUsers() *opsmngr.AutomationConfig
func AutomationConfigWithOneReplicaSet ¶
func AutomationConfigWithOneReplicaSet(name string, disabled bool) *opsmngr.AutomationConfig
func AutomationConfigWithoutMongoDBUsers ¶ added in v0.1.0
func AutomationConfigWithoutMongoDBUsers() *opsmngr.AutomationConfig
func AutomationStatus ¶ added in v0.0.4
func AutomationStatus() *om.AutomationStatus
func Checkpoint ¶ added in v0.0.4
func Checkpoint() *atlas.Checkpoint
func Checkpoints ¶ added in v0.0.4
func Checkpoints() *atlas.Checkpoints
func ContinuousJobs ¶ added in v0.0.4
func ContinuousJobs() *atlas.ContinuousJobs
func ContinuousSnapshots ¶ added in v0.0.4
func ContinuousSnapshots() *atlas.ContinuousSnapshots
func DatabaseUser ¶
func DatabaseUser() *atlas.DatabaseUser
func DatabaseUsers ¶
func DatabaseUsers() []atlas.DatabaseUser
func EmptyAutomationConfig ¶
func EmptyAutomationConfig() *opsmngr.AutomationConfig
func Events ¶ added in v0.1.0
func Events() *atlas.EventResponse
func GlobalAlert ¶ added in v0.1.0
func GlobalAlert() *om.GlobalAlert
func GlobalAlerts ¶ added in v0.1.0
func GlobalAlerts() *om.GlobalAlerts
func IPWhiteList ¶
func IPWhiteList() *atlas.ProjectIPWhitelist
func MatcherFieldsType ¶ added in v0.1.0
func MatcherFieldsType() []string
func MongoDBUsers ¶ added in v0.1.0
func MongoDBUsers() *opsmngr.MongoDBUser
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.