Documentation
¶
Index ¶
Constants ¶
View Source
const ( RKE = "RKE" RKE2 = "RKE2" K3S = "K3S" )
Variables ¶
This section is empty.
Functions ¶
func DownloadFromURL ¶
DownloadFromURL download the file from the provided url, and returns its content as a string. It returns an empty string and an error when something goes wrong.
func FromFile ¶
FromFile loads and returns the data object from the given path to a data.json file. It returns an empty data and an error when something goes wrong.
func FromLocalFile ¶
FromLocalFile loads and returns the data object from the given path to a data.json file. It returns an empty data and an error when something goes wrong.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.