Documentation ¶
Index ¶
- func ConvertYAMLtoJSONHelper(i interface{}) interface{}
- func CopyFile(source, target string)
- func GenID() string
- func GenUniqID() string
- func JSONToYAMLConvert(cnfg interface{}) []byte
- func LoadUserProjectConfig(path string) *v1.AtlasProject
- func ReadInYAMLFileAndConvert(pathToYamlFile string, cnfg interface{}) interface{}
- func SaveToFile(path string, data []byte) error
- type Secrets
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 JSONToYAMLConvert ¶
func JSONToYAMLConvert(cnfg interface{}) []byte
func LoadUserProjectConfig ¶
func LoadUserProjectConfig(path string) *v1.AtlasProject
LoadUserProjectConfig load configuration into object
func ReadInYAMLFileAndConvert ¶
func ReadInYAMLFileAndConvert(pathToYamlFile string, cnfg interface{}) interface{}
ReadInYAMLFileAndConvert reads in the yaml file given by the path given
func SaveToFile ¶
Types ¶
type Secrets ¶ added in v0.6.1
func GetSecretEnvOrActrc ¶ added in v0.6.1
func GetSecretsFromActrc ¶ added in v0.6.1
GetSecretsFromActrc act use .actrc file for define the secrets, we can use the same file
Click to show internal directories.
Click to hide internal directories.