// pluginMap returns the legacy map[string]plugin.Plugin to use for configuring
// a plugin server or client.
pluginMap returns the legacy map[string]plugin.Plugin to use for configuring
a plugin server or client.
// pluginMap returns the legacy map [ string ] plugin . Plugin to use for configuring // a plugin server or client .
func legacyPluginMap(opts *ServeOpts) map[string]plugin.Plugin {
	return map[string]plugin.Plugin{
		"provider": &ResourceProviderPlugin{
			ResourceProvider: opts.ProviderFunc,
		},
	}
}
func legacyPluginMap ( opts * ServeOpts ) map [ string ] plugin . Plugin { return map [ string ] plugin . Plugin { " " : & ResourceProviderPlugin { ResourceProvider : opts . ProviderFunc , } , } }
pluginMap returns the legacy map[string]plugin.Plugin to use for configuring
a plugin server or client.
pluginMap returns the legacy map [ string ] plugin . Plugin to use for configuring a plugin server or client .