Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Constants here from Hardware Requirements in the documentaiton // https://docs.harvesterhci.io/v1.3/install/requirements/#hardware-requirements MinCPUTest = 8 MinCPUProd = 16 MinMemoryTest = 32 MinMemoryProd = 64 MinNetworkGbpsTest = 1 MinNetworkGbpsProd = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
The Run() method of a preflight.Check returns a string. If the string is empty, it means the check passed. Otherwise, the string contains some text explaining why the check failed. The error value will be set if the check itself failed to run at all for some reason.
type KVMHostCheck ¶
type KVMHostCheck struct{}
func (KVMHostCheck) Run ¶
func (c KVMHostCheck) Run() (msg string, err error)
type MemoryCheck ¶
type MemoryCheck struct{}
func (MemoryCheck) Run ¶
func (c MemoryCheck) Run() (msg string, err error)
type NetworkSpeedCheck ¶
type NetworkSpeedCheck struct {
Dev string
}
func (NetworkSpeedCheck) Run ¶
func (c NetworkSpeedCheck) Run() (msg string, err error)
Click to show internal directories.
Click to hide internal directories.