infrastructure

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotConfigured = errors.New("not configured")

ErrNotConfigured is returned by concrete infrastructure dependencies (e.g. the postgres package) when no configuration exists for them in the infrastructure config. This can happen when the infrastructure dependency is explicitly marked as optional in the Fairway manifest.

Functions

This section is empty.

Types

type Config

type Config struct {
	*infrapb.Config

	Secrets secret.Provider
}

Config holds the infrastructure config and a secrets provider.

func DefaultConfig

func DefaultConfig() (*Config, error)

DefaultConfig returns the default infrastructure config. The config is initialized on the first call; subsequent calls return the cached result.

Jump to

Keyboard shortcuts

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