Documentation ¶
Overview ¶
Package fwserver contains the framework provider server implementation. This package should only ever contain framework-native types, while specific protocol version compatible implementations, such as proto6server, are implemented on top of this abstraction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetProviderSchemaRequest ¶
type GetProviderSchemaRequest struct{}
GetProviderSchemaRequest is the framework server request for the GetProviderSchema RPC.
type GetProviderSchemaResponse ¶
type GetProviderSchemaResponse struct { Provider *tfsdk.Schema ProviderMeta *tfsdk.Schema ResourceSchemas map[string]*tfsdk.Schema DataSourceSchemas map[string]*tfsdk.Schema Diagnostics diag.Diagnostics }
GetProviderSchemaResponse is the framework server response for the GetProviderSchema RPC.
type Server ¶
Server implements the framework provider server. Protocol specific implementations wrap this handling along with calling all request and response type conversions.
func (*Server) GetProviderSchema ¶
func (s *Server) GetProviderSchema(ctx context.Context, req *GetProviderSchemaRequest, resp *GetProviderSchemaResponse)
GetProviderSchema implements the framework server GetProviderSchema RPC.