Versions in this module Expand all Collapse all v1 v1.0.7 Sep 11, 2021 Changes in this version + const DefaultProtocolVersion + const ProviderPluginName + var Handshake = plugin.HandshakeConfig + func Serve(opts *ServeOpts) + type GRPCProvider struct + PluginClient *plugin.Client + TestServer *grpc.Server + func New(client proto6.ProviderClient, ctx context.Context) GRPCProvider + 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() proto6.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 ServeOpts struct + GRPCProviderFunc GRPCProviderFunc