Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServePlugin ¶
func ServePlugin(opts ServeOpts)
Types ¶
type ServeOpts ¶ added in v0.10.0
type ServeOpts struct {
// Required: Name of provider.
Name string
// Required: Provider is the actual provider that will be served.
Provider plugin.CQProvider
// Optional: Logger is the logger that go-plugin will use.
Logger hclog.Logger
// Optional: Set NoLogOutputOverride to not override the log output with an hclog
// adapter. This should only be used when running the plugin in
// acceptance tests.
NoLogOutputOverride bool
}
Click to show internal directories.
Click to hide internal directories.