Documentation ¶
Overview ¶
Package protocol6 implements the tfprovider package API using major version 6 of the Terraform provider plugin protocol.
Index ¶
- type ManagedResourceType
- type PluginClient
- type Provider
- func (p *Provider) Close() error
- func (p *Provider) Configure(ctx context.Context, config common.Config) common.Diagnostics
- func (p *Provider) ManagedResourceType(typeName string) common.ManagedResourceType
- func (p *Provider) PrepareConfig(ctx context.Context, config cty.Value) (common.Config, common.Diagnostics)
- func (p *Provider) Schema(ctx context.Context) (*common.Schema, common.Diagnostics)
- func (p *Provider) Sealed() common.Sealed
- func (p *Provider) ValidateDataResourceConfig(ctx context.Context, typeName string, config cty.Value) common.Diagnostics
- func (p *Provider) ValidateManagedResourceConfig(ctx context.Context, typeName string, config cty.Value) common.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagedResourceType ¶
type ManagedResourceType struct {
// contains filtered or unexported fields
}
func (*ManagedResourceType) Read ¶
func (rt *ManagedResourceType) Read(ctx context.Context, req common.ManagedResourceReadRequest) (common.ManagedResourceReadResponse, common.Diagnostics)
func (*ManagedResourceType) Sealed ¶
func (rt *ManagedResourceType) Sealed() common.Sealed
type PluginClient ¶
type PluginClient struct{}
func (PluginClient) ClientProxy ¶
func (c PluginClient) ClientProxy(ctx context.Context, conn *grpc.ClientConn) (interface{}, error)
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is the implementation of tfprovider.Provider for provider plugin protocol version 5.
func NewProvider ¶
func (*Provider) ManagedResourceType ¶
func (p *Provider) ManagedResourceType(typeName string) common.ManagedResourceType
func (*Provider) PrepareConfig ¶
func (*Provider) ValidateDataResourceConfig ¶
func (*Provider) ValidateManagedResourceConfig ¶
Click to show internal directories.
Click to hide internal directories.