Documentation ¶
Index ¶
- Variables
- func GenerateDynamoDBTerraform()
- func GenerateIonGlueTerraform()
- func GenerateParquetGlueTerraform()
- func GetFieldTypeString(fieldType reflect.Type) string
- func GetIonNameTag(tag reflect.StructTag) (string, error)
- func GetParquetNameTag(tag reflect.StructTag) (string, error)
- func ParquetFieldIsTimestamp(tag reflect.StructTag) bool
- type BaseDynamoConfig
- type BaseGlueConfig
- type Columns
- type DynamoDBTable
- type DynamoDBTableAttribute
- type GlobalSecondaryIndex
- type GlueCatalogTable
- type PartitionKeys
- type SerDeInfo
- type StorageDescriptor
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateDynamoDBTerraform ¶
func GenerateDynamoDBTerraform()
func GenerateIonGlueTerraform ¶
func GenerateIonGlueTerraform()
func GenerateParquetGlueTerraform ¶
func GenerateParquetGlueTerraform()
func GetFieldTypeString ¶
func ParquetFieldIsTimestamp ¶
Types ¶
type BaseDynamoConfig ¶
type BaseDynamoConfig struct {
Resources []DynamoDBTable `hcl:"resource,block"`
}
type BaseGlueConfig ¶
type BaseGlueConfig struct {
Resources []GlueCatalogTable `hcl:"resource,block"`
}
type DynamoDBTable ¶
type DynamoDBTable struct { ResourceLabel string `hcl:"resource_label,label"` NameLabel string `hcl:"name_label,label"` Name string `hcl:"name"` BillingMode string `hcl:"billing_mode"` HashKey string `hcl:"hash_key"` Attributes []DynamoDBTableAttribute `hcl:"attribute,block"` GlobalSecondaryIndexes []GlobalSecondaryIndex `hcl:"global_secondary_index,block"` }
type DynamoDBTableAttribute ¶
type GlobalSecondaryIndex ¶
type GlueCatalogTable ¶
type GlueCatalogTable struct { ResourceLabel string `hcl:"resource_label,label"` NameLabel string `hcl:"name_label,label"` Name string `hcl:"name"` DatabaseName string `hcl:"database_name"` TableType string `hcl:"table_type"` Parameters map[string]string `hcl:"parameters"` StorageDescriptor StorageDescriptor `hcl:"storage_descriptor,block"` PartitionKeys []PartitionKeys `hcl:"partition_keys,block"` }
func ConvertStructToIonGlueTable ¶
func ConvertStructToIonGlueTable(obj interface{}, cloud, service, resource string) (GlueCatalogTable, error)
func ConvertStructToParquetGlueTable ¶
func ConvertStructToParquetGlueTable(obj interface{}, cloud, service, resource string) (GlueCatalogTable, error)
type PartitionKeys ¶
Click to show internal directories.
Click to hide internal directories.