config

package
v0.0.0-...-924aaf8 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Types

type App

type App struct {
	FileSharing string `envconfig:"AOR_FILE_DIR"`
}

type Config

type Config struct {
	App       App
	Secrets   Secrets
	Queue     Queue
	Endpoints Endpoints
}
var Configs Config

type Endpoints

type Endpoints struct {
	Core             string `envconfig:"AOR_CORE_API_URL"`
	AoAPI            string `envconfig:"AOR_AO_API_URL"`
	SecretManager    string `envconfig:"AOR_AO_SM_URL"`
	JobScheduler     string `envconfig:"AOR_JOBSCHEDULER_URL"`
	LogstreamManager string `envconfig:"AOR_LSM_URL"`
}

type Queue

type Queue struct {
	Name string `envconfig:"AOR_QUEUE_NAME"`
}

type Secrets

type Secrets struct {
	AuthServerJwtSecret string `envconfig:"AOR_AUTH_SERVER_JWT_SECRET"`
	AppName             string `envconfig:"AOR_APP_NAME"`
	AppSecret           string `envconfig:"AOR_APP_SECRET"`
	RunnerToken         string `envconfig:"AOR_RUNNER_TOKEN_SECRET"`
	AwsAccessKeyId      string `envconfig:"AOR_AWS_ACCESS_KEY_ID"`
	AwsSecretAccessKey  string `envconfig:"AOR_AWS_SECRET_ACCESS_KEY"`
	AwsRegion           string `envconfig:"AOR_AWS_REGION"`
}

Jump to

Keyboard shortcuts

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