Documentation ¶
Overview ¶
Package region contains the implementation of the Region data source following the Terraform framework interfaces.
Index ¶
- func DataSourceRegionSchema() schema.Schema
- type DataSourceRegion
- func (r *DataSourceRegion) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (*DataSourceRegion) Metadata(_ context.Context, _ datasource.MetadataRequest, ...)
- func (r *DataSourceRegion) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*DataSourceRegion) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceRegionSchema ¶
DataSourceRegionSchema defines the schema for a region data source.
Types ¶
type DataSourceRegion ¶
type DataSourceRegion struct {
CpCl *cloud.ControlPlaneClientSet
}
DataSourceRegion represents a data source for a Redpanda Cloud region.
func (*DataSourceRegion) Configure ¶
func (r *DataSourceRegion) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
Configure uses provider level data to configure DataSourceRegion client.
func (*DataSourceRegion) Metadata ¶
func (*DataSourceRegion) Metadata(_ context.Context, _ datasource.MetadataRequest, response *datasource.MetadataResponse)
Metadata returns the metadata for the Region data source.
func (*DataSourceRegion) Read ¶
func (r *DataSourceRegion) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read reads the Region data source's values and updates the state.
func (*DataSourceRegion) Schema ¶
func (*DataSourceRegion) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema returns the schema for the Region data source.
Click to show internal directories.
Click to hide internal directories.