startup_history

package
v2.8.13 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryOptions

type HistoryOptions struct {
	Inputs struct {
		HistoryEventCreator history.EventCreator `validate:"required"`
	}

	// Athena read fallback for history records that have aged out of the local
	// table. Left empty (the default) it is disabled and reads hit the local
	// table only; set database, table and output location to enable it.
	AthenaDatabase       string `long:"history-athena-database" env:"HISTORY_ATHENA_DATABASE" description:"Athena database holding aged-out history records"`
	AthenaTable          string `long:"history-athena-table" env:"HISTORY_ATHENA_TABLE" description:"Athena table for history records"`
	AthenaWorkGroup      string `long:"history-athena-workgroup" env:"HISTORY_ATHENA_WORKGROUP" description:"Athena workgroup"`
	AthenaOutputLocation string `` /* 127-byte string literal not displayed */
	AthenaRegion         string `long:"history-athena-region" env:"HISTORY_ATHENA_REGION" description:"AWS region for Athena"`
}

func (HistoryOptions) Initialize

func (o HistoryOptions) Initialize(
	ctx context.Context,
	base startup_base.BaseOptions,
	postgresOptions *startup_postgres.PostgresOptions,
)

Jump to

Keyboard shortcuts

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