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

cueutil

package
v1.58.7 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MPL-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromFS

func LoadFromFS(filesys fs.FS, serviceRelPath string, meta *Meta) (cue.Value, error)

LoadFromFS takes a given filesystem object and the app-relative path to the service's root package and loads the full configuration needed for that service.

Types

type CloudType

type CloudType string
const (
	CloudType_AWS    CloudType = "aws"
	CloudType_Azure  CloudType = "azure"
	CloudType_GCP    CloudType = "gcp"
	CloudType_Encore CloudType = "encore"
	CloudType_Local  CloudType = "local"
)

type EnvType

type EnvType string
const (
	EnvType_Production  EnvType = "production"
	EnvType_Development EnvType = "development"
	EnvType_Ephemeral   EnvType = "ephemeral"
	EnvType_Test        EnvType = "test"
)

type Meta

type Meta struct {
	APIBaseURL string
	EnvName    string
	EnvType    EnvType
	CloudType  CloudType
}

func (*Meta) ToTags

func (m *Meta) ToTags() []string

Jump to

Keyboard shortcuts

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