Documentation
¶
Index ¶
Constants ¶
View Source
const ( SECRET_KEY = "secret" LOCALS_KEY = "var" ENV_PREFIX = "JAWS_" FILE_FUNC_SUCCESS = "DataWrittenToFileSuccessfully" )
View Source
const ( LABEL_PADDING = 10 NO_COMMENT = "" JSON_COMMENT = NO_COMMENT YAML_COMMENT = "#" ENV_COMMENT = "#" TF_COMMENT = "#" INTERPRETER_SHEBANG = "#!jaws" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodeEnvFailed ¶
type DecodeEnvFailed struct {
File string
}
func (*DecodeEnvFailed) Error ¶
func (e *DecodeEnvFailed) Error() string
type EnvConfig ¶
func (*EnvConfig) Prepare ¶
Prepare env config and return a string slice with all required secrets and an error
func (*EnvConfig) RecursiveSearchDir ¶
RecursiveSearchDir
type EnvHCL ¶
type EnvHCL struct { Prepared bool Processed bool Reader io.Reader ConfigFile string Message string `hcl:"msg,optional"` OutFile string `hcl:"out,optional"` OutFormat string `hcl:"format,optional"` Profile string `hcl:"profile,optional"` Filter string `hcl:"filter,optional"` Includes []string `hcl:"include,optional"` Locals []*struct { TmplVars hcl.Attributes `hcl:",remain"` } `hcl:"locals,block"` GroupedVars []*struct { TmplVars hcl.Attributes `hcl:",remain"` } `hcl:"vars,block"` GroupedLabeledVars []*struct { Label string `hcl:",label"` TmplVars hcl.Attributes `hcl:",remain"` } `hcl:"group,block"` }
type NoEnvFileFound ¶
type NoEnvFileFound struct {
File string
}
func (*NoEnvFileFound) Error ¶
func (e *NoEnvFileFound) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.