open-vault/vault/replication/cluster.go
Brian Kassouf f5b5fbb392
Refactor the cluster listener (#6232)
* Port over OSS cluster port refactor components

* Start forwarding

* Cleanup a bit

* Fix copy error

* Return error from perf standby creation

* Add some more comments

* Fix copy/paste error
2019-02-14 18:14:56 -08:00

17 lines
287 B
Go

// +build !enterprise
package replication
import "github.com/hashicorp/vault/helper/consts"
type Cluster struct {
State consts.ReplicationState
ClusterID string
PrimaryClusterAddr string
}
type Clusters struct {
DR *Cluster
Performance *Cluster
}