Documentation ¶
Index ¶
- func GetDataFormFile(provider string) (*v1.CloudProvider, error)
- func MBToGB(in int64) (float64, error)
- func QuantityP(q resource.Quantity) *resource.Quantity
- func ReadFile(name string) ([]byte, error)
- func Sanitize(s string) string
- func SortCloudProvider(data *v1.CloudProvider) *v1.CloudProvider
- func WriteFile(filename string, bytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataFormFile ¶
func GetDataFormFile(provider string) (*v1.CloudProvider, error)
getting provider data from cloud.yaml file data contained in [path to pharmer]/data/files/[provider]/cloud.yaml
func SortCloudProvider ¶
func SortCloudProvider(data *v1.CloudProvider) *v1.CloudProvider
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.