Record
workload-info
Identity and configuration of a workload binding to this plugin.
record workload-info {
id: workload-id,
name: string,
namespace: string,
service: option<component-id>,
components: list<component-id>,
interfaces: list<interface-binding>,
}Fields
| Name | Type | Description |
|---|---|---|
| id | workload-id | Unique id of the workload instance. |
| name | string | Human-readable workload name. |
| namespace | string | Namespace the workload was deployed under. |
| service | option<component-id> | Id of the workload's service, if it has one. A service is the
workload's long-lived item; it can make capability calls just as a
component can, so this id also appears as identity.get-component-id
on calls the service makes. |
| components | list<component-id> | Ids of the workload's components, excluding the service above. |
| interfaces | list<interface-binding> | Every interface instance the workload matched on this plugin. |