Skip to main content

BitbucketServerLocationParser

Home > @backstage/plugin-catalog-backend-module-bitbucket-server > BitbucketServerLocationParser

A custom callback that reacts to finding a location by yielding entities. Can be used for custom location/repository parsing logic.

Signature:

export type BitbucketServerLocationParser = (options: {
client: BitbucketServerClient;
location: LocationSpec;
logger: LoggerService;
}) => AsyncIterable<Entity>;

References: BitbucketServerClient, LocationSpec, LoggerService, Entity