config

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Package config provides a struct to store the applications config

Index

Constants

This section is empty.

Variables

View Source
var AppConfig struct {
	OIDC              echojwtx.AuthConfig `mapstructure:"oidc"`
	OIDCClient        OIDCClientConfig    `mapstructure:"oidc"`
	CRDB              crdbx.Config
	Logging           loggingx.Config
	Server            echox.Config
	Tracing           otelx.Config
	Events            events.Config
	Permissions       permissions.Config
	LoadBalancerLimit int
	Metadata          MetadataConfig
	RestrictedPorts   []int
	Supergraph        SupergraphConfig
}

AppConfig stores all the config values for our application

Functions

This section is empty.

Types

type MetadataConfig added in v0.0.34

type MetadataConfig struct {
	StatusNamespaceID gidx.PrefixedID `mapstructure:"status-namespace-id"`
}

MetadataConfig stores the configuration for metadata

type OIDCClientConfig added in v0.0.34

type OIDCClientConfig struct {
	Config oauth2x.Config `mapstructure:"client"`
}

OIDCClientConfig stores the configuration for an OIDC client

type SupergraphConfig added in v0.0.34

type SupergraphConfig struct {
	URL     string
	Timeout time.Duration
}

SupergraphConfig stores the configuration for the supergraph

Jump to

Keyboard shortcuts

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