configuration

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookoutConfiguration

type LookoutConfiguration struct {
	HttpPort    uint16
	GrpcPort    uint16
	MetricsPort uint16

	UIConfig LookoutUIConfig

	EventQueue   string
	Nats         NatsConfig
	Jetstream    configuration.JetstreamConfig
	Postgres     PostgresConfig
	PrunerConfig PrunerConfig
}

type LookoutUIConfig added in v0.1.23

type LookoutUIConfig struct {
	ArmadaApiBaseUrl         string
	UserAnnotationPrefix     string
	BinocularsEnabled        bool
	BinocularsBaseUrlPattern string

	OverviewAutoRefreshMs int
	JobSetsAutoRefreshMs  int
	JobsAutoRefreshMs     int
}

type NatsConfig

type NatsConfig struct {
	Servers   []string
	ClusterID string
	Subject   string
}

type PostgresConfig added in v0.1.25

type PostgresConfig struct {
	MaxOpenConns    int
	MaxIdleConns    int
	ConnMaxLifetime time.Duration
	Connection      map[string]string
}

type PrunerConfig added in v0.2.11

type PrunerConfig struct {
	DaysToKeep int
	BatchSize  int
}

Jump to

Keyboard shortcuts

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