Documentation
¶
Overview ¶
Package host2plugin exposes a gRPC client for use on a host (TFLint).
The implementation details are hidden in internal/host2plugin and the exposed ones are minimal. They are not intended to be used by plugins. For that reason, this package is subject to breaking changes without notice, and the changes do not follow the SDK versioning policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewClient = host2plugin.NewClient
NewClient returns a new gRPC client for host-to-plugin communication.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.18.0
type Client = host2plugin.GRPCClient
Client is a host-side implementation. Host can send requests through the client to plugin's gRPC server.
type ClientOpts ¶
type ClientOpts = host2plugin.ClientOpts
ClientOpts is an option for initializing a Client.
Click to show internal directories.
Click to hide internal directories.