plugin
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeList¶
type List struct {// contains filtered or unexported fields}
List is an object caching discovered plugins and their correspondingclients. Basically, it is a wrapper for go-plugin and provides an APIto handle them collectively.
funcDiscover¶
Discover plugins and registers them. The lookup priority of plugins is asfollow:
1. `TFDOCS_PLUGIN_DIR` environment variable (if it's set)2. Current directory (./.tfdocs.d/plugins)3. Home directory (~/.tfdocs.d/plugins)
Files under these directories that satisfy the "tfdocs-format-*" namingconvention are treated as plugins.