wisski-cloud-distillery/internal/config/runtime.go
2022-09-14 14:42:21 +02:00

15 lines
318 B
Go

package config
import (
"embed"
"path/filepath"
)
// Runtime contains runtime resources to be installed into any instance
//go:embed all:runtime
var Runtime embed.FS
// RuntimeDir returns the path to the runtime directory
func (cfg Config) RuntimeDir() string {
return filepath.Join(cfg.DeployRoot, "runtime")
}