Documentation
¶
Index ¶
- Constants
- type App
- type Dependencies
- type DependenciesFlags
- type DependencyMap
- type DependentMap
- type Dependents
- type DependentsFlags
- type DirMap
- type Dirs
- type GlobalFlags
- type IO
- type InMemoryStore
- type Ldflags
- type Loader
- type ModuleDir
- type Parser
- type SourceDir
- type Store
- type Terraform
- type TerraformModule
- type TerraformModulesJson
- type TfDir
Constants ¶
View Source
const (
TerraformModulesPath = ".terraform/modules/modules.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
*IO
*Ldflags
*GlobalFlags
// contains filtered or unexported fields
}
type Dependencies ¶
func NewDependencies ¶
func NewDependencies(flags *DependenciesFlags, store Store, io *IO) *Dependencies
func (*Dependencies) Run ¶
func (d *Dependencies) Run() error
type DependenciesFlags ¶ added in v0.0.2
type DependenciesFlags struct {
StateDirs []string
*GlobalFlags
}
func NewDependenciesFlags ¶ added in v0.0.2
func NewDependenciesFlags(globalFlags *GlobalFlags) *DependenciesFlags
func (*DependenciesFlags) GoString ¶ added in v0.0.3
func (f *DependenciesFlags) GoString() string
type DependencyMap ¶ added in v0.0.3
func NewDependencyMap ¶ added in v0.0.3
func NewDependencyMap() *DependencyMap
type DependentMap ¶
func NewDependentMap ¶
func NewDependentMap() *DependentMap
func (*DependentMap) IsModule ¶
func (m *DependentMap) IsModule(dir string) bool
type Dependents ¶
func NewDependents ¶
func NewDependents(flags *DependentsFlags, store Store, io *IO) *Dependents
func (*Dependents) Run ¶
func (d *Dependents) Run() error
type DependentsFlags ¶ added in v0.0.2
type DependentsFlags struct {
ModuleDirs []string
*GlobalFlags
}
func NewDependentsFlags ¶ added in v0.0.2
func NewDependentsFlags(globalFlags *GlobalFlags) *DependentsFlags
func (*DependentsFlags) GoString ¶ added in v0.0.3
func (f *DependentsFlags) GoString() string
type Dirs ¶ added in v0.0.3
type Dirs struct {
*collection.TreeSet
}
type GlobalFlags ¶ added in v0.0.2
func (*GlobalFlags) BaseDir ¶ added in v0.0.2
func (f *GlobalFlags) BaseDir() *dir.BaseDir
func (*GlobalFlags) GoString ¶ added in v0.0.3
func (f *GlobalFlags) GoString() string
type InMemoryStore ¶
type InMemoryStore struct {
*DependencyMap
*DependentMap
}
func NewInMemoryStore ¶ added in v0.0.2
func NewInMemoryStore() *InMemoryStore
func (*InMemoryStore) Dump ¶
func (s *InMemoryStore) Dump()
func (*InMemoryStore) ListModuleDirs ¶ added in v0.0.3
func (s *InMemoryStore) ListModuleDirs(stateDirs []string) *Dirs
func (*InMemoryStore) ListTfDirs ¶ added in v0.0.3
func (s *InMemoryStore) ListTfDirs(moduleDirs []string) *Dirs
func (*InMemoryStore) Save ¶
func (s *InMemoryStore) Save(moduleDir *ModuleDir, tfDir *TfDir)
type TerraformModule ¶ added in v0.0.3
type TerraformModulesJson ¶ added in v0.0.3
type TerraformModulesJson struct {
Modules []TerraformModule `json:"Modules"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.