Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWorkingDirectory ¶ added in v0.2.0
func GetWorkingDirectory(conf *config.Configuration, componentType string, component string) string
Types ¶
type Config ¶
type Config struct {
Command *string `yaml:"command,omitempty" json:"command,omitempty" mapstructure:"command,omitempty"`
Component *string `yaml:"component,omitempty" json:"component,omitempty" mapstructure:"component,omitempty"`
Vars map[string]any `yaml:"vars,omitempty" json:"vars,omitempty" mapstructure:"vars,omitempty"`
Envs map[string]string `yaml:"env,omitempty" json:"env,omitempty" mapstructure:"env,omitempty"`
BackendType *string `yaml:"backend_type,omitempty" json:"backend_type,omitempty" mapstructure:"backend_type,omitempty"`
BackendConfigs map[string]any `yaml:"backend,omitempty" json:"backend,omitempty" mapstructure:"backend,omitempty"`
RemoteStateBackendType *string `` /* 137-byte string literal not displayed */
RemoteStateBackendConfigs map[string]any `yaml:"remote_state_backend,omitempty" json:"remote_state_backend,omitempty" mapstructure:"remote_state_backend,omitempty"`
Settings map[string]any `yaml:"settings,omitempty" json:"settings,omitempty" mapstructure:"settings,omitempty"`
}
type ConfigWithMetadata ¶
type ConfigWithMetadata struct {
Config `yaml:",inline" json:",inline" mapstructure:",squash"`
Metadata *Metadata `yaml:"metadata,omitempty" json:"metadata,omitempty" mapstructure:"metadata,omitempty"`
}
func ProcessComponentConfigs ¶
func ProcessComponentConfigs(stackName string, baseConfig Config, componentsConfigMap map[string]ConfigWithMetadata, componentName string) (*ConfigWithMetadata, error)
type Metadata ¶
type Metadata struct {
Type *string `yaml:"type,omitempty" json:"type,omitempty" mapstructure:"type,omitempty"`
Component *string `yaml:"component,omitempty" json:"component,omitempty" mapstructure:"component,omitempty"`
Inherits []string `yaml:"inherits,omitempty" json:"inherits,omitempty" mapstructure:"inherits,omitempty"`
TerraformWorkspace *string `yaml:"terraform_workspace,omitempty" json:"terraform_workspace,omitempty" mapstructure:"terraform_workspace,omitempty"`
TerraformWorkspacePattern *string `` /* 142-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.