common

package
v0.0.0-...-3834143 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

type Deployer interface {
	DeployCluster(clusterName string, dbType string, clusterSize int, firstHostPort int) (Nodes, error)
	RemoveCluster(clusterName string) (bool, error)
	ClusterStatus(clusterName string) (map[string]string, error)
}

type Node

type Node struct {
	Id     string `json:"id"`
	Status string `json:"status"`
	Port   int    `json:"port"`
}

func NewNode

func NewNode(id string, status string, port int) Node

type Nodes

type Nodes []Node

Jump to

Keyboard shortcuts

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