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) *v1.AtlasProject
- func RandomName(base string) string
- func ReadInYAMLFileAndConvert(pathToYamlFile string, cnfg interface{}) interface{}
- func SaveToFile(path string, data []byte) error
- func UserSecretPassword() string
- 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 GenerateX509Cert ¶ added in v1.1.0
func JSONToYAMLConvert ¶
func JSONToYAMLConvert(cnfg interface{}) []byte
func LoadUserProjectConfig ¶
func LoadUserProjectConfig(path string) *v1.AtlasProject
LoadUserProjectConfig load configuration into object
func RandomName ¶ added in v1.3.0
func ReadInYAMLFileAndConvert ¶
func ReadInYAMLFileAndConvert(pathToYamlFile string, cnfg interface{}) interface{}
ReadInYAMLFileAndConvert reads in the yaml file given by the path given
func SaveToFile ¶
func UserSecretPassword ¶ added in v1.4.0
func UserSecretPassword() string
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.