datasources

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Configure adds the provider configured client to the data source.

func (*DataConnectionsDataSource) Metadata

Metadata returns the data source type name.

func (*DataConnectionsDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*DataConnectionsDataSource) Schema

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

Configure adds the provider configured client to the data source.

func (*DataGatewayDataSource) Metadata

Metadata returns the data source type name.

func (*DataGatewayDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*DataGatewayDataSource) Schema

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

Configure adds the provider configured client to the data source.

func (*SourceEntitiesDataSource) Metadata

Metadata returns the data source type name.

func (*SourceEntitiesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SourceEntitiesDataSource) Schema

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 SourceEntityModel struct {
	ID        types.String `tfsdk:"id"`
	Name      types.String `tfsdk:"name"`
	DataAppID types.String `tfsdk:"data_app_id"`
	Schema    types.String `tfsdk:"schema"`
	Database  types.String `tfsdk:"database"`
	Type      types.String `tfsdk:"type"`
	ProjectID types.String `tfsdk:"project_id"`
}

type SpaceDataSource

type SpaceDataSource struct {
	// contains filtered or unexported fields
}

SpaceDataSource is the data source implementation.

func (*SpaceDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SpaceDataSource) Metadata

Metadata returns the data source type name.

func (*SpaceDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SpaceDataSource) Schema

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

Configure adds the provider configured client to the data source.

func (*SpacesDataSource) Metadata

Metadata returns the data source type name.

func (*SpacesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SpacesDataSource) Schema

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.

type SpacesModel

type SpacesModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Type        types.String `tfsdk:"type"`
	Description types.String `tfsdk:"description"`
}

SpacesModel maps coffees schema data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL