Documentation
¶
Index ¶
- func NewDataConnectionsDataSource() datasource.DataSource
- func NewDataGatewayDataSource() datasource.DataSource
- func NewSourceEntitiesDataSource() datasource.DataSource
- func NewSpaceDataSource() datasource.DataSource
- func NewSpacesDataSource() datasource.DataSource
- type DataConnectionsDataSource
- func (d *DataConnectionsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataConnectionsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *DataConnectionsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataConnectionsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type DataConnectionsDataSourceModel
- type DataConnectionsModel
- type DataGatewayDataSource
- func (d *DataGatewayDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataGatewayDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *DataGatewayDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataGatewayDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type DataGatewayModel
- type SourceEntitiesDataSource
- func (d *SourceEntitiesDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *SourceEntitiesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *SourceEntitiesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SourceEntitiesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type SourceEntitiesDataSourceModel
- type SourceEntityModel
- type SpaceDataSource
- func (d *SpaceDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *SpaceDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *SpaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SpaceDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type SpaceModel
- type SpacesDataSource
- func (d *SpacesDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *SpacesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *SpacesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SpacesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type SpacesDataSourceModel
- type SpacesModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataConnectionsDataSource ¶
func NewDataConnectionsDataSource() datasource.DataSource
NewSpacesDataSource is a helper function to simplify the provider implementation.
func NewDataGatewayDataSource ¶
func NewDataGatewayDataSource() datasource.DataSource
NewSpacesDataSource is a helper function to simplify the provider implementation.
func NewSourceEntitiesDataSource ¶
func NewSourceEntitiesDataSource() datasource.DataSource
NewSpacesDataSource is a helper function to simplify the provider implementation.
func NewSpaceDataSource ¶
func NewSpaceDataSource() datasource.DataSource
NewSpacesDataSource is a helper function to simplify the provider implementation.
func NewSpacesDataSource ¶
func NewSpacesDataSource() datasource.DataSource
NewSpacesDataSource is a helper function to simplify the provider implementation.
Types ¶
type DataConnectionsDataSource ¶
type DataConnectionsDataSource struct {
// contains filtered or unexported fields
}
spacesDataSource is the data source implementation.
func (*DataConnectionsDataSource) Configure ¶
func (d *DataConnectionsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*DataConnectionsDataSource) Metadata ¶
func (d *DataConnectionsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*DataConnectionsDataSource) Read ¶
func (d *DataConnectionsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*DataConnectionsDataSource) Schema ¶
func (d *DataConnectionsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type DataConnectionsDataSourceModel ¶
type DataConnectionsDataSourceModel struct {
DataConnections []DataConnectionsModel `tfsdk:"data_connections"`
}
spacesDataSourceModel maps the data source schema data.
type DataConnectionsModel ¶
type DataConnectionsModel struct {
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Type types.String `tfsdk:"type"`
DataSourceID types.String `tfsdk:"data_source_id"`
}
spacesModel maps coffees schema data.
type DataGatewayDataSource ¶
type DataGatewayDataSource struct {
// contains filtered or unexported fields
}
DataGatewayDataSource is the data source implementation.
func (*DataGatewayDataSource) Configure ¶
func (d *DataGatewayDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*DataGatewayDataSource) Metadata ¶
func (d *DataGatewayDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*DataGatewayDataSource) Read ¶
func (d *DataGatewayDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*DataGatewayDataSource) Schema ¶
func (d *DataGatewayDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type DataGatewayModel ¶
type DataGatewayModel struct {
ID types.String `tfsdk:"id"`
// Name types.String `tfsdk:"name"`
Type types.String `tfsdk:"type"`
Description types.String `tfsdk:"description"`
SpaceID types.String `tfsdk:"space_id"`
}
DataGatewayModel maps coffees schema data.
type SourceEntitiesDataSource ¶
type SourceEntitiesDataSource struct {
// contains filtered or unexported fields
}
spacesDataSource is the data source implementation.
func (*SourceEntitiesDataSource) Configure ¶
func (d *SourceEntitiesDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*SourceEntitiesDataSource) Metadata ¶
func (d *SourceEntitiesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*SourceEntitiesDataSource) Read ¶
func (d *SourceEntitiesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*SourceEntitiesDataSource) Schema ¶
func (d *SourceEntitiesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type SourceEntitiesDataSourceModel ¶
type SourceEntitiesDataSourceModel struct {
Entities []SourceEntityModel `tfsdk:"entities"`
ProjectID types.String `tfsdk:"project_id"`
AppID types.String `tfsdk:"app_id"`
SourceConnectionID types.String `tfsdk:"source_connection_id"`
Database types.String `tfsdk:"database"`
TablePattern types.String `tfsdk:"table_pattern"`
SchemaPattern types.String `tfsdk:"schema_pattern"`
EntityType types.String `tfsdk:"entity_type"`
}
spacesDataSourceModel maps the data source schema data.
type SourceEntityModel ¶
type SpaceDataSource ¶
type SpaceDataSource struct {
// contains filtered or unexported fields
}
SpaceDataSource is the data source implementation.
func (*SpaceDataSource) Configure ¶
func (d *SpaceDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*SpaceDataSource) Metadata ¶
func (d *SpaceDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*SpaceDataSource) Read ¶
func (d *SpaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*SpaceDataSource) Schema ¶
func (d *SpaceDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type SpaceModel ¶
type SpaceModel struct {
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Type types.String `tfsdk:"type"`
Description types.String `tfsdk:"description"`
}
SpaceModel maps coffees schema data.
type SpacesDataSource ¶
type SpacesDataSource struct {
// contains filtered or unexported fields
}
SpacesDataSource is the data source implementation.
func (*SpacesDataSource) Configure ¶
func (d *SpacesDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*SpacesDataSource) Metadata ¶
func (d *SpacesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*SpacesDataSource) Read ¶
func (d *SpacesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*SpacesDataSource) Schema ¶
func (d *SpacesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type SpacesDataSourceModel ¶
type SpacesDataSourceModel struct {
Spaces []SpacesModel `tfsdk:"spaces"`
Name types.String `tfsdk:"name"`
}
SpacesDataSourceModel maps the data source schema data.