cbcluster

package
v0.0.0-...-e870905 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDynamoDbSession

func CreateDynamoDbSession() *dynamodb.DynamoDB

Types

type CouchbaseCluster

type CouchbaseCluster struct {
	ClusterId string                    // Something to uniquely identify the cluster
	DynamoDb  dynamodbiface.DynamoDBAPI // DynamoDB driver or mock
}

func (*CouchbaseCluster) CreateOrJoinCuster

func (cluster *CouchbaseCluster) CreateOrJoinCuster(iPAddrOrHostname string) (CouchbaseNode, error)

func (*CouchbaseCluster) DBCreate

func (cluster *CouchbaseCluster) DBCreate(iPAddrOrHostname string) error

func (*CouchbaseCluster) NewCouchbaseNode

func (cluster *CouchbaseCluster) NewCouchbaseNode() CouchbaseNode

type CouchbaseNode

type CouchbaseNode struct {
	CouchbaseCluster *CouchbaseCluster
	IpAddrOrHostname string // The ip address or hostname for this Couchbase Node
	IsInitialNode    bool   // Whether this is the initial node that others can join
}

func (*CouchbaseNode) DBLoad

func (cbnode *CouchbaseNode) DBLoad() error

Jump to

Keyboard shortcuts

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