Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentTypeSettings ¶
type ComponentTypeSettings struct {
Vars map[string]any `yaml:"vars,omitempty" json:"vars,omitempty" mapstructure:"vars"`
Envs map[string]string `yaml:"envs,omitempty" json:"envs,omitempty" mapstructure:"envs"`
BackendType string `yaml:"backend_type,omitempty" json:"backend_type,omitempty" mapstructure:"backend_type"`
Backend map[string]any `yaml:"backend,omitempty" json:"backend,omitempty" mapstructure:"backend"`
RemoteStateBackendType string `` /* 126-byte string literal not displayed */
RemoteStateBackend map[string]any `yaml:"remote_state_backend,omitempty" json:"remote_state_backend,omitempty" mapstructure:"remote_state_backend"`
Settings map[string]any `yaml:"settings,omitempty" json:"settings,omitempty" mapstructure:"settings"`
}
type ComponentsConfig ¶
type ComponentsConfig struct {
Types map[string]map[string]ConfigWithMetadata `yaml:",inline" json:",inline" mapstructure:",remain"`
}
type Config ¶ added in v0.2.1
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"`
}
func NewConfigFromMap ¶ added in v0.2.1
type ConfigWithMetadata ¶ added in v0.2.1
type Metadata ¶ added in v0.2.1
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 */
}
type StackConfig ¶
type StackConfig struct {
Vars map[string]any `yaml:"vars,omitempty" json:"vars,omitempty" mapstructure:"vars"`
Envs map[string]string `yaml:"env,omitempty" json:"env,omitempty" mapstructure:"env"`
Settings map[string]any `yaml:"settings,omitempty" json:"settings,omitempty" mapstructure:"settings"`
Components ComponentsConfig `yaml:"components,omitempty" json:"components,omitempty" mapstructure:"components"`
ComponentTypeSettings map[string]ComponentTypeSettings `yaml:",inline" json:",inline" mapstructure:",remain"`
}
Click to show internal directories.
Click to hide internal directories.