Documentation
¶
Index ¶
- Variables
- func CopyDefaults(destDir string, replacements map[string]string) error
- func CopyNetwork(networkName, destDir string) error
- func CopySkills(destDir string) error
- func GetAvailableNetworks() ([]string, error)
- func GetEmbeddedSkillNames() ([]string, error)
- func ReadEmbeddedNetworkFile(networkName, filename string) ([]byte, error)
- func ReadInfrastructureFile(path string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
var K3dConfig string
Embedded file systems Note: embed paths are relative to this file's directory (internal/embed/)
var K3sConfig string
Functions ¶
func CopyDefaults ¶
CopyDefaults recursively copies all embedded infrastructure manifests to the destination directory. The replacements map is applied to every file: each key (e.g. "{{OLLAMA_HOST}}") is replaced with its value. Pass nil for a verbatim copy.
func CopyNetwork ¶
CopyNetwork recursively copies an embedded network to the destination directory
func CopySkills ¶
CopySkills recursively copies all embedded skills to the destination directory. If a skill directory already exists at the destination, it is skipped (user skills take precedence over embedded defaults).
func GetAvailableNetworks ¶
GetAvailableNetworks returns a list of all embedded network names
func GetEmbeddedSkillNames ¶
GetEmbeddedSkillNames returns the names of all embedded skill directories.
func ReadEmbeddedNetworkFile ¶
ReadEmbeddedNetworkFile reads a file from an embedded network
func ReadInfrastructureFile ¶
ReadInfrastructureFile reads a file from the embedded infrastructure directory
Types ¶
This section is empty.