Documentation ¶
Index ¶
- type GRPCCloudClient
- type GRPCCloudPlugin
- func (p *GRPCCloudPlugin) Client(*plugin.MuxBroker, *rpc.Client) (interface{}, error)
- func (p *GRPCCloudPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
- func (p *GRPCCloudPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
- func (p *GRPCCloudPlugin) Server(*plugin.MuxBroker) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCCloudClient ¶
type GRPCCloudClient struct {
// contains filtered or unexported fields
}
GRPCCloudClient is the client interface for interacting with terraform-cloudplugin
type GRPCCloudPlugin ¶
type GRPCCloudPlugin struct { plugin.GRPCPlugin Impl cloudplugin.Cloud1 }
GRPCCloudPlugin is the go-plugin implementation, but only the client implementation exists in this package.
func (*GRPCCloudPlugin) Client ¶
func (p *GRPCCloudPlugin) Client(*plugin.MuxBroker, *rpc.Client) (interface{}, error)
Client always returns an error; we're only implementing the GRPCPlugin interface, not the Plugin interface.
func (*GRPCCloudPlugin) GRPCClient ¶
func (p *GRPCCloudPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
GRPCClient returns a new GRPC client for interacting with the cloud plugin server.
func (*GRPCCloudPlugin) GRPCServer ¶
func (p *GRPCCloudPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
GRPCServer always returns an error; we're only implementing the client interface, not the server.
func (*GRPCCloudPlugin) Server ¶
func (p *GRPCCloudPlugin) Server(*plugin.MuxBroker) (interface{}, error)
Server always returns an error; we're only implementing the GRPCPlugin interface, not the Plugin interface.
Click to show internal directories.
Click to hide internal directories.