config

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 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

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