protocol6

package
v0.0.0-...-edf80d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package protocol6 implements the tfprovider package API using major version 6 of the Terraform provider plugin protocol.

Index

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) 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 NewProvider(ctx context.Context, plugin *rpcplugin.Plugin, clientProxy interface{}) (*Provider, error)

func (*Provider) Close

func (p *Provider) Close() error

func (*Provider) Configure

func (p *Provider) Configure(ctx context.Context, config common.Config) common.Diagnostics

func (*Provider) ManagedResourceType

func (p *Provider) ManagedResourceType(typeName string) common.ManagedResourceType

func (*Provider) PrepareConfig

func (p *Provider) PrepareConfig(ctx context.Context, config cty.Value) (common.Config, common.Diagnostics)

func (*Provider) Schema

func (p *Provider) Schema(ctx context.Context) (*common.Schema, common.Diagnostics)

func (*Provider) Sealed

func (p *Provider) Sealed() common.Sealed

func (*Provider) ValidateDataResourceConfig

func (p *Provider) ValidateDataResourceConfig(ctx context.Context, typeName string, config cty.Value) common.Diagnostics

func (*Provider) ValidateManagedResourceConfig

func (p *Provider) ValidateManagedResourceConfig(ctx context.Context, typeName string, config cty.Value) common.Diagnostics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL