open-vault/vault/replication/cluster.go

20 lines
362 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !enterprise
2018-09-18 03:03:00 +00:00
package replication
2018-09-18 03:03:00 +00:00
import "github.com/hashicorp/vault/sdk/helper/consts"
2018-09-18 03:03:00 +00:00
type Cluster struct {
2018-09-18 03:03:00 +00:00
State consts.ReplicationState
ClusterID string
PrimaryClusterAddr string
}
type Clusters struct {
DR *Cluster
Performance *Cluster
}