github.com/terraform-linters/tflint-plugin-sdk@v0.22.0/plugin/plugin.go (about)

     1  package plugin
     2  
     3  import (
     4  	"github.com/terraform-linters/tflint-plugin-sdk/plugin/internal/host2plugin"
     5  
     6  	// Import this package to initialize the global logger
     7  	_ "github.com/terraform-linters/tflint-plugin-sdk/logger"
     8  )
     9  
    10  // ServeOpts is an option for serving a plugin.
    11  // Each plugin can pass a RuleSet that represents its own functionality.
    12  type ServeOpts = host2plugin.ServeOpts
    13  
    14  // Serve is a wrapper of plugin.Serve. This is entrypoint of all plugins.
    15  var Serve = host2plugin.Serve
    16  
    17  // SDKVersion is the SDK version.
    18  const SDKVersion = host2plugin.SDKVersion