Documentation ¶
Overview ¶
Package provider provides testsdk handling of the provider concept.
Index ¶
- type ConfigureRequest
- type ConfigureResponse
- type Protov5ConfigureRequest
- type Protov5ConfigureResponse
- type Protov5Provider
- type Protov5SchemaRequest
- type Protov5SchemaResponse
- type Protov5StopRequest
- type Protov5StopResponse
- type Protov5ValidateConfigRequest
- type Protov5ValidateConfigResponse
- type Provider
- type SchemaRequest
- type SchemaResponse
- type StopRequest
- type StopResponse
- type ValidateConfigRequest
- type ValidateConfigResponse
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 Protov5ConfigureRequest ¶ added in v1.6.0
type Protov5ConfigureResponse ¶ added in v1.6.0
type Protov5ConfigureResponse struct {
Diagnostics []*tfprotov6.Diagnostic
}
type Protov5Provider ¶ added in v1.6.0
type Protov5Provider interface { Configure(context.Context, Protov5ConfigureRequest, *Protov5ConfigureResponse) DataSourcesMap() map[string]datasource.DataSource ResourcesMap() map[string]resource.Resource Schema(context.Context, Protov5SchemaRequest, *Protov5SchemaResponse) Stop(context.Context, Protov5StopRequest, *Protov5StopResponse) ValidateConfig(context.Context, Protov5ValidateConfigRequest, *Protov5ValidateConfigResponse) }
type Protov5SchemaRequest ¶ added in v1.6.0
type Protov5SchemaRequest struct{}
type Protov5SchemaResponse ¶ added in v1.6.0
type Protov5SchemaResponse struct { Diagnostics []*tfprotov5.Diagnostic Schema *tfprotov5.Schema }
type Protov5StopRequest ¶ added in v1.6.0
type Protov5StopRequest struct{}
type Protov5StopResponse ¶ added in v1.6.0
type Protov5StopResponse struct {
Error error
}
type Protov5ValidateConfigRequest ¶ added in v1.6.0
type Protov5ValidateConfigResponse ¶ added in v1.6.0
type Protov5ValidateConfigResponse struct {
Diagnostics []*tfprotov5.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.