github.com/altipla-consulting/ravendb-go-client@v0.1.3/database_topology.go (about)

     1  package ravendb
     2  
     3  // DatabaseTopology describes a topology of the database
     4  type DatabaseTopology struct {
     5  	Members                  []string          `json:"Members"`
     6  	Promotables              []string          `json:"Promotables"`
     7  	Rehabs                   []string          `json:"Rehabs"`
     8  	PredefinedMentors        map[string]string `json:"PredefinedMentors"`
     9  	DemotionReasons          map[string]string `json:"DemotionReasons"`
    10  	PromotablesStatus        map[string]string `json:"PromotablesStatus"`
    11  	ReplicationFactor        int               `json:"ReplicationFactor"`
    12  	DynamicNodesDistribution bool              `json:"DynamicNodesDistribution"`
    13  	Stamp                    LeaderStamp       `json:"Stamp"`
    14  }