Documentation ¶
Index ¶
Constants ¶
View Source
const (
ConfigurationFileKey = "prime"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Brand string `json:"brand" yaml:"brand"` GitCommit string `json:"gitCommit" yaml:"gitCommit"` IsPrime bool `json:"isPrime" yaml:"isPrime" default:"false"` RancherVersion string `json:"rancherVersion" yaml:"rancherVersion"` Registry string `json:"registry" yaml:"registry"` }
func RequestRancherVersion ¶
RequestRancherVersion Requests the rancher version from the rancher server, parses the returned json and returns a Config object, or an error.
Click to show internal directories.
Click to hide internal directories.