UNPKG

@veecode-platform/plugin-kong-service-manager

Version:

8 lines (5 loc) 469 B
import { KONG_SERVICE_SPEC_ANNOTATION, KONG_SERVICE_NAME_ANNOTATION } from '../utils/constants/kongAnnotations.esm.js'; const isKongServiceManagerAvailable = (entity) => !!entity.metadata.annotations?.[KONG_SERVICE_NAME_ANNOTATION]; const isKongManagerSpecAvailable = (entity) => !!entity.metadata.annotations?.[KONG_SERVICE_SPEC_ANNOTATION]; export { isKongManagerSpecAvailable, isKongServiceManagerAvailable }; //# sourceMappingURL=useKongServiceManager.esm.js.map