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

runtimeconfig

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSSRFGuardian added in v0.13.2

func GetSSRFGuardian(c domain.RuntimeConfig) *ssrf.Guardian

func Load

func Load(configFile string) *domain.RuntimeConfig

Load opens the json passed and merges it with defaults

Types

type AppLocation2Path added in v0.10.0

type AppLocation2Path struct {
	Config *domain.RuntimeConfig
}

func (*AppLocation2Path) Base added in v0.10.0

func (l *AppLocation2Path) Base(locationKey string) string

App returns the path to the App's generated files

func (*AppLocation2Path) DenoDir added in v0.10.0

func (s *AppLocation2Path) DenoDir(locationKey string) string

func (*AppLocation2Path) Files added in v0.10.0

func (l *AppLocation2Path) Files(locationKey string) string

func (*AppLocation2Path) Meta added in v0.10.0

func (l *AppLocation2Path) Meta(locationKey string) string

type AppspaceLocation2Path added in v0.10.0

type AppspaceLocation2Path struct {
	Config *domain.RuntimeConfig
}

func (*AppspaceLocation2Path) Avatar added in v0.10.0

func (s *AppspaceLocation2Path) Avatar(locationKey string, avatar string) string

func (*AppspaceLocation2Path) Avatars added in v0.10.0

func (s *AppspaceLocation2Path) Avatars(locationKey string) string

func (*AppspaceLocation2Path) Backup added in v0.10.0

func (s *AppspaceLocation2Path) Backup(locationKey string, backupFile string) string

func (*AppspaceLocation2Path) Backups added in v0.10.0

func (s *AppspaceLocation2Path) Backups(locationKey string) string

func (*AppspaceLocation2Path) Base added in v0.10.0

func (s *AppspaceLocation2Path) Base(locationKey string) string

func (*AppspaceLocation2Path) Data added in v0.10.0

func (s *AppspaceLocation2Path) Data(locationKey string) string

func (*AppspaceLocation2Path) DenoDir added in v0.10.0

func (s *AppspaceLocation2Path) DenoDir(locationKey string) string

func (*AppspaceLocation2Path) Files added in v0.10.0

func (s *AppspaceLocation2Path) Files(locationKey string) string

func (*AppspaceLocation2Path) TailnetNodeStore added in v0.14.0

func (s *AppspaceLocation2Path) TailnetNodeStore(locationKey string) string

type SetupKey added in v0.9.0

type SetupKey struct {
	Config    *domain.RuntimeConfig `checkinject:"required"`
	DBManager interface {
		GetSetupKey() (string, error)
		DeleteSetupKey() error
	} `checkinject:"required"`
	UserModel interface {
		GetAllAdmins() ([]domain.UserID, error)
	} `checkinject:"required"`
	// contains filtered or unexported fields
}

func (*SetupKey) Delete added in v0.9.0

func (k *SetupKey) Delete() error

func (*SetupKey) Get added in v0.9.0

func (k *SetupKey) Get() (string, error)

func (*SetupKey) Has added in v0.9.0

func (k *SetupKey) Has() (bool, error)

func (*SetupKey) RevealKey added in v0.9.0

func (k *SetupKey) RevealKey()

Jump to

Keyboard shortcuts

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