config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package config defines the application configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustViperFlags added in v0.2.0

func MustViperFlags(v *viper.Viper, flags *pflag.FlagSet)

MustViperFlags sets the cobra flags and viper config for events.

Types

type AppConfig

type AppConfig struct {
	CRDB    crdbx.Config
	OIDC    echojwtx.AuthConfig
	Logging loggingx.Config
	Server  echox.Config
	SpiceDB spicedbx.Config
	Tracing otelx.Config
	Events  EventsConfig
}

AppConfig is the struct used for configuring the app

type EventsConfig added in v0.1.4

type EventsConfig struct {
	events.Config  `mapstructure:",squash"`
	Topics         []string
	ZedTokenBucket string
}

EventsConfig stores the configuration for a load-balancer-api events config

Jump to

Keyboard shortcuts

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