fixtures

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 Cluster

func Cluster() *atlas.Cluster

func Clusters

func Clusters() []atlas.Cluster

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

func Projects

func Projects() *atlas.Projects

Types

This section is empty.

Jump to

Keyboard shortcuts

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