Documentation
¶
Overview ¶
Package datasource provides testsdk handling of the data resource concept.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSource ¶
type DataSource interface {
Read(context.Context, ReadRequest, *ReadResponse)
Schema(context.Context, SchemaRequest, *SchemaResponse)
ValidateConfig(context.Context, ValidateConfigRequest, *ValidateConfigResponse)
}
type ReadRequest ¶
type ReadResponse ¶
type ReadResponse struct {
Diagnostics []*tfprotov6.Diagnostic
State tftypes.Value
}
type SchemaRequest ¶
type SchemaRequest struct{}
type SchemaResponse ¶
type SchemaResponse struct {
Diagnostics []*tfprotov6.Diagnostic
Schema *tfprotov6.Schema
}
type ValidateConfigRequest ¶
type ValidateConfigResponse ¶
type ValidateConfigResponse struct {
Diagnostics []*tfprotov6.Diagnostic
}
Click to show internal directories.
Click to hide internal directories.