config

package
v0.0.0-...-ab2e698 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: CC0-1.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	EncryptionKey             string
	DbNamePrefix              string
	DbShorthandPrefix         string
	MaxAllocatedStorage       int64
	DbConfig                  *common.DBConfig
	Environment               string
	Region                    string
	PubliclyAccessibleFeature bool
	EnableFunctionsFeature    bool
	SnapshotsBucketName       string
	SnapshotsRepoName         string
	LastSnapshotName          string
	CfApiUrl                  string
	CfApiClientId             string
	CfApiClientSecret         string
	MaxBackupRetention        int64
	MinBackupRetention        int64
}

Settings stores settings used to run the application

func (*Settings) LoadFromEnv

func (s *Settings) LoadFromEnv() error

LoadFromEnv loads settings from environment variables

Jump to

Keyboard shortcuts

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