gluetables

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateGlueTables

func CreateOrUpdateGlueTables(glueClient glueiface.GlueAPI, bucket string,
	logTable *awsglue.GlueTableMetadata) (ruleTable *awsglue.GlueTableMetadata, err error)

CreateOrUpdateGlueTables, given a log meta data table, creates a log and rule table in the glue catalog

func CreateOrUpdateGlueTablesForLogType

func CreateOrUpdateGlueTablesForLogType(glueClient glueiface.GlueAPI, logType,
	bucket string) (*awsglue.GlueTableMetadata, *awsglue.GlueTableMetadata, error)

CreateOrUpdateGlueTablesForLogType uses the parser registry to get the table meta data and creates tables in the glue catalog

func DeployedLogTables

func DeployedLogTables(glueClient glueiface.GlueAPI) (deployedLogTables []*awsglue.GlueTableMetadata, err error)

DeployedLogTables returns the glue tables from the registry that have been deployed

func DeployedTablesSignature

func DeployedTablesSignature(glueClient glueiface.GlueAPI) (deployedLogTablesSignature string, err error)

DeployedTablesSignature returns a string "signature" for the schema of the deployed tables used to detect change

Types

This section is empty.

Jump to

Keyboard shortcuts

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