config

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APMConfig

type APMConfig struct {
	Addr             string
	App, Environment string
	APM, Profiling   bool
}

type AWSConfig

type AWSConfig struct {
	Region           string
	CacheBucket      string
	CacheKeyPrefix   string
	AccessKeyID      string `secret:"AWS_ACCESS_KEY_ID"`
	SecretAccessKey  string `secret:"AWS_SECRET_ACCESS_KEY"`
	EnableECR        bool
	ECRRegistryHosts []string
}

AWSConfig contains all information needed to access AWS services AWS credentials scoped to S3 Read/Write & ECR Push/Pull only

type DBConfig

type DBConfig struct {
	PostgresURI             string `secret:"DB_URI"`
	CredentialEncryptionKey []byte `secret:"DB_CREDENTIAL_ENCRYPTION_KEY"`
	CredEncKeyArray         [32]byte
}

type GitHubConfig

type GitHubConfig struct {
	Token string `secret:"GITHUB_TOKEN"`
}

type QuayConfig

type QuayConfig struct {
	Token string `secret:"QUAY_TOKEN"`
}

type ServerConfig

type ServerConfig struct {
	HTTPSAddr string
	GRPCAddr  string
	SeedKey   string
}

type VaultConfig

type VaultConfig struct {
	Addr        string
	Token       string
	TokenAuth   bool
	K8sAuth     bool
	K8sJWTPath  string
	K8sAuthPath string
	K8sRole     string
}

Jump to

Keyboard shortcuts

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