Documentation
¶
Index ¶
- type StackMetadata
- type StackRecord
- type StackStore
- func (s *StackStore) Add(stackPath string) error
- func (s *StackStore) AddIfNotExists(path string) error
- func (s *StackStore) Exists(path string) bool
- func (s *StackStore) List() ([]*StackRecord, error)
- func (s *StackStore) Remove(stackPath string) error
- func (s *StackStore) SetDiagnosticsState(path string, source globalAst.DiagnosticSource, state operation.OpState) error
- func (s *StackStore) SetLogger(logger *log.Logger)
- func (s *StackStore) SetTerraformVersion(path string, version *version.Version) error
- func (s *StackStore) SetTerraformVersionError(path string, vErr error) error
- func (s *StackStore) SetTerraformVersionState(path string, state operation.OpState) error
- func (s *StackStore) StackRecordByPath(path string) (*StackRecord, error)
- func (s *StackStore) UpdateDiagnostics(path string, source globalAst.DiagnosticSource, diags ast.Diagnostics) error
- func (s *StackStore) UpdateParsedFiles(path string, pFiles ast.Files, pErr error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StackMetadata ¶
type StackMetadata struct {
Filenames []string
}
StackMetadata contains the result of the early decoding of a module, it will be used obtain the correct provider and related module schemas
func (StackMetadata) Copy ¶
func (sm StackMetadata) Copy() StackMetadata
type StackRecord ¶
type StackRecord struct { Meta StackMetadata // ParsedFiles is a map of all the parsed files for the stack, // including Stack and Deploy files. ParsedFiles ast.Files ParsingErr error Diagnostics ast.SourceDiagnostics DiagnosticsState globalAst.DiagnosticSourceState RequiredTerraformVersion *version.Version RequiredTerraformVersionErr error RequiredTerraformVersionState operation.OpState // contains filtered or unexported fields }
StackRecord represents a single stack in the state /some/path/lambda-multi-account-stack
func (*StackRecord) Copy ¶
func (m *StackRecord) Copy() *StackRecord
func (*StackRecord) Path ¶
func (m *StackRecord) Path() string
type StackStore ¶
type StackStore struct {
// contains filtered or unexported fields
}
func NewStackStore ¶
func NewStackStore(changeStore *globalState.ChangeStore) (*StackStore, error)
func (*StackStore) Add ¶
func (s *StackStore) Add(stackPath string) error
func (*StackStore) AddIfNotExists ¶
func (s *StackStore) AddIfNotExists(path string) error
func (*StackStore) Exists ¶
func (s *StackStore) Exists(path string) bool
func (*StackStore) List ¶
func (s *StackStore) List() ([]*StackRecord, error)
func (*StackStore) Remove ¶
func (s *StackStore) Remove(stackPath string) error
func (*StackStore) SetDiagnosticsState ¶
func (s *StackStore) SetDiagnosticsState(path string, source globalAst.DiagnosticSource, state operation.OpState) error
func (*StackStore) SetLogger ¶
func (s *StackStore) SetLogger(logger *log.Logger)
func (*StackStore) SetTerraformVersion ¶
func (s *StackStore) SetTerraformVersion(path string, version *version.Version) error
func (*StackStore) SetTerraformVersionError ¶
func (s *StackStore) SetTerraformVersionError(path string, vErr error) error
func (*StackStore) SetTerraformVersionState ¶
func (s *StackStore) SetTerraformVersionState(path string, state operation.OpState) error
func (*StackStore) StackRecordByPath ¶
func (s *StackStore) StackRecordByPath(path string) (*StackRecord, error)
func (*StackStore) UpdateDiagnostics ¶
func (s *StackStore) UpdateDiagnostics(path string, source globalAst.DiagnosticSource, diags ast.Diagnostics) error
func (*StackStore) UpdateParsedFiles ¶
Click to show internal directories.
Click to hide internal directories.