spin/wit/ephemeral/spin-config.wit

10 lines
296 B
Plaintext

// Get a configuration value for the current component.
// The config key must match one defined in in the component manifest.
get-config: func(key: string) -> expected<string, error>
variant error {
provider(string),
invalid-key(string),
invalid-schema(string),
other(string),
}