Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "9.9.9"
View Source
const YorLogo = " __ __\n \\ \\ / /\n \\ \\/ /___ _ ____\n \\ / _ \\| |/ __|\n | | |_| | /\n |_|\\____/|__|"
Variables ¶
View Source
var CFTFileType = FileType{Extension: ".template", FileFormat: "template"}
View Source
var JSONFileType = FileType{Extension: ".json", FileFormat: "json"}
View Source
var TfFileType = FileType{Extension: ".tf", FileFormat: "tf"}
View Source
var YamlFileType = FileType{Extension: ".yaml", FileFormat: "yaml"}
View Source
var YmlFileType = FileType{Extension: ".yml", FileFormat: "yml"}
Functions ¶
This section is empty.
Types ¶
type ColorStruct ¶
type ColorStruct struct {
NoColor bool
Reset string
Green string
Yellow string
Blue string
Purple string
}
func NoColorCheck ¶
func NoColorCheck(noColorBool bool) *ColorStruct
type IParser ¶
type IParser interface {
Init(rootDir string, args map[string]string)
Name() string
ValidFile(filePath string) bool
ParseFile(filePath string) ([]structure.IBlock, error)
WriteFile(readFilePath string, blocks []structure.IBlock, writeFilePath string) error
GetSkippedDirs() []string
GetSupportedFileExtensions() []string
GetSkipResourcesByComment() []string
Close()
}
Click to show internal directories.
Click to hide internal directories.