cosmosdb

package
v0.6.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2017 License: MIT Imports: 8 Imported by: 4

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{}

ProvisioningParameters encapsulates CosmosDB-specific provisioning options

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