Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseManifest ¶
type ReleaseManifest struct { APIVersion float64 `yaml:"apiVersion"` ReleaseVersion string `yaml:"releaseVersion"` SupportedUpgrades []string `yaml:"supportedUpgrades"` Components struct { OperatingSystem struct { Upgrade struct { Version string `yaml:"version"` } `yaml:"upgrade"` } `yaml:"operatingSystem"` Kubernetes struct { Rke2 struct { Version string `yaml:"version"` } `yaml:"rke2"` K3S struct { Version string `yaml:"version"` } `yaml:"k3s"` } `yaml:"kubernetes"` Helm []struct { Name string `yaml:"name"` Version string `yaml:"version"` Location string `yaml:"location"` Namespace string `yaml:"namespace"` } `yaml:"helm"` Images []struct { Name string `yaml:"name"` Version string `yaml:"version"` Location string `yaml:"location"` } `yaml:"images"` } `yaml:"components"` }
ReleaseManifest is the struct that represents the release manifest
func ReadReleaseManifest ¶
func ReadReleaseManifest(input string) (*ReleaseManifest, error)
Func ReadReleaseManifest from a input file, and return a ReleaseManifest struct or an error if something goes wrong
Click to show internal directories.
Click to hide internal directories.