cosmosdb

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	armDeployer arm.Deployer,
	cosmosdbManager cosmosdb.Manager,
) service.Module

New returns a new instance of a type that fulfills the service.Module interface and is capable of provisioning CosmosDB servers and databases using "Azure Database for CosmosDB"

Types

type BindingParameters

type BindingParameters struct {
}

BindingParameters encapsulates CosmosDB-specific binding options

type Credentials

type Credentials struct {
	Host                    string `json:"host,omitempty"`
	Port                    int    `json:"port,omitempty"`
	Username                string `json:"username,omitempty"`
	Password                string `json:"password,omitempty"`
	ConnectionString        string `json:"connectionstring,omitempty"`
	URI                     string `json:"uri,omitempty"`
	PrimaryConnectionString string `json:"primaryconnectionstring,omitempty"`
	PrimaryKey              string `json:"primarykey,omitempty"`
}

Credentials encapsulates CosmosDB-specific connection details and credentials. The attributes of this type cover all the attributes possibly used by either of CosmosDBs two connections types-- MongoDB or DocumentDB.

type ProvisioningParameters

type ProvisioningParameters struct {
	Location      string            `json:"location"`
	ResourceGroup string            `json:"resourceGroup"`
	Tags          map[string]string `json:"tags"`
}

ProvisioningParameters encapsulates CosmosDB-specific provisioning options

func (*ProvisioningParameters) SetResourceGroup

func (p *ProvisioningParameters) SetResourceGroup(resourceGroup string)

SetResourceGroup sets the name of the resource group into which service instances will be deployed

type UpdatingParameters

type UpdatingParameters struct {
}

UpdatingParameters encapsulates CosmosDB-specific updating options

Jump to

Keyboard shortcuts

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