Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func (*Cluster) MonitorTopology ¶
type Config ¶
type Config struct { Log *zap.Logger Mongod string // mongod binary path Mongos string // mongos binary path Dir string // base directory DB string // database name Replicas int Shards int MaxCacheGB float64 Opentelemetry bool OnSetup func(ctx context.Context, client *mongo.Client) error SetupTimeout time.Duration }
type ReplicaSetStatus ¶
type ReplicaSetStatus struct {
Members []ReplicaStatus `bson:"members"`
}
type ReplicaStatus ¶
Click to show internal directories.
Click to hide internal directories.