Documentation ¶
Index ¶
- func AddTfVars(source string, context string, env string) string
- func AddTypeString(input []byte, spaceCount int, parentValue string, addString string) string
- func CheckElementByType(m map[string]interface{})
- func CheckElementByTypeStep3(m map[string]interface{}, keys Keys, element []interface{})
- func CheckIfHasChild(element interface{}) interface{}
- func CheckIfItIs(itIs bool, line string, spaceCount int, valueSearch string) bool
- func Contains(arr []Element, str string) bool
- func CreateNewYml(input []byte, spaceCount int, valueSearch string, parent ...string) string
- func DeleteEmptyFolder(url string) bool
- func DeleteFileIfItIsNeed(source string, workspace string, destination string, fileName string)
- func DeleteFolder(url string) bool
- func DownloadFromGit(url string) bool
- func FixVariablesInFolder(source string)
- func ForCodeClimate(param ElementProcessCC) (int, int, int, int, bool)
- func ForCodeClimate0(con1 bool, element byte, index int, newValue string) (int, string)
- func GenerateParameters(param GenerateParam) (string, string, string, string)
- func GenerateYml(param GenerateYmlParam) bool
- func Generation(provider string, source string, destination string)
- func IsDirEmpty(name string) bool
- func Normalize(source string, destination string, env string)
- func NormalizeFolder(source string, destination string, env string)
- func NormalizeJson(jsonLoad []byte) []byte
- func ParsingDefaultValue(defaultValue string, haveChild bool, valueHave string, valueDoNotHave string) string
- func ParsingElementByType(param ElementParam) string
- func ParsingFile(root string, fileName string, provider string) (bool, string, bool)
- func ParsingFileProcessing(match string, existID bool) (bool, string, bool)
- func ParsingFolderComponents(source string)
- func ParsingFolderTfFile(source string, destination string, envs ...string)
- func ParsingOptionalElement(param ElementParam) string
- func ParsingRequestElement(param ElementParam) (string, string)
- func ParsingTfFile(source string, destination string, envs ...string)
- func PrepareNewYmlFromOld(source string, context string, env string, configFileName string) string
- func ProcessingEnv(source string, context string, env string, configFileName string) string
- func RefactoringYml(source string, newYml string, env string, configFileName string) string
- func ReplaceCostumeVars(input string, fileName string) string
- func ResolveJSON(in string) string
- func ResolveJSONElem(in string, element string) string
- func ResolveJSONElemChange(in string, element string) string
- func ResolveJSONElemChangeProcessing(in string, element string, startIndex int) (int, string)
- func ResolveJSONElemChangeProcessingInter(param ElementProcess) (int, int, int, string, bool)
- func ResolveJSONElemP(in string) string
- func ResolveJSONElemPProcessing(in string, startIndex int) (int, string)
- func ResolveJSONElemProcessing(in string, element string, startIndex int) int
- func ResolveJSONProcessing(element rune, i int, outFinal string) (int, string)
- func ResolveRepeatedElements(in string, element string, replaceElement string) string
- func ReturnDefaultValueByType(param ElementParam) string
- func ReturnElement(arr []Element, str string) int
- func ScanRec(interYml string) string
- func SerVarHaveParentList(elementType string, haveParentList int) int
- func SetSpaces(isRequest bool) string
- func SpaceCount(line string) int
- func StartProccesingFile(source string, destination string, fileName string, provider string)
- func StartProccesingTfFile(filePath string) string
- func ValidateSpace(lines []string, addString string, i int, spaceCount int) string
- type Element
- type ElementParam
- type ElementProcess
- type ElementProcessCC
- type GenerateParam
- type GenerateYmlParam
- type Keys
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTypeString ¶ added in v0.2.2
func CheckElementByType ¶
func CheckElementByType(m map[string]interface{})
func CheckElementByTypeStep3 ¶
func CheckIfHasChild ¶
func CheckIfHasChild(element interface{}) interface{}
CheckIfHasChild - check if it has real child
func CheckIfItIs ¶ added in v0.2.2
func CreateNewYml ¶ added in v0.2.2
func DeleteEmptyFolder ¶ added in v0.2.2
func DeleteFileIfItIsNeed ¶ added in v0.2.2
func DeleteFolder ¶
func DownloadFromGit ¶
func FixVariablesInFolder ¶ added in v0.2.2
func FixVariablesInFolder(source string)
func ForCodeClimate ¶
ForCodeClimate - Special pentru CodeClimate :)
func ForCodeClimate0 ¶
ForCodeClimate0 - special pentru CodeClimate :)
func GenerateParameters ¶
func GenerateParameters(param GenerateParam) (string, string, string, string)
GenerateParameters - Parsing recursive json
func Generation ¶
Generation - Generation templates from go files
func IsDirEmpty ¶ added in v0.2.2
func NormalizeFolder ¶ added in v0.2.2
func NormalizeJson ¶
func ParsingDefaultValue ¶
func ParsingDefaultValue(defaultValue string, haveChild bool, valueHave string, valueDoNotHave string) string
ParsingDefaultValue - parsing default value
func ParsingElementByType ¶
func ParsingElementByType(param ElementParam) string
ParsingElementByType - Parsing element by type
func ParsingFile ¶
ParsingFile - Parsing resource file
func ParsingFileProcessing ¶
ParsingFileProcessing - Parsing resource file
func ParsingFolderComponents ¶ added in v0.2.2
func ParsingFolderComponents(source string)
func ParsingFolderTfFile ¶
ParsingFolderTfFile - parsing all tf file from directory
func ParsingOptionalElement ¶
func ParsingOptionalElement(param ElementParam) string
ParsingOptionalElement - Parsing optional element
func ParsingRequestElement ¶
func ParsingRequestElement(param ElementParam) (string, string)
ParsingRequestElement - Parsing request element
func ParsingTfFile ¶
ParsingTfFile - parsing all tf file from directory
func PrepareNewYmlFromOld ¶
PrepareNewYmlFromOld - Prepare new yml from old
func ProcessingEnv ¶ added in v0.2.2
func RefactoringYml ¶
func ReplaceCostumeVars ¶ added in v0.2.2
func ResolveJSONElem ¶
ResolveJSONElem - Remove elements
func ResolveJSONElemChange ¶
ResolveJSONElemChange - Resolve all elements `Elem`
func ResolveJSONElemChangeProcessing ¶
ResolveJSONElemChangeProcessing - Resolve all elements `Elem`
func ResolveJSONElemChangeProcessingInter ¶
ResolveJSONElemChangeProcessingInter - Resolve all elements `Elem`
func ResolveJSONElemP ¶
ResolveJSONElemP - Resolve parity of acolytes
func ResolveJSONElemPProcessing ¶
ResolveJSONElemPProcessing - Resolve parity of acolytes
func ResolveJSONElemProcessing ¶
ResolveJSONElemProcessing - Remove elements
func ResolveJSONProcessing ¶
ResolveJSONProcessing - Resolve parity of acolytes
func ResolveRepeatedElements ¶
ResolveRepeatedElements - Replasing all elements in the circle
func ReturnDefaultValueByType ¶
func ReturnDefaultValueByType(param ElementParam) string
ReturnDefaultValueByType - Return default value by type
func ReturnElement ¶
func SerVarHaveParentList ¶
func SpaceCount ¶
func StartProccesingFile ¶
StartProccesingFile - Start proccesing
func StartProccesingTfFile ¶
StartProccesingTfFile - Start proccesing
Types ¶
type ElementParam ¶
type ElementParam struct {
// contains filtered or unexported fields
}
type ElementProcess ¶
type ElementProcess struct {
// contains filtered or unexported fields
}
type ElementProcessCC ¶
type ElementProcessCC struct {
// contains filtered or unexported fields
}
type GenerateParam ¶
type GenerateParam struct {
// contains filtered or unexported fields
}
type GenerateYmlParam ¶
type GenerateYmlParam struct {
// contains filtered or unexported fields
}