Documentation
¶
Overview ¶
Package spec provides CLI-layer helpers for resolving sichek spec/config files. All heavy lifting (path discovery, OSS download, backup, tracing) is handled by common.EnsureSpecFile; this package exposes intent-revealing wrappers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureCfgFile ¶
EnsureCfgFile ensures the user-config YAML is available locally. Derives a cluster-specific name (e.g. "taihua_user_config.yaml") when empty, then falls back to DefaultUserCfgName.
func EnsureSpecFile ¶
EnsureSpecFile ensures the hardware-spec YAML is available locally. Derives a cluster-specific name (e.g. "taihua_spec.yaml") when empty, then falls back to DefaultSpecCfgName.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.