config

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 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
	RoleARN               string
	ECRRoleArnByAccountID bool
	RoleTokenPath         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