2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-01-05 18:02:03 +00:00
|
|
|
//go:build !enterprise
|
2018-09-18 03:03:00 +00:00
|
|
|
|
2019-02-15 02:14:56 +00:00
|
|
|
package replication
|
2018-09-18 03:03:00 +00:00
|
|
|
|
2019-04-12 21:54:35 +00:00
|
|
|
import "github.com/hashicorp/vault/sdk/helper/consts"
|
2018-09-18 03:03:00 +00:00
|
|
|
|
2019-02-15 02:14:56 +00:00
|
|
|
type Cluster struct {
|
2018-09-18 03:03:00 +00:00
|
|
|
State consts.ReplicationState
|
|
|
|
ClusterID string
|
|
|
|
PrimaryClusterAddr string
|
|
|
|
}
|
2019-02-15 02:14:56 +00:00
|
|
|
|
|
|
|
type Clusters struct {
|
|
|
|
DR *Cluster
|
|
|
|
Performance *Cluster
|
|
|
|
}
|