module

package
v0.0.0-...-44d6a2b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Type string
	Data backend.BackendData
}

func (*Backend) Equals

func (be *Backend) Equals(b *Backend) bool

type DeclaredModuleCall

type DeclaredModuleCall struct {
	LocalName  string
	SourceAddr ModuleSourceAddr
	Version    version.Constraints
	InputNames []string
	RangePtr   *hcl.Range
}

func (DeclaredModuleCall) Copy

type InstalledModuleCall

type InstalledModuleCall struct {
	LocalName  string
	SourceAddr ModuleSourceAddr
	Version    *version.Version
	Path       string
}

type LocalSourceAddr

type LocalSourceAddr string

func (LocalSourceAddr) ForDisplay

func (lsa LocalSourceAddr) ForDisplay() string

func (LocalSourceAddr) String

func (lsa LocalSourceAddr) String() string

type Meta

type Meta struct {
	Path      string
	Filenames []string

	Backend              *Backend
	Cloud                *backend.Cloud
	ProviderReferences   map[ProviderRef]tfaddr.Provider
	ProviderRequirements ProviderRequirements
	CoreRequirements     version.Constraints
	Variables            map[string]Variable
	Outputs              map[string]Output
	ModuleCalls          map[string]DeclaredModuleCall
}

type ModuleCalls

type ModuleCalls struct {
	Installed map[string]InstalledModuleCall
	Declared  map[string]DeclaredModuleCall
}

type ModuleSourceAddr

type ModuleSourceAddr interface {
	ForDisplay() string
	String() string
}

func ParseModuleSourceAddr

func ParseModuleSourceAddr(source string) ModuleSourceAddr

Parses the raw module source string from a module block

type Output

type Output struct {
	Description string
	IsSensitive bool
	Value       cty.Value
}

type ProviderRef

type ProviderRef struct {
	LocalName string

	// If not empty, Alias identifies which non-default (aliased) provider
	// configuration this address refers to.
	Alias string
}

type ProviderRequirements

type ProviderRequirements map[tfaddr.Provider]version.Constraints

func (ProviderRequirements) Equals

type UnknownSourceAddr

type UnknownSourceAddr string

func (UnknownSourceAddr) ForDisplay

func (usa UnknownSourceAddr) ForDisplay() string

func (UnknownSourceAddr) String

func (usa UnknownSourceAddr) String() string

type Variable

type Variable struct {
	Description string
	Type        cty.Type

	// In case the version it is before 0.14 sensitive will always be false
	// that was actually the default value for prior versions
	IsSensitive bool

	// DefaultValue represents default value if one is defined
	// and is decodable without errors, else cty.NilVal
	DefaultValue cty.Value

	// TypeDefaults represents any default values for optional object
	// attributes assuming Type is of cty.Object and has defaults.
	//
	// Any relationships between DefaultValue & TypeDefaults are left
	// for downstream to deal with using e.g. TypeDefaults.Apply().
	TypeDefaults *typeexpr.Defaults
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL