# Functions

New converts a tfprotov6.ProviderServer into a server capable of handling Terraform protocol requests and issuing responses using the gRPC types.
Serve starts a tfprotov6.ProviderServer serving, ready for Terraform to connect to it.
WithDebug returns a ServeOpt that will set the server into debug mode, using the passed options to populate the go-plugin ServeTestConfig.
WithGoPluginLogger returns a ServeOpt that will set the logger that go-plugin should use to log messages.
WithLogEnvVarName sets the name of the provider for the purposes of the logging environment variable that controls the provider's log level.
WithLoggingSink returns a ServeOpt that will enable the logging sink, which is used in test frameworks to control where terraform-plugin-log output is written and at what levels, mimicking Terraform's logging sink behaviors.
WithManagedDebug returns a ServeOpt that will start the server in debug mode, managing the reattach configuration handling and server lifecycle.
WithManagedDebugReattachConfigTimeout returns a ServeOpt that will set the timeout for a debug managed process to start and return its reattach configuration.
WithManagedDebugStopSignals returns a ServeOpt that will set the stop signals for a debug managed process (WithManagedDebug).
WithoutLogLocation returns a ServeOpt that will exclude file names and line numbers from log output for the terraform-plugin-log logs generated by the SDKs and provider.
WithoutLogStderrOverride returns a ServeOpt that will disable the terraform-plugin-log behavior of logging to the stderr that existed at startup, not the stderr that exists when the logging statement is called.

# Structs

GRPCProviderPlugin is an implementation of the github.com/hashicorp/go-plugin#Plugin and github.com/hashicorp/go-plugin#GRPCPlugin interfaces, indicating how to serve tfprotov6.ProviderServers as gRPC plugins for go-plugin.
ServeConfig contains the configured options for how a provider should be served.

# Interfaces

ServeOpt is an interface for defining options that can be passed to the Serve function.