Documentation ¶
Index ¶
- func ConvertYAMLtoJSONHelper(i interface{}) interface{}
- func CopyFile(source, target string)
- func GenID() string
- func GenUniqID() string
- func GenerateX509Cert() ([]byte, *rsa.PrivateKey, *rsa.PublicKey, error)
- func JSONToYAMLConvert(cnfg interface{}) []byte
- func LoadUserProjectConfig(path string) *akov2.AtlasProject
- func RandomName(base string) string
- func ReadInYAMLFileAndConvert(pathToYamlFile string, cnfg interface{}) interface{}
- func SaveToFile(path string, data []byte) error
- func UserSecretPassword() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertYAMLtoJSONHelper ¶
func ConvertYAMLtoJSONHelper(i interface{}) interface{}
ConvertYAMLtoJSONHelper converts the yaml to json recursively
func GenerateX509Cert ¶
func JSONToYAMLConvert ¶
func JSONToYAMLConvert(cnfg interface{}) []byte
func LoadUserProjectConfig ¶
func LoadUserProjectConfig(path string) *akov2.AtlasProject
LoadUserProjectConfig load configuration into object
func RandomName ¶
func ReadInYAMLFileAndConvert ¶
func ReadInYAMLFileAndConvert(pathToYamlFile string, cnfg interface{}) interface{}
ReadInYAMLFileAndConvert reads in the yaml file given by the path given
func SaveToFile ¶
func UserSecretPassword ¶
func UserSecretPassword() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.