Help us shape the future of Go! Take the 2026 Go Developer Survey

proto5server

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package proto5server contains the provider server implementation compatible with protocol version 5 (tfprotov5.ProviderServer).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListRequestErrorDiagnostics added in v1.16.0

func ListRequestErrorDiagnostics(ctx context.Context, diags ...diag.Diagnostic) (*tfprotov5.ListResourceServerStream, error)

ListRequestErrorDiagnostics returns a value suitable for [ListResourceServerStream.Results]. It yields a single result that contains the given error diagnostics.

Types

type Server

type Server struct {
	FrameworkServer fwserver.Server
	// contains filtered or unexported fields
}

Provider server implementation.

func (*Server) ApplyResourceChange

ApplyResourceChange satisfies the tfprotov5.ProviderServer interface.

func (*Server) CallFunction added in v1.5.0

CallFunction satisfies the tfprotov5.ProviderServer interface.

func (*Server) CloseEphemeralResource added in v1.13.0

CloseEphemeralResource satisfies the tfprotov5.ProviderServer interface.

func (*Server) ConfigureProvider

ConfigureProvider satisfies the tfprotov5.ProviderServer interface.

func (*Server) GenerateResourceConfig added in v1.19.0

GenerateResourceConfig satisfies the tfprotov5.ProviderServer interface.

func (*Server) GetFunctions added in v1.5.0

GetFunctions satisfies the tfprotov5.ProviderServer interface.

func (*Server) GetMetadata added in v1.4.0

GetMetadata satisfies the tfprotov5.ProviderServer interface.

func (*Server) GetProviderSchema

GetProviderSchema satisfies the tfprotov5.ProviderServer interface.

func (*Server) GetResourceIdentitySchemas added in v1.15.0

GetResourceIdentitySchemas satisfies the tfprotov5.ProviderServer interface.

func (*Server) ImportResourceState

ImportResourceState satisfies the tfprotov5.ProviderServer interface.

func (*Server) InvokeAction added in v1.16.0

InvokeAction satisfies the tfprotov5.ProviderServer interface.

func (*Server) ListResource added in v1.16.0

func (*Server) MoveResourceState added in v1.6.0

MoveResourceState satisfies the tfprotov5.ProviderServer interface.

func (*Server) OpenEphemeralResource added in v1.13.0

OpenEphemeralResource satisfies the tfprotov5.ProviderServer interface.

func (*Server) PlanAction added in v1.16.0

PlanAction satisfies the tfprotov5.ProviderServer interface.

func (*Server) PlanResourceChange

PlanResourceChange satisfies the tfprotov5.ProviderServer interface.

func (*Server) PrepareProviderConfig

PrepareProviderConfig satisfies the tfprotov5.ProviderServer interface.

func (*Server) ReadDataSource

ReadDataSource satisfies the tfprotov5.ProviderServer interface.

func (*Server) ReadResource

ReadResource satisfies the tfprotov5.ProviderServer interface.

func (*Server) RenewEphemeralResource added in v1.13.0

RenewEphemeralResource satisfies the tfprotov5.ProviderServer interface.

func (*Server) StopProvider

StopProvider satisfies the tfprotov5.ProviderServer interface.

func (*Server) UpgradeResourceIdentity added in v1.15.0

UpgradeResourceIdentity satisfies the tfprotov5.ProviderServer interface.

func (*Server) UpgradeResourceState

UpgradeResourceState satisfies the tfprotov5.ProviderServer interface.

func (*Server) ValidateActionConfig added in v1.16.0

ValidateActionConfig satisfies the tfprotov5.ProviderServer interface.

func (*Server) ValidateDataSourceConfig

ValidateDataSourceConfig satisfies the tfprotov5.ProviderServer interface.

func (*Server) ValidateEphemeralResourceConfig added in v1.13.0

ValidateEphemeralResourceConfig satisfies the tfprotov5.ProviderServer interface.

func (*Server) ValidateListResourceConfig added in v1.16.0

ValidateListResourceConfig satisfies the tfprotov5.ProviderServer interface.

func (*Server) ValidateResourceTypeConfig

ValidateResourceTypeConfig satisfies the tfprotov5.ProviderServer interface.

Jump to

Keyboard shortcuts

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