Experimental daemon.

This commit is contained in:
2025-08-23 06:17:38 -07:00
parent f94f80cd2a
commit e56d981d74
6 changed files with 28 additions and 28 deletions

View File

@@ -11,9 +11,9 @@ import (
// Config represents the main configuration structure // Config represents the main configuration structure
type Config struct { type Config struct {
Wildcloud struct { Wildcloud struct {
Repository string `yaml:"repository" json:"repository"` Repository string `yaml:"repository" json:"repository"`
CurrentPhase string `yaml:"currentPhase" json:"currentPhase"` CurrentPhase string `yaml:"currentPhase" json:"currentPhase"`
CompletedPhases []string `yaml:"completedPhases" json:"completedPhases"` CompletedPhases []string `yaml:"completedPhases" json:"completedPhases"`
} `yaml:"wildcloud" json:"wildcloud"` } `yaml:"wildcloud" json:"wildcloud"`
Server struct { Server struct {
Port int `yaml:"port" json:"port"` Port int `yaml:"port" json:"port"`
@@ -89,6 +89,6 @@ func (c *Config) IsEmpty() bool {
// Check if any essential fields are empty // Check if any essential fields are empty
return c.Cloud.Domain == "" || return c.Cloud.Domain == "" ||
c.Cloud.DNS.IP == "" || c.Cloud.DNS.IP == "" ||
c.Cluster.Nodes.Talos.Version == "" c.Cluster.Nodes.Talos.Version == ""
} }