locationSpecToLocationEntity()
Home > @backstage/plugin-catalog-node
> locationSpecToLocationEntity
A standard way of producing a machine generated Location kind entity for a location.
Signature:
function locationSpecToLocationEntity(opts: {
location: LocationSpec;
parentEntity?: Entity;
}): LocationEntityV1alpha1;
Parameters
Parameter |
Type |
Description |
---|---|---|
opts |
{ location: LocationSpec; parentEntity?: Entity; } |