Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
// contains filtered or unexported fields
}
List is an object caching discovered plugins and their corresponding clients. Basically, it is a wrapper for go-plugin and provides an API to handle them collectively.
func Discover ¶
Discover plugins and registers them. The lookup priority of plugins is as follow:
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-*" naming convention are treated as plugins.
Click to show internal directories.
Click to hide internal directories.