Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimestreamEntry ¶
type TimestreamState ¶
type TimestreamState struct { AwsRegion string AwsTimestreamDbname string WriteSession *timestreamwrite.TimestreamWrite WriteBuffer map[string][]*timestreamwrite.Record // a hash with table name as key. Transport *http.Transport }
func Factory ¶
func Factory(awsRegion string, awsTimestreamDbname string) TimestreamState
func (*TimestreamState) CheckAndCreateTables ¶
func (c *TimestreamState) CheckAndCreateTables(tables []string) error
get a list of the tables in the database and create the ones we need if they don't exist.
func (*TimestreamState) FlushAwsTimestreamWrites ¶
func (c *TimestreamState) FlushAwsTimestreamWrites() []error
func (*TimestreamState) MakeEntry ¶
func (c *TimestreamState) MakeEntry(entry TimestreamEntry)
Click to show internal directories.
Click to hide internal directories.