Documentation
¶
Index ¶
- Constants
- func BalanceMemory(services []ServiceConfig, totalSystemMemory int) (map[string]*ServiceConfig, error)
- func CheckCPU(cores int) error
- func CheckDisk(size uint64) error
- func CheckDistro() (string, error)
- func CheckMem(size uint64) error
- func GetOddValue(value int) int
- func InstallTools(distro string) error
- func PrepareKernel() error
- func PrepareSystem(distro string) error
- func VerifyAirGapPrerequisites() error
- type ServiceConfig
Constants ¶
View Source
const (
SYSTEM_RESERVED_MEMORY = 1 * 1000
)
Variables ¶
This section is empty.
Functions ¶
func BalanceMemory ¶
func BalanceMemory(services []ServiceConfig, totalSystemMemory int) (map[string]*ServiceConfig, error)
func CheckDistro ¶
func GetOddValue ¶
func InstallTools ¶
func PrepareKernel ¶
func PrepareKernel() error
func PrepareSystem ¶
func VerifyAirGapPrerequisites ¶
func VerifyAirGapPrerequisites() error
Types ¶
Click to show internal directories.
Click to hide internal directories.