Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentConfigMap ¶
type ComponentConfigMap map[string]ConfigWithMetadata
type ConfigWithMetadata ¶ added in v0.1.2
type ConfigWithMetadata 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"`
Backend map[string]any `yaml:"backend,omitempty" json:"backend,omitempty" mapstructure:"backend,omitempty"`
RemoteStateBackendType *string `` /* 137-byte string literal not displayed */
RemoteStateBackend 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"`
Metadata *components.Metadata `yaml:"metadata,omitempty" json:"metadata,omitempty" mapstructure:"metadata,omitempty"`
}
type LoadStackOptions ¶
type ProcessStackOptions ¶ added in v0.1.2
type Stack ¶
type StackProcessor ¶
type StackProcessor interface {
GetStackNames() ([]string, error)
GetStack(name string, options ProcessStackOptions) (*Stack, error)
GetStacks(names []string) ([]*Stack, error)
}
func NewStackProcessor ¶
func NewStackProcessorFromConfig ¶
func NewStackProcessorFromConfig(conf *config.Configuration) (StackProcessor, error)
Click to show internal directories.
Click to hide internal directories.