Documentation
¶
Index ¶
- func GetDiskFreeGB(path string) float64
- func GetHostMemoryMB() uint64
- func IsComplete(deploymentsPath string) bool
- func IsPortAvailable(port int) bool
- func ResolvePublicIP() string
- type CheckResult
- type Handlers
- func (h *Handlers) Complete(c *gin.Context)
- func (h *Handlers) ConfigureAuthentication(c *gin.Context)
- func (h *Handlers) ConfigureSettings(c *gin.Context)
- func (h *Handlers) GetInfo(c *gin.Context)
- func (h *Handlers) GetStatus(c *gin.Context)
- func (h *Handlers) Guard() gin.HandlerFunc
- func (h *Handlers) ValidateSystem(c *gin.Context)
- func (h *Handlers) VerifyDNS(c *gin.Context)
- type Manager
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDiskFreeGB ¶
func GetHostMemoryMB ¶
func GetHostMemoryMB() uint64
func IsComplete ¶
func IsPortAvailable ¶
func ResolvePublicIP ¶
func ResolvePublicIP() string
Types ¶
type CheckResult ¶
type CheckResult struct {
Name string `json:"name"`
Status string `json:"status"`
Message string `json:"message"`
Required bool `json:"required"`
}
func CheckDiskSpace ¶
func CheckDiskSpace(path string) CheckResult
func CheckDocker ¶
func CheckDocker() CheckResult
func CheckDockerCompose ¶
func CheckDockerCompose() CheckResult
func CheckMemory ¶
func CheckMemory() CheckResult
func CheckPort ¶
func CheckPort(port int, inUseBy string) CheckResult
func RunSystemChecks ¶
func RunSystemChecks(deploymentsPath string) []CheckResult
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func (*Handlers) ConfigureAuthentication ¶
func (*Handlers) ConfigureSettings ¶
func (*Handlers) Guard ¶
func (h *Handlers) Guard() gin.HandlerFunc
func (*Handlers) ValidateSystem ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) ConfigPath ¶
func (*Manager) GetInstanceIP ¶
func (*Manager) IsComplete ¶
func (*Manager) MarkComplete ¶
Click to show internal directories.
Click to hide internal directories.