Documentation ¶
Index ¶
- Constants
- Variables
- type HardwareCalPrompt
- type HardwareCalReq
- func (h *HardwareCalReq) FrontendCal() (frontendNodeCount, frontendRam int)
- func (h *HardwareCalReq) NewCal() (r *HardwareCalRes, err error)
- func (h *HardwareCalReq) OpenSearchCal() (osNodeCount, opensearchRam, osNodeStorage int, err error)
- func (h *HardwareCalReq) PostgresqlCal() (pgNodeRam, pgStorage int)
- type HardwareCalRes
- type Node
Constants ¶
View Source
const INPUT_ERR_MSG = "Calculator only supports in range of %v <= N <= %v. Please run load testing by yourself to determine infrastructure need"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HardwareCalPrompt ¶
type HardwareCalPrompt struct { Prompt pmt.Prompt `toml:"-"` // contains filtered or unexported fields }
func NewHardwareCalPrompt ¶
func NewHardwareCalPrompt(p pmt.Prompt, cw *cli.Writer) *HardwareCalPrompt
func (*HardwareCalPrompt) Run ¶
func (h *HardwareCalPrompt) Run() (err error)
type HardwareCalReq ¶
type HardwareCalReq struct { NoOfNodes int FreqCountComplianceScanPerDay int FreqCountClientRunPerDay int FreqCountEventFeedPerDay int DataRetentionDays int ComplianceReportSizeKB int ClientRunReportSizeKB int EventFeedSizeKB int NoOfReplicasInOpenSearch int }
func (*HardwareCalReq) FrontendCal ¶
func (h *HardwareCalReq) FrontendCal() (frontendNodeCount, frontendRam int)
func (*HardwareCalReq) NewCal ¶
func (h *HardwareCalReq) NewCal() (r *HardwareCalRes, err error)
func (*HardwareCalReq) OpenSearchCal ¶
func (h *HardwareCalReq) OpenSearchCal() (osNodeCount, opensearchRam, osNodeStorage int, err error)
func (*HardwareCalReq) PostgresqlCal ¶
func (h *HardwareCalReq) PostgresqlCal() (pgNodeRam, pgStorage int)
type HardwareCalRes ¶
Click to show internal directories.
Click to hide internal directories.