Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.2.41 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactS3 added in v0.2.24

type ArtifactS3 struct {
	Endpoint, Region, Bucket, AccessKeyID string
	SecretAccessKey                       string `json:"-"`
}

type Config

type Config struct {
	RepairImages       map[string]string
	Address            string
	PublicURL          string
	DatabaseURL        string
	WebDir             string
	MigrationDir       string
	Development        bool
	FixtureAuth        bool
	Edition            string
	DocsURL            string
	EncryptionKey      string `json:"-"`
	EncryptionKeyID    string
	EncryptionKeys     map[string]string `json:"-"`
	KMSRegion          string
	KMSKeyARN          string
	KMSPreviousKeyARNs []string
	PolicyFile         string
	ArtifactDirectory  string
	ArtifactS3         ArtifactS3
	PodAddress         string
	OIDCIssuer         string
	OIDCClientID       string
	OIDCClientSecret   string `json:"-"`
	SMTPAddress        string
	SMTPUsername       string
	SMTPPassword       string `json:"-"`
	SMTPFrom           string
	SMTPSecurity       string
	SMTPTLSServerName  string
	BootstrapToken     string `json:"-"`
	BootstrapExpiresAt time.Time
	GitHubApp          GitHubAppFiles
	BuiltinRunnerToken string `json:"-"`
}

func Load

func Load() (Config, error)

func (Config) Validate

func (c Config) Validate() error

type GitHubAppFiles

type GitHubAppFiles struct {
	AppID, Slug, ClientID                         string
	ClientSecretFile, PrivateKeyFile, WebhookFile string
}

Jump to

Keyboard shortcuts

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