Versions in this module Expand all Collapse all v1 v1.4.0 Mar 10, 2023 Changes in this version + const DefaultProtocolVersion + const ProviderPluginName + const ProvisionerPluginName + var Handshake = plugin.HandshakeConfig + var VersionedPlugins = map[int]plugin.PluginSet + func Serve(opts *ServeOpts) + type GRPCProvider struct + PluginClient *plugin.Client + TestServer *grpc.Server + func (p *GRPCProvider) ApplyResourceChange(r providers.ApplyResourceChangeRequest) (resp providers.ApplyResourceChangeResponse) + func (p *GRPCProvider) Close() error + func (p *GRPCProvider) ConfigureProvider(r providers.ConfigureProviderRequest) (resp providers.ConfigureProviderResponse) + func (p *GRPCProvider) GetProviderSchema() (resp providers.GetProviderSchemaResponse) + func (p *GRPCProvider) ImportResourceState(r providers.ImportResourceStateRequest) (resp providers.ImportResourceStateResponse) + func (p *GRPCProvider) PlanResourceChange(r providers.PlanResourceChangeRequest) (resp providers.PlanResourceChangeResponse) + func (p *GRPCProvider) ReadDataSource(r providers.ReadDataSourceRequest) (resp providers.ReadDataSourceResponse) + func (p *GRPCProvider) ReadResource(r providers.ReadResourceRequest) (resp providers.ReadResourceResponse) + func (p *GRPCProvider) Stop() error + func (p *GRPCProvider) UpgradeResourceState(r providers.UpgradeResourceStateRequest) (resp providers.UpgradeResourceStateResponse) + func (p *GRPCProvider) ValidateDataResourceConfig(r providers.ValidateDataResourceConfigRequest) (resp providers.ValidateDataResourceConfigResponse) + func (p *GRPCProvider) ValidateProviderConfig(r providers.ValidateProviderConfigRequest) (resp providers.ValidateProviderConfigResponse) + func (p *GRPCProvider) ValidateResourceConfig(r providers.ValidateResourceConfigRequest) (resp providers.ValidateResourceConfigResponse) + type GRPCProviderFunc func() proto.ProviderServer + type GRPCProviderPlugin struct + GRPCProvider func() proto.ProviderServer + func (p *GRPCProviderPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *GRPCProviderPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error + type GRPCProvisioner struct + PluginClient *plugin.Client + func (p *GRPCProvisioner) Close() error + func (p *GRPCProvisioner) GetSchema() (resp provisioners.GetSchemaResponse) + func (p *GRPCProvisioner) ProvisionResource(r provisioners.ProvisionResourceRequest) (resp provisioners.ProvisionResourceResponse) + func (p *GRPCProvisioner) Stop() error + func (p *GRPCProvisioner) ValidateProvisionerConfig(r provisioners.ValidateProvisionerConfigRequest) (resp provisioners.ValidateProvisionerConfigResponse) + type GRPCProvisionerFunc func() proto.ProvisionerServer + type GRPCProvisionerPlugin struct + GRPCProvisioner func() proto.ProvisionerServer + func (p *GRPCProvisionerPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *GRPCProvisionerPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error + type ServeOpts struct + GRPCProviderFunc GRPCProviderFunc + GRPCProvisionerFunc GRPCProvisionerFunc + type UIInput struct + Client *rpc.Client + func (i *UIInput) Input(ctx context.Context, opts *terraform.InputOpts) (string, error) + type UIInputInputResponse struct + Error *plugin.BasicError + Value string + type UIInputServer struct + UIInput terraform.UIInput + func (s *UIInputServer) Input(opts *terraform.InputOpts, reply *UIInputInputResponse) error + type UIOutput struct + Client *rpc.Client + func (o *UIOutput) Output(v string) + type UIOutputServer struct + UIOutput terraform.UIOutput + func (s *UIOutputServer) Output(v string, reply *interface{}) error