Documentation
¶
Index ¶
- func CreateExampleIacconsoleRcFile(iacconsoleRcPath string)
- func CreateExampleStructure(targetDir string, useIaCConsoleDB bool) string
- func GetMD5Hash(text string) string
- type DimensionInIaCConsoleDB
- type IaCConsoleDBResponse
- type State
- func (s *State) GenerateVarsByDimAndData(optionType string, dimKey string, dimensionJsonMap map[string]interface{})
- func (s *State) GenerateVarsByDimOptional(optionType string)
- func (s *State) GenerateVarsByDims()
- func (s *State) GenerateVarsByEnvVars()
- func (s *State) GetDimData(dimensionKey string, dimensionValue string, skipOnNotFound bool) map[string]interface{}
- func (s *State) GetObjectFromViperByOrgOrDefault(keyName string) map[string]any
- func (s *State) GetStringFromViperByOrgOrDefault(keyName string) string
- func (s *State) ParseDimensions()
- func (s *State) ParseUnitManifest(unitManifestFileName string)
- func (s *State) PrepareTemp()
- func (s *State) SetupBackendConfig() map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExampleIacconsoleRcFile ¶ added in v0.6.0
func CreateExampleIacconsoleRcFile(iacconsoleRcPath string)
GetiacconsoleConfigContent returns the content for the .iacconsolerc configuration file
func CreateExampleStructure ¶
CreateExampleStructure creates an example organization structure with sample configuration files
func GetMD5Hash ¶
Types ¶
type DimensionInIaCConsoleDB ¶ added in v0.6.0
type IaCConsoleDBResponse ¶ added in v0.6.0
type IaCConsoleDBResponse struct {
Error string
Dimensions []DimensionInIaCConsoleDB
}
type State ¶ added in v0.6.0
type State struct {
UnitName string
OrgName string
DimensionsFlags []string
UnitPath string
InventoryPath string
UnitManifestPath string
ParsedDimensions map[string]string
CmdWorkTempDir string
UnitManifest unitManifestStruct
StateS3Path string
IacconsoleApiUrl string
Workspace string
}
func (*State) GenerateVarsByDimAndData ¶ added in v0.6.0
func (*State) GenerateVarsByDimOptional ¶ added in v0.6.0
func (*State) GenerateVarsByDims ¶ added in v0.6.0
func (s *State) GenerateVarsByDims()
func (*State) GenerateVarsByEnvVars ¶ added in v0.6.0
func (s *State) GenerateVarsByEnvVars()
func (*State) GetDimData ¶ added in v0.6.0
func (*State) GetObjectFromViperByOrgOrDefault ¶ added in v0.6.0
func (*State) GetStringFromViperByOrgOrDefault ¶ added in v0.6.0
func (*State) ParseDimensions ¶ added in v0.6.0
func (s *State) ParseDimensions()
func (*State) ParseUnitManifest ¶ added in v0.6.0
func (*State) PrepareTemp ¶ added in v0.6.0
func (s *State) PrepareTemp()
func (*State) SetupBackendConfig ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.