Documentation
¶
Overview ¶
Package provider provides testsdk handling of the provider concept.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigureRequest ¶
type ConfigureResponse ¶
type ConfigureResponse struct {
Diagnostics []*tfprotov6.Diagnostic
}
type Provider ¶
type Provider interface {
Configure(context.Context, ConfigureRequest, *ConfigureResponse)
DataSourcesMap() map[string]datasource.DataSource
ResourcesMap() map[string]resource.Resource
Schema(context.Context, SchemaRequest, *SchemaResponse)
Stop(context.Context, StopRequest, *StopResponse)
ValidateConfig(context.Context, ValidateConfigRequest, *ValidateConfigResponse)
}
type SchemaRequest ¶
type SchemaRequest struct{}
type SchemaResponse ¶
type SchemaResponse struct {
Diagnostics []*tfprotov6.Diagnostic
Schema *tfprotov6.Schema
}
type StopRequest ¶
type StopRequest struct{}
type StopResponse ¶
type StopResponse struct {
Error error
}
type ValidateConfigRequest ¶
type ValidateConfigResponse ¶
type ValidateConfigResponse struct {
Diagnostics []*tfprotov6.Diagnostic
}
Click to show internal directories.
Click to hide internal directories.