Documentation ¶
Index ¶
- func BToGB(in int64) (float64, error)
- func CreateDir(dir string) error
- func GetDataFormFile(provider string) (*data.CloudData, error)
- func GetWriteDir() (string, error)
- func MBToGB(in int64) (float64, error)
- func ParseVersions(versions string) []string
- func ReadFile(name string) ([]byte, error)
- func SortCloudData(data *data.CloudData) *data.CloudData
- func WriteFile(filename string, bytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataFormFile ¶
getting provider data from cloud.json file data contained in [path to pharmer]/data/files/[provider]/cloud.json
func ParseVersions ¶
versions string formate is `1.1.0,1.9.0` they are comma separated, no space allowed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.