Record
interface-binding
One interface instance the workload matched on this plugin — e.g. the
store interface of acme:kv@0.1.0, labeled cache, with its
manifest config.
record interface-binding {
namespace: string,
package: string,
interfaces: list<string>,
version: option<version>,
name: option<string>,
external-id: option<string>,
config: list<tuple<string, string>>,
}Fields
| Name | Type | Description |
|---|---|---|
| namespace | string | Interface namespace (e.g. acme). |
| package | string | Package within the namespace (e.g. kv). |
| interfaces | list<string> | The matched interface names within the package (e.g. store). |
| version | option<version> | Version of the instance, if one was requested. |
| name | option<string> | Instance label when the workload names multiple instances of the same namespace:package, if any. Component-facing: what the component calls this import. |
| external-id | option<string> | Platform-facing id the binding was declared with, if any — what the platform's configuration calls the same instance. |
| config | list<tuple<string, string>> | Interface-level configuration from the workload manifest, as key/value pairs sorted by key. |