func FindPluginPaths(kind string, dirs []string) []string {
	return findPluginPaths(kind, dirs)
}
FindPluginPaths looks in the given directories for files whose filenames
suggest that they are plugins of the given kind (e.g. "provider").

The return value is a list of absolute paths that appear to refer to
plugins in the given directories, based only on what can be inferred
from the naming scheme. The paths returned are ordered such that files
in later dirs appear after files in earlier dirs in the given directory
list. Within the same directory plugins are returned in a consistent but
undefined order.
package discovery
import (
	"io/ioutil"
	"log"
	"path/filepath"
	"strings"
)
func FindPlugins(kind string, dirs []string) PluginMetaSet {
	return ResolvePluginPaths(FindPluginPaths(kind, dirs))
}