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