schemainfo

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MPL-2.0 Imports: 7 Imported by: 40

README

passes/helper/schema/schemainfo

This pass only works with Terraform schema that are fully defined:

&schema.Schema{
    Type:         schema.TypeString,
    Optional:     true,
    Computed:     true,
    ValidateFunc: /* ... */,
},

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "schemainfo",
	Doc:  "find github.com/hashicorp/terraform-plugin-sdk/helper/schema.Schema literals for later passes",
	Requires: []*analysis.Analyzer{
		inspect.Analyzer,
		schemamapcompositelit.Analyzer,
	},
	Run:        run,
	ResultType: reflect.TypeOf([]*schema.SchemaInfo{}),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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