terraform

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MPL-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

View Source
const (
	PackageModule     = terraformtype.ModuleTerraformPluginSdk
	PackageModulePath = `terraform`
	PackageName       = `terraform`
	PackagePath       = PackageModule + `/` + PackageModulePath
)
View Source
const (
	TypeNameResourceProvider = `ResourceProvider`
)
View Source
const (
	TypeNameResourceProviderFactory = `ResourceProviderFactory`
)

Variables

This section is empty.

Functions

func IsFunc

func IsFunc(e ast.Expr, info *types.Info, funcName string) bool

IsFunc returns if the function call is in the resource package

func IsNamedType

func IsNamedType(t *types.Named, typeName string) bool

IsNamedType returns if the type name matches and is from the helper/resource package

func IsTypeResourceProvider

func IsTypeResourceProvider(t types.Type) bool

IsTypeResourceProvider returns if the type is ResourceProvider from the terraform package

func IsTypeResourceProviderFactory added in v0.14.0

func IsTypeResourceProviderFactory(t types.Type) bool

IsTypeResourceProviderFactory returns if the type is ResourceProviderFactory from the terraform package

func PackagePathVersion added in v0.15.0

func PackagePathVersion(moduleVersion int) string

PackagePathVersion returns the import path for a module version

Types

This section is empty.

Jump to

Keyboard shortcuts

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