terraform

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

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

func IsTypeResourceProviderFactory(t types.Type) bool

IsTypeResourceProviderFactory returns if the type is ResourceProviderFactory from the terraform package

func PackagePathVersion

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