store

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntitiesDataSource

func NewEntitiesDataSource() datasource.DataSource

func NewEntityDataDataSource

func NewEntityDataDataSource() datasource.DataSource

func NewEntityResource

func NewEntityResource() resource.Resource

func NewStoreDataSource

func NewStoreDataSource() datasource.DataSource

func NewStoreResource

func NewStoreResource() resource.Resource

func NewStoresDataSource

func NewStoresDataSource() datasource.DataSource

Types

type ConfleuntKafkaProperties

type ConfleuntKafkaProperties struct {
	Uris           types.String `tfsdk:"uris"`
	SchemaRegistry types.String `tfsdk:"schema_registry_name"`
	SaslHashFunc   types.String `tfsdk:"sasl_hash_function"`
	SaslUsername   types.String `tfsdk:"sasl_username"`
	SaslPassword   types.String `tfsdk:"sasl_password"`
}

type ConfluentKafkaDatasourceProperties

type ConfluentKafkaDatasourceProperties struct {
	Uris               types.String `tfsdk:"uris"`
	SchemaRegistryName types.String `tfsdk:"schema_registry_name"`
}

func (ConfluentKafkaDatasourceProperties) AttributeTypes

func (ConfluentKafkaDatasourceProperties) AttributeTypes() map[string]attr.Type

type DatabricksDatasourceProperties

type DatabricksDatasourceProperties struct {
	Uris          types.String `tfsdk:"uris"`
	WarehouseId   types.String `tfsdk:"warehouse_id"`
	CloudS3Bucket types.String `tfsdk:"cloud_s3_bucket"`
	CloudRegion   types.String `tfsdk:"cloud_region"`
}

func (DatabricksDatasourceProperties) AttributeTypes

func (DatabricksDatasourceProperties) AttributeTypes() map[string]attr.Type

type DatabricksProperties

type DatabricksProperties struct {
	Uris            types.String `tfsdk:"uris"`
	AppToken        types.String `tfsdk:"app_token"`
	WarehouseId     types.String `tfsdk:"warehouse_id"`
	AccessKeyId     types.String `tfsdk:"access_key_id"`
	SecretAccessKey types.String `tfsdk:"secret_access_key"`
	CloudS3Bucket   types.String `tfsdk:"cloud_s3_bucket"`
	CloudRegion     types.String `tfsdk:"cloud_region"`
}

type DatabricksStoreEntityResourceData

type DatabricksStoreEntityResourceData struct {
	Details types.Map `tfsdk:"details"`
}

func (DatabricksStoreEntityResourceData) AttributeTypes

func (DatabricksStoreEntityResourceData) AttributeTypes() map[string]attr.Type

type EntitiesDataSource

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

func (*EntitiesDataSource) Configure

func (*EntitiesDataSource) Metadata

func (*EntitiesDataSource) Read

func (*EntitiesDataSource) Schema

type EntitiesDataSourceData

type EntitiesDataSourceData struct {
	Store         types.String `tfsdk:"store"`
	ParentPath    types.List   `tfsdk:"parent_path"`
	ChildEntities types.List   `tfsdk:"child_entities"`
}

type EntityDataDataSource

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

func (*EntityDataDataSource) Configure

func (*EntityDataDataSource) Metadata

func (*EntityDataDataSource) Read

func (*EntityDataDataSource) Schema

type EntityDataDataSourceData

type EntityDataDataSourceData struct {
	Store         types.String `tfsdk:"store"`
	EntityPath    types.List   `tfsdk:"entity_path"`
	NumRows       types.Int64  `tfsdk:"num_rows"`
	FromBeginning types.Bool   `tfsdk:"from_beginning"`
	Rows          types.List   `tfsdk:"rows"`
}

type EntityResource

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

func (*EntityResource) Configure

func (*EntityResource) Create

Create implements resource.Resource.

func (*EntityResource) Delete

func (*EntityResource) Metadata

func (*EntityResource) Read

func (*EntityResource) Schema

func (*EntityResource) Update

type EntityResourceData

type EntityResourceData struct {
	Store                types.String `tfsdk:"store"`
	EntityPath           types.List   `tfsdk:"entity_path"`
	KafkaProperties      types.Object `tfsdk:"kafka_properties"`
	KinesisProperties    types.Object `tfsdk:"kinesis_properties"`
	DatabricksProperties types.Object `tfsdk:"databricks_properties"`
	SnowflakeProperties  types.Object `tfsdk:"snowflake_properties"`
	PostgresProperties   types.Object `tfsdk:"postgres_properties"`
}

type KafkaDatasourceProperties

type KafkaDatasourceProperties struct {
	Uris                    types.String `tfsdk:"uris"`
	SchemaRegistryName      types.String `tfsdk:"schema_registry_name"`
	TlsDisabled             types.Bool   `tfsdk:"tls_disabled"`
	TlsVerifyServerHostname types.Bool   `tfsdk:"tls_verify_server_hostname"`
}

func (KafkaDatasourceProperties) AttributeTypes

func (KafkaDatasourceProperties) AttributeTypes() map[string]attr.Type

type KafkaProperties

type KafkaProperties struct {
	Uris                    types.String `tfsdk:"uris"`
	SchemaRegistry          types.String `tfsdk:"schema_registry_name"`
	SaslHashFunc            types.String `tfsdk:"sasl_hash_function"`
	SaslUsername            types.String `tfsdk:"sasl_username"`
	SaslPassword            types.String `tfsdk:"sasl_password"`
	MskIamRoleArn           types.String `tfsdk:"msk_iam_role_arn"`
	MskAwsRegion            types.String `tfsdk:"msk_aws_region"`
	TlsDisabled             types.Bool   `tfsdk:"tls_disabled"`
	TlsVerifyServerHostname types.Bool   `tfsdk:"tls_verify_server_hostname"`
	TlsCaCertFile           types.String `tfsdk:"tls_ca_cert_file"`
}

func (KafkaProperties) AttributeTypes

func (KafkaProperties) AttributeTypes() map[string]attr.Type

type KafkaStoreEntityResourceData

type KafkaStoreEntityResourceData struct {
	TopicPartitions types.Int64  `tfsdk:"topic_partitions"`
	TopicReplicas   types.Int64  `tfsdk:"topic_replicas"`
	KeyDescriptor   types.String `tfsdk:"key_descriptor"`
	ValueDescriptor types.String `tfsdk:"value_descriptor"`
	Configs         types.Map    `tfsdk:"configs"`
	AllConfigs      types.Map    `tfsdk:"all_configs"`
}

func (KafkaStoreEntityResourceData) AttributeTypes

func (KafkaStoreEntityResourceData) AttributeTypes() map[string]attr.Type

type KinesisDatasourceProperties

type KinesisDatasourceProperties struct {
	Uris               types.String `tfsdk:"uris"`
	SchemaRegistryName types.String `tfsdk:"schema_registry_name"`
}

func (KinesisDatasourceProperties) AttributeTypes

func (KinesisDatasourceProperties) AttributeTypes() map[string]attr.Type

type KinesisProperties

type KinesisProperties struct {
	Uris            types.String `tfsdk:"uris"`
	SchemaRegistry  types.String `tfsdk:"schema_registry_name"`
	AccessKeyId     types.String `tfsdk:"access_key_id"`
	SecretAccessKey types.String `tfsdk:"secret_access_key"`
}

type KinesisStoreEntityResourceData

type KinesisStoreEntityResourceData struct {
	KinesisShards types.Int64  `tfsdk:"kinesis_shards"`
	Descriptor    types.String `tfsdk:"descriptor"`
}

func (KinesisStoreEntityResourceData) AttributeTypes

func (KinesisStoreEntityResourceData) AttributeTypes() map[string]attr.Type

type PostgresDatasourceProperties

type PostgresDatasourceProperties struct {
	Uris types.String `tfsdk:"uris"`
}

func (PostgresDatasourceProperties) AttributeTypes

func (PostgresDatasourceProperties) AttributeTypes() map[string]attr.Type

type PostgresProperties

type PostgresProperties struct {
	Uris     types.String `tfsdk:"uris"`
	Username types.String `tfsdk:"username"`
	Password types.String `tfsdk:"password"`
}

type PostgresStoreEntityResourceData

type PostgresStoreEntityResourceData struct {
	Details types.Map `tfsdk:"details"`
}

func (PostgresStoreEntityResourceData) AttributeTypes

func (PostgresStoreEntityResourceData) AttributeTypes() map[string]attr.Type

type SnowflakeDatasourceProperties

type SnowflakeDatasourceProperties struct {
	Uris          types.String `tfsdk:"uris"`
	AccountId     types.String `tfsdk:"account_id"`
	WarehouseName types.String `tfsdk:"warehouse_name"`
	RoleName      types.String `tfsdk:"role_name"`
}

func (SnowflakeDatasourceProperties) AttributeTypes

func (SnowflakeDatasourceProperties) AttributeTypes() map[string]attr.Type

type SnowflakeProperties

type SnowflakeProperties struct {
	Uris                types.String `tfsdk:"uris"`
	AccountId           types.String `tfsdk:"account_id"`
	CloudRegion         types.String `tfsdk:"cloud_region"`
	WarehouseName       types.String `tfsdk:"warehouse_name"`
	RoleName            types.String `tfsdk:"role_name"`
	Username            types.String `tfsdk:"username"`
	ClientKeyFile       types.String `tfsdk:"client_key_file"`
	ClientKeyPassphrase types.String `tfsdk:"client_key_passphrase"`
}

type SnowflakeStoreEntityResourceData

type SnowflakeStoreEntityResourceData struct {
	Details types.Map `tfsdk:"details"`
}

func (SnowflakeStoreEntityResourceData) AttributeTypes

func (SnowflakeStoreEntityResourceData) AttributeTypes() map[string]attr.Type

type StoreDataSource

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

func (*StoreDataSource) Configure

func (*StoreDataSource) Metadata

func (*StoreDataSource) Read

func (*StoreDataSource) Schema

type StoreDatasourceData

type StoreDatasourceData struct {
	Name           types.String `tfsdk:"name"`
	AccessRegion   types.String `tfsdk:"access_region"`
	Type           types.String `tfsdk:"type"`
	Owner          types.String `tfsdk:"owner"`
	State          types.String `tfsdk:"state"`
	Kafka          types.Object `tfsdk:"kafka"`
	ConfluentKafka types.Object `tfsdk:"confluent_kafka"`
	Kinesis        types.Object `tfsdk:"kinesis"`
	Snowflake      types.Object `tfsdk:"snowflake"`
	Databricks     types.Object `tfsdk:"databricks"`
	Postgres       types.Object `tfsdk:"postgres"`
	UpdatedAt      types.String `tfsdk:"updated_at"`
	CreatedAt      types.String `tfsdk:"created_at"`
}

type StoreResource

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

func (*StoreResource) Configure

func (*StoreResource) Create

Create implements resource.Resource.

func (*StoreResource) Delete

func (*StoreResource) Metadata

func (*StoreResource) Read

func (*StoreResource) Schema

func (*StoreResource) Update

type StoreResourceData

type StoreResourceData struct {
	Name           types.String `tfsdk:"name"`
	AccessRegion   types.String `tfsdk:"access_region"`
	Type           types.String `tfsdk:"type"`
	Kafka          types.Object `tfsdk:"kafka"`
	ConfleuntKafka types.Object `tfsdk:"confluent_kafka"`
	Kinesis        types.Object `tfsdk:"kinesis"`
	Snowflake      types.Object `tfsdk:"snowflake"`
	Databricks     types.Object `tfsdk:"databricks"`
	Postgres       types.Object `tfsdk:"postgres"`
	Owner          types.String `tfsdk:"owner"`
	State          types.String `tfsdk:"state"`
	UpdatedAt      types.String `tfsdk:"updated_at"`
	CreatedAt      types.String `tfsdk:"created_at"`
}

type StoresDataSource

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

func (*StoresDataSource) Configure

func (*StoresDataSource) Metadata

func (*StoresDataSource) Read

func (*StoresDataSource) Schema

type StoresDatasourceData

type StoresDatasourceData struct {
	Items types.List `tfsdk:"items"`
}

type StoresDatasourceDataItem

type StoresDatasourceDataItem struct {
	Name         types.String `tfsdk:"name"`
	AccessRegion types.String `tfsdk:"access_region"`
	Type         types.String `tfsdk:"type"`
	Owner        types.String `tfsdk:"owner"`
	State        types.String `tfsdk:"state"`
	UpdatedAt    types.String `tfsdk:"updated_at"`
	CreatedAt    types.String `tfsdk:"created_at"`
}

Jump to

Keyboard shortcuts

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