Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationAddClusterNode ¶
type OperationAddClusterNode struct {
Url string `json:"Url"`
Tag string `json:"Tag"`
Watcher bool `json:"Watcher"`
}
func (*OperationAddClusterNode) GetCommand ¶
func (operation *OperationAddClusterNode) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type OperationAddDatabaseNode ¶
func (*OperationAddDatabaseNode) GetCommand ¶
func (operation *OperationAddDatabaseNode) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type OperationBootstrap ¶
type OperationBootstrap struct {
}
func (*OperationBootstrap) GetCommand ¶
func (o *OperationBootstrap) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type OperationDatabaseHealthCheck ¶
type OperationDatabaseHealthCheck struct{}
func (*OperationDatabaseHealthCheck) GetCommand ¶
func (operation *OperationDatabaseHealthCheck) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type OperationDemoteClusterNode ¶
type OperationDemoteClusterNode struct {
Node string `json:"Node"`
}
func (*OperationDemoteClusterNode) GetCommand ¶
func (operation *OperationDemoteClusterNode) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type OperationGetBuildNumber ¶
type OperationGetBuildNumber struct {
BuildVersion int `json:"BuildVersion"`
ProductVersion string `json:"ProductVersion"`
CommitHash string `json:"CommitHash"`
FullVersion string `json:"FullVersion"`
}
func (*OperationGetBuildNumber) GetCommand ¶
func (operation *OperationGetBuildNumber) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type OperationGetClusterTopology ¶
type OperationGetClusterTopology struct {
Topology ravendb.ClusterTopology
Etag int `json:"Etag"`
Leader string `json:"Leader"`
LeaderShipDuration int `json:"LeaderShipDuration"`
CurrentState string `json:"CurrentState"`
NodeTag string `json:"NodeTag"`
CurrentTerm int `json:"CurrentTerm"`
NodeLicenseDetails struct {
UtilizedCores int `json:"UtilizedCores"`
MaxUtilizedCores interface{} `json:"MaxUtilizedCores"`
NumberOfCores int `json:"NumberOfCores"`
InstalledMemoryInGb float64 `json:"InstalledMemoryInGb"`
UsableMemoryInGb float64 `json:"UsableMemoryInGb"`
BuildInfo struct {
ProductVersion string `json:"ProductVersion"`
BuildVersion int `json:"BuildVersion"`
CommitHash string `json:"CommitHash"`
FullVersion string `json:"FullVersion"`
} `json:"BuildInfo"`
OsInfo struct {
Type string `json:"Type"`
FullName string `json:"FullName"`
Version string `json:"Version"`
BuildVersion string `json:"BuildVersion"`
Is64Bit bool `json:"Is64Bit"`
} `json:"OsInfo"`
}
LastStateChangeReason string `json:"LastStateChangeReason"`
Status struct{} `json:"Status"`
}
func (*OperationGetClusterTopology) GetCommand ¶
func (operation *OperationGetClusterTopology) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type OperationPromoteClusterNode ¶
type OperationPromoteClusterNode struct {
Node string `json:"Node"`
}
func NewOperationPromoteClusterNode ¶
func NewOperationPromoteClusterNode(node string) *OperationPromoteClusterNode
func NewRemovePromoteClusterNode ¶
func NewRemovePromoteClusterNode(node string) *OperationPromoteClusterNode
func (*OperationPromoteClusterNode) GetCommand ¶
func (operation *OperationPromoteClusterNode) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
type RemoveClusterNode ¶
func (*RemoveClusterNode) GetCommand ¶
func (operation *RemoveClusterNode) GetCommand(conventions *ravendb.DocumentConventions) (ravendb.RavenCommand, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.