couchbase 4.6.0 → 4.7.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +2 -1
- package/deps/couchbase-cxx-cache/mozilla-ca-bundle.crt +66 -93
- package/deps/couchbase-cxx-cache/mozilla-ca-bundle.sha256 +1 -1
- package/deps/couchbase-cxx-client/CMakeLists.txt +24 -11
- package/deps/couchbase-cxx-client/README.md +17 -16
- package/deps/couchbase-cxx-client/cmake/APKBUILD.in +17 -1
- package/deps/couchbase-cxx-client/cmake/Bundler.cmake +9 -1
- package/deps/couchbase-cxx-client/cmake/Cache.cmake +48 -19
- package/deps/couchbase-cxx-client/cmake/CompilerOptions.cmake +3 -1
- package/deps/couchbase-cxx-client/cmake/OpenSSL.cmake +10 -2
- package/deps/couchbase-cxx-client/cmake/Packaging.cmake +48 -8
- package/deps/couchbase-cxx-client/cmake/ThirdPartyDependencies.cmake +43 -1
- package/deps/couchbase-cxx-client/cmake/build_config.hxx.in +2 -0
- package/deps/couchbase-cxx-client/cmake/couchbase-cxx-client.spec.in +18 -0
- package/deps/couchbase-cxx-client/cmake/debian/control +6 -1
- package/deps/couchbase-cxx-client/cmake/debian/rules +1 -0
- package/deps/couchbase-cxx-client/cmake/tarball_glob.txt +10 -0
- package/deps/couchbase-cxx-client/core/app_telemetry_meter.cxx +1 -0
- package/deps/couchbase-cxx-client/core/app_telemetry_reporter.cxx +45 -43
- package/deps/couchbase-cxx-client/core/app_telemetry_reporter.hxx +4 -3
- package/deps/couchbase-cxx-client/core/bucket.cxx +128 -13
- package/deps/couchbase-cxx-client/core/bucket.hxx +12 -2
- package/deps/couchbase-cxx-client/core/cluster.cxx +304 -152
- package/deps/couchbase-cxx-client/core/cluster.hxx +32 -0
- package/deps/couchbase-cxx-client/core/cluster_credentials.cxx +25 -0
- package/deps/couchbase-cxx-client/core/cluster_credentials.hxx +5 -0
- package/deps/couchbase-cxx-client/core/cluster_label_listener.cxx +72 -0
- package/deps/couchbase-cxx-client/core/cluster_label_listener.hxx +46 -0
- package/deps/couchbase-cxx-client/core/cluster_options.hxx +4 -0
- package/deps/couchbase-cxx-client/core/deprecation_utils.hxx +26 -0
- package/deps/couchbase-cxx-client/core/error.hxx +27 -0
- package/deps/couchbase-cxx-client/core/free_form_http_request.hxx +0 -2
- package/deps/couchbase-cxx-client/core/http_component.cxx +12 -48
- package/deps/couchbase-cxx-client/core/impl/analytics.cxx +3 -2
- package/deps/couchbase-cxx-client/core/impl/analytics.hxx +2 -1
- package/deps/couchbase-cxx-client/core/impl/analytics_index_manager.cxx +249 -137
- package/deps/couchbase-cxx-client/core/impl/binary_collection.cxx +134 -58
- package/deps/couchbase-cxx-client/core/impl/bucket_manager.cxx +87 -35
- package/deps/couchbase-cxx-client/core/impl/collection.cxx +560 -245
- package/deps/couchbase-cxx-client/core/impl/collection_manager.cxx +89 -49
- package/deps/couchbase-cxx-client/core/impl/dns_srv_tracker.cxx +4 -4
- package/deps/couchbase-cxx-client/core/impl/error.cxx +20 -13
- package/deps/couchbase-cxx-client/core/impl/error.hxx +15 -10
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +1 -1
- package/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +2 -1
- package/deps/couchbase-cxx-client/core/impl/get_replica.hxx +2 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in_replica.hxx +1 -1
- package/deps/couchbase-cxx-client/core/impl/observability_recorder.cxx +161 -0
- package/deps/couchbase-cxx-client/core/impl/observability_recorder.hxx +77 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +2 -0
- package/deps/couchbase-cxx-client/core/impl/public_bucket.cxx +31 -7
- package/deps/couchbase-cxx-client/core/impl/public_cluster.cxx +107 -19
- package/deps/couchbase-cxx-client/core/impl/query.cxx +6 -3
- package/deps/couchbase-cxx-client/core/impl/query.hxx +3 -1
- package/deps/couchbase-cxx-client/core/impl/query_index_manager.cxx +267 -102
- package/deps/couchbase-cxx-client/core/impl/scope.cxx +53 -11
- package/deps/couchbase-cxx-client/core/impl/search.cxx +8 -4
- package/deps/couchbase-cxx-client/core/impl/search.hxx +6 -2
- package/deps/couchbase-cxx-client/core/impl/search_index_manager.cxx +131 -41
- package/deps/couchbase-cxx-client/core/impl/with_cancellation.hxx +75 -0
- package/deps/couchbase-cxx-client/core/io/config_tracker.cxx +9 -9
- package/deps/couchbase-cxx-client/core/io/config_tracker.hxx +2 -1
- package/deps/couchbase-cxx-client/core/io/http_command.hxx +98 -49
- package/deps/couchbase-cxx-client/core/io/http_context.hxx +2 -0
- package/deps/couchbase-cxx-client/core/io/http_session.cxx +23 -10
- package/deps/couchbase-cxx-client/core/io/http_session.hxx +17 -9
- package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +163 -228
- package/deps/couchbase-cxx-client/core/io/http_traits.hxx +0 -7
- package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +123 -44
- package/deps/couchbase-cxx-client/core/io/mcbp_session.cxx +251 -26
- package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +9 -1
- package/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +0 -8
- package/deps/couchbase-cxx-client/core/io/streams.cxx +3 -3
- package/deps/couchbase-cxx-client/core/io/streams.hxx +3 -2
- package/deps/couchbase-cxx-client/core/meta/features.hxx +15 -0
- package/deps/couchbase-cxx-client/core/meta/version.cxx +13 -0
- package/deps/couchbase-cxx-client/core/meta/version.hxx +3 -0
- package/deps/couchbase-cxx-client/core/metrics/constants.hxx +23 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +5 -5
- package/deps/couchbase-cxx-client/core/metrics/meter_wrapper.cxx +65 -63
- package/deps/couchbase-cxx-client/core/metrics/meter_wrapper.hxx +12 -10
- package/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +0 -5
- package/deps/couchbase-cxx-client/core/operations/document_append.hxx +0 -4
- package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +0 -5
- package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +0 -7
- package/deps/couchbase-cxx-client/core/operations/document_get.hxx +0 -7
- package/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +77 -27
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +0 -9
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +0 -9
- package/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +83 -2
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +0 -9
- package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +0 -5
- package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +0 -4
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +0 -9
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in_all_replicas.hxx +46 -4
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in_any_replica.hxx +121 -43
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +0 -5
- package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +0 -4
- package/deps/couchbase-cxx-client/core/operations/document_query.hxx +0 -4
- package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +0 -4
- package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +0 -4
- package/deps/couchbase-cxx-client/core/operations/document_search.hxx +0 -7
- package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +0 -7
- package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +0 -6
- package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +0 -4
- package/deps/couchbase-cxx-client/core/operations/document_view.cxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/document_view.hxx +10 -13
- package/deps/couchbase-cxx-client/core/operations/http_noop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/change_password.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_update.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +4 -1
- package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +68 -30
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +4 -3
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +2 -1
- package/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +6 -0
- package/deps/couchbase-cxx-client/core/operations.hxx +0 -1
- package/deps/couchbase-cxx-client/core/operations_fwd.hxx +8 -0
- package/deps/couchbase-cxx-client/core/origin.cxx +67 -12
- package/deps/couchbase-cxx-client/core/origin.hxx +13 -8
- package/deps/couchbase-cxx-client/core/orphan_reporter.cxx +164 -0
- package/deps/couchbase-cxx-client/core/orphan_reporter.hxx +65 -0
- package/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +1 -0
- package/deps/couchbase-cxx-client/core/sasl/client.cc +6 -0
- package/deps/couchbase-cxx-client/core/sasl/mechanism.cc +2 -1
- package/deps/couchbase-cxx-client/core/sasl/mechanism.h +2 -1
- package/deps/couchbase-cxx-client/core/sasl/oauthbearer/oauthbearer.cc +41 -0
- package/deps/couchbase-cxx-client/core/sasl/oauthbearer/oauthbearer.h +47 -0
- package/deps/couchbase-cxx-client/core/tls_context_provider.cxx +44 -0
- package/deps/couchbase-cxx-client/core/tls_context_provider.hxx +44 -0
- package/deps/couchbase-cxx-client/core/tracing/attribute_helpers.hxx +45 -0
- package/deps/couchbase-cxx-client/core/tracing/constants.hxx +148 -68
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +0 -3
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +122 -170
- package/deps/couchbase-cxx-client/core/tracing/tracer_wrapper.cxx +17 -24
- package/deps/couchbase-cxx-client/core/tracing/tracer_wrapper.hxx +8 -10
- package/deps/couchbase-cxx-client/core/tracing/wrapper_sdk_tracer.cxx +114 -0
- package/deps/couchbase-cxx-client/core/tracing/wrapper_sdk_tracer.hxx +85 -0
- package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.cxx +16 -14
- package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.hxx +4 -4
- package/deps/couchbase-cxx-client/core/transactions/transactions.cxx +1 -1
- package/deps/couchbase-cxx-client/core/transactions/transactions_cleanup.cxx +1 -2
- package/deps/couchbase-cxx-client/core/utils/byteswap.hxx +12 -0
- package/deps/couchbase-cxx-client/core/utils/concurrent_fixed_priority_queue.hxx +102 -0
- package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +2 -0
- package/deps/couchbase-cxx-client/couchbase/certificate_authenticator.hxx +1 -0
- package/deps/couchbase-cxx-client/couchbase/cluster.hxx +47 -0
- package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +16 -0
- package/deps/couchbase-cxx-client/couchbase/collection.hxx +60 -15
- package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +48 -48
- package/deps/couchbase-cxx-client/couchbase/jwt_authenticator.hxx +52 -0
- package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +75 -80
- package/deps/couchbase-cxx-client/couchbase/network_options.hxx +19 -0
- package/deps/couchbase-cxx-client/couchbase/password_authenticator.hxx +1 -0
- package/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +15 -17
- package/deps/couchbase-cxx-client/couchbase/tracing/request_span.hxx +2 -2
- package/dist/analyticsexecutor.d.ts +15 -0
- package/dist/analyticsexecutor.js +79 -50
- package/dist/analyticsindexmanager.d.ts +66 -0
- package/dist/analyticsindexmanager.js +404 -277
- package/dist/analyticstypes.d.ts +5 -0
- package/dist/authenticators.d.ts +34 -1
- package/dist/authenticators.js +19 -1
- package/dist/binarycollection.d.ts +17 -0
- package/dist/binding.d.ts +245 -228
- package/dist/binding.js +2 -2
- package/dist/bindingutilities.js +1 -1
- package/dist/bucket.d.ts +8 -0
- package/dist/bucket.js +8 -0
- package/dist/bucketmanager.d.ts +30 -0
- package/dist/bucketmanager.js +128 -69
- package/dist/cluster.d.ts +45 -0
- package/dist/cluster.js +133 -23
- package/dist/collection.d.ts +75 -2
- package/dist/collection.js +773 -552
- package/dist/collectionmanager.d.ts +34 -0
- package/dist/collectionmanager.js +172 -89
- package/dist/couchbase.d.ts +5 -0
- package/dist/couchbase.js +5 -0
- package/dist/datastructures.js +310 -97
- package/dist/diagnosticsexecutor.js +1 -1
- package/dist/errors.d.ts +8 -0
- package/dist/errors.js +12 -1
- package/dist/eventingfunctionmanager.d.ts +42 -0
- package/dist/eventingfunctionmanager.js +172 -100
- package/dist/logger.d.ts +192 -0
- package/dist/logger.js +213 -0
- package/dist/loggingmeter.d.ts +120 -0
- package/dist/loggingmeter.js +226 -0
- package/dist/metrics.d.ts +33 -0
- package/dist/metrics.js +5 -0
- package/dist/observability.d.ts +60 -0
- package/dist/observability.js +86 -0
- package/dist/observabilityhandler.d.ts +176 -0
- package/dist/observabilityhandler.js +733 -0
- package/dist/observabilitytypes.d.ts +320 -0
- package/dist/observabilitytypes.js +362 -0
- package/dist/observabilityutilities.d.ts +60 -0
- package/dist/observabilityutilities.js +175 -0
- package/dist/otelmeter.d.ts +51 -0
- package/dist/otelmeter.js +100 -0
- package/dist/oteltracer.d.ts +69 -0
- package/dist/oteltracer.js +141 -0
- package/dist/queryexecutor.d.ts +16 -0
- package/dist/queryexecutor.js +128 -86
- package/dist/queryindexmanager.d.ts +29 -0
- package/dist/queryindexmanager.js +277 -150
- package/dist/querytypes.d.ts +5 -0
- package/dist/scope.js +2 -2
- package/dist/scopeeventingfunctionmanager.d.ts +5 -0
- package/dist/scopeeventingfunctionmanager.js +217 -119
- package/dist/scopesearchindexmanager.d.ts +5 -0
- package/dist/scopesearchindexmanager.js +295 -166
- package/dist/sdspecs.js +6 -1
- package/dist/searchexecutor.d.ts +15 -0
- package/dist/searchexecutor.js +54 -26
- package/dist/searchindexmanager.d.ts +54 -0
- package/dist/searchindexmanager.js +235 -142
- package/dist/searchtypes.d.ts +5 -0
- package/dist/thresholdlogging.d.ts +301 -0
- package/dist/thresholdlogging.js +657 -0
- package/dist/tracing.d.ts +55 -0
- package/dist/tracing.js +2 -0
- package/dist/transactions.js +1 -1
- package/dist/transcoders.js +1 -1
- package/dist/usermanager.d.ts +46 -0
- package/dist/usermanager.js +199 -118
- package/dist/utilities.d.ts +4 -0
- package/dist/utilities.js +11 -1
- package/dist/utilities_internal.js +0 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.js +7 -0
- package/dist/viewexecutor.d.ts +15 -0
- package/dist/viewexecutor.js +54 -29
- package/dist/viewindexmanager.d.ts +30 -0
- package/dist/viewindexmanager.js +129 -100
- package/dist/viewtypes.d.ts +5 -0
- package/package.json +32 -18
- package/scripts/buildPrebuild.js +2 -0
- package/scripts/install.js +2 -0
- package/scripts/prebuilds.js +7 -8
- package/scripts/prune.js +2 -0
- package/scripts/updateVersion.js +26 -0
- package/src/connection.cpp +79 -98
- package/src/connection.hpp +46 -38
- package/src/connection_autogen.cpp +1236 -292
- package/src/jstocbpp_autogen.hpp +1117 -313
- package/src/jstocbpp_basic.hpp +73 -0
- package/src/jstocbpp_defs.hpp +37 -9
- package/src/jstocbpp_errors.hpp +37 -11
- package/tools/gen-bindings-js.js +100 -22
- package/tools/gen-bindings-json.py +40 -6
- package/src/transcoder.hpp +0 -96
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Cluster } from './cluster';
|
|
2
2
|
import { NodeCallback } from './utilities';
|
|
3
3
|
import { DeployFunctionOptions, DropFunctionOptions, EventingFunction, EventingState, FunctionsStatusOptions, GetAllFunctionsOptions, GetFunctionOptions, PauseFunctionOptions, ResumeFunctionOptions, UpsertFunctionOptions } from './eventingfunctionmanager';
|
|
4
|
+
import { ObservabilityInstruments } from './observabilitytypes';
|
|
4
5
|
/**
|
|
5
6
|
* ScopeEventingFunctionManager provides an interface for managing the
|
|
6
7
|
* eventing functions on the scope.
|
|
@@ -16,6 +17,10 @@ export declare class ScopeEventingFunctionManager {
|
|
|
16
17
|
* @internal
|
|
17
18
|
*/
|
|
18
19
|
constructor(cluster: Cluster, bucketName: string, scopeName: string);
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
get observabilityInstruments(): ObservabilityInstruments;
|
|
19
24
|
/**
|
|
20
25
|
* Creates or updates an eventing function.
|
|
21
26
|
*
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ScopeEventingFunctionManager = void 0;
|
|
4
4
|
const utilities_1 = require("./utilities");
|
|
5
|
-
const bindingutilities_1 = require("./bindingutilities");
|
|
6
5
|
const eventingfunctionmanager_1 = require("./eventingfunctionmanager");
|
|
6
|
+
const observability_1 = require("./observability");
|
|
7
|
+
const observabilityhandler_1 = require("./observabilityhandler");
|
|
8
|
+
const observabilitytypes_1 = require("./observabilitytypes");
|
|
7
9
|
/**
|
|
8
10
|
* ScopeEventingFunctionManager provides an interface for managing the
|
|
9
11
|
* eventing functions on the scope.
|
|
@@ -20,6 +22,12 @@ class ScopeEventingFunctionManager {
|
|
|
20
22
|
this._bucketName = bucketName;
|
|
21
23
|
this._scopeName = scopeName;
|
|
22
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
get observabilityInstruments() {
|
|
29
|
+
return this._cluster.observabilityInstruments;
|
|
30
|
+
}
|
|
23
31
|
/**
|
|
24
32
|
* Creates or updates an eventing function.
|
|
25
33
|
*
|
|
@@ -35,21 +43,31 @@ class ScopeEventingFunctionManager {
|
|
|
35
43
|
if (!options) {
|
|
36
44
|
options = {};
|
|
37
45
|
}
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
this.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
const err = (0,
|
|
46
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingUpsertFunction, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
47
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
48
|
+
bucketName: this._bucketName,
|
|
49
|
+
scopeName: this._scopeName,
|
|
50
|
+
});
|
|
51
|
+
try {
|
|
52
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
53
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
54
|
+
const [err, _] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingUpsertFunction.bind(this._cluster.conn), {
|
|
55
|
+
function: eventingfunctionmanager_1.EventingFunction._toCppData(functionDefinition),
|
|
56
|
+
bucket_name: this._bucketName,
|
|
57
|
+
scope_name: this._scopeName,
|
|
58
|
+
timeout: timeout,
|
|
59
|
+
}, obsReqHandler);
|
|
47
60
|
if (err) {
|
|
48
|
-
|
|
61
|
+
obsReqHandler.endWithError(err);
|
|
62
|
+
throw err;
|
|
49
63
|
}
|
|
50
|
-
|
|
51
|
-
});
|
|
52
|
-
}
|
|
64
|
+
obsReqHandler.end();
|
|
65
|
+
}, callback);
|
|
66
|
+
}
|
|
67
|
+
catch (err) {
|
|
68
|
+
obsReqHandler.endWithError(err);
|
|
69
|
+
throw err;
|
|
70
|
+
}
|
|
53
71
|
}
|
|
54
72
|
/**
|
|
55
73
|
* Deletes an eventing function.
|
|
@@ -66,21 +84,31 @@ class ScopeEventingFunctionManager {
|
|
|
66
84
|
if (!options) {
|
|
67
85
|
options = {};
|
|
68
86
|
}
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
this.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const err = (0,
|
|
87
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingDropFunction, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
88
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
89
|
+
bucketName: this._bucketName,
|
|
90
|
+
scopeName: this._scopeName,
|
|
91
|
+
});
|
|
92
|
+
try {
|
|
93
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
94
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
95
|
+
const [err, _] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingDropFunction.bind(this._cluster.conn), {
|
|
96
|
+
name: name,
|
|
97
|
+
bucket_name: this._bucketName,
|
|
98
|
+
scope_name: this._scopeName,
|
|
99
|
+
timeout: timeout,
|
|
100
|
+
}, obsReqHandler);
|
|
78
101
|
if (err) {
|
|
79
|
-
|
|
102
|
+
obsReqHandler.endWithError(err);
|
|
103
|
+
throw err;
|
|
80
104
|
}
|
|
81
|
-
|
|
82
|
-
});
|
|
83
|
-
}
|
|
105
|
+
obsReqHandler.end();
|
|
106
|
+
}, callback);
|
|
107
|
+
}
|
|
108
|
+
catch (err) {
|
|
109
|
+
obsReqHandler.endWithError(err);
|
|
110
|
+
throw err;
|
|
111
|
+
}
|
|
84
112
|
}
|
|
85
113
|
/**
|
|
86
114
|
* Fetches all eventing functions.
|
|
@@ -96,21 +124,31 @@ class ScopeEventingFunctionManager {
|
|
|
96
124
|
if (!options) {
|
|
97
125
|
options = {};
|
|
98
126
|
}
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
this.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
127
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingGetAllFunctions, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
128
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
129
|
+
bucketName: this._bucketName,
|
|
130
|
+
scopeName: this._scopeName,
|
|
131
|
+
});
|
|
132
|
+
try {
|
|
133
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
134
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
135
|
+
const [err, resp] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingGetAllFunctions.bind(this._cluster.conn), {
|
|
136
|
+
bucket_name: this._bucketName,
|
|
137
|
+
scope_name: this._scopeName,
|
|
138
|
+
timeout: timeout,
|
|
139
|
+
}, obsReqHandler);
|
|
107
140
|
if (err) {
|
|
108
|
-
|
|
141
|
+
obsReqHandler.endWithError(err);
|
|
142
|
+
throw err;
|
|
109
143
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
});
|
|
113
|
-
}
|
|
144
|
+
obsReqHandler.end();
|
|
145
|
+
return resp.functions.map((functionData) => eventingfunctionmanager_1.EventingFunction._fromCppData(functionData));
|
|
146
|
+
}, callback);
|
|
147
|
+
}
|
|
148
|
+
catch (err) {
|
|
149
|
+
obsReqHandler.endWithError(err);
|
|
150
|
+
throw err;
|
|
151
|
+
}
|
|
114
152
|
}
|
|
115
153
|
/**
|
|
116
154
|
* Fetches a specific eventing function.
|
|
@@ -127,22 +165,32 @@ class ScopeEventingFunctionManager {
|
|
|
127
165
|
if (!options) {
|
|
128
166
|
options = {};
|
|
129
167
|
}
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
this.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
const err = (0,
|
|
168
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingGetFunction, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
169
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
170
|
+
bucketName: this._bucketName,
|
|
171
|
+
scopeName: this._scopeName,
|
|
172
|
+
});
|
|
173
|
+
try {
|
|
174
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
175
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
176
|
+
const [err, resp] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingGetFunction.bind(this._cluster.conn), {
|
|
177
|
+
name: name,
|
|
178
|
+
bucket_name: this._bucketName,
|
|
179
|
+
scope_name: this._scopeName,
|
|
180
|
+
timeout: timeout,
|
|
181
|
+
}, obsReqHandler);
|
|
139
182
|
if (err) {
|
|
140
|
-
|
|
183
|
+
obsReqHandler.endWithError(err);
|
|
184
|
+
throw err;
|
|
141
185
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
});
|
|
145
|
-
}
|
|
186
|
+
obsReqHandler.end();
|
|
187
|
+
return eventingfunctionmanager_1.EventingFunction._fromCppData(resp.function);
|
|
188
|
+
}, callback);
|
|
189
|
+
}
|
|
190
|
+
catch (err) {
|
|
191
|
+
obsReqHandler.endWithError(err);
|
|
192
|
+
throw err;
|
|
193
|
+
}
|
|
146
194
|
}
|
|
147
195
|
/**
|
|
148
196
|
* Deploys an eventing function.
|
|
@@ -159,21 +207,31 @@ class ScopeEventingFunctionManager {
|
|
|
159
207
|
if (!options) {
|
|
160
208
|
options = {};
|
|
161
209
|
}
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
this.
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
const err = (0,
|
|
210
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingDeployFunction, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
211
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
212
|
+
bucketName: this._bucketName,
|
|
213
|
+
scopeName: this._scopeName,
|
|
214
|
+
});
|
|
215
|
+
try {
|
|
216
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
217
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
218
|
+
const [err, _] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingDeployFunction.bind(this._cluster.conn), {
|
|
219
|
+
name: name,
|
|
220
|
+
bucket_name: this._bucketName,
|
|
221
|
+
scope_name: this._scopeName,
|
|
222
|
+
timeout: timeout,
|
|
223
|
+
}, obsReqHandler);
|
|
171
224
|
if (err) {
|
|
172
|
-
|
|
225
|
+
obsReqHandler.endWithError(err);
|
|
226
|
+
throw err;
|
|
173
227
|
}
|
|
174
|
-
|
|
175
|
-
});
|
|
176
|
-
}
|
|
228
|
+
obsReqHandler.end();
|
|
229
|
+
}, callback);
|
|
230
|
+
}
|
|
231
|
+
catch (err) {
|
|
232
|
+
obsReqHandler.endWithError(err);
|
|
233
|
+
throw err;
|
|
234
|
+
}
|
|
177
235
|
}
|
|
178
236
|
/**
|
|
179
237
|
* Undeploys an eventing function.
|
|
@@ -190,21 +248,31 @@ class ScopeEventingFunctionManager {
|
|
|
190
248
|
if (!options) {
|
|
191
249
|
options = {};
|
|
192
250
|
}
|
|
193
|
-
const
|
|
194
|
-
|
|
195
|
-
this.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
const err = (0,
|
|
251
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingUndeployFunction, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
252
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
253
|
+
bucketName: this._bucketName,
|
|
254
|
+
scopeName: this._scopeName,
|
|
255
|
+
});
|
|
256
|
+
try {
|
|
257
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
258
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
259
|
+
const [err, _] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingUndeployFunction.bind(this._cluster.conn), {
|
|
260
|
+
name: name,
|
|
261
|
+
bucket_name: this._bucketName,
|
|
262
|
+
scope_name: this._scopeName,
|
|
263
|
+
timeout: timeout,
|
|
264
|
+
}, obsReqHandler);
|
|
202
265
|
if (err) {
|
|
203
|
-
|
|
266
|
+
obsReqHandler.endWithError(err);
|
|
267
|
+
throw err;
|
|
204
268
|
}
|
|
205
|
-
|
|
206
|
-
});
|
|
207
|
-
}
|
|
269
|
+
obsReqHandler.end();
|
|
270
|
+
}, callback);
|
|
271
|
+
}
|
|
272
|
+
catch (err) {
|
|
273
|
+
obsReqHandler.endWithError(err);
|
|
274
|
+
throw err;
|
|
275
|
+
}
|
|
208
276
|
}
|
|
209
277
|
/**
|
|
210
278
|
* Pauses an eventing function.
|
|
@@ -221,21 +289,31 @@ class ScopeEventingFunctionManager {
|
|
|
221
289
|
if (!options) {
|
|
222
290
|
options = {};
|
|
223
291
|
}
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
this.
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
const err = (0,
|
|
292
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingPauseFunction, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
293
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
294
|
+
bucketName: this._bucketName,
|
|
295
|
+
scopeName: this._scopeName,
|
|
296
|
+
});
|
|
297
|
+
try {
|
|
298
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
299
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
300
|
+
const [err, _] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingPauseFunction.bind(this._cluster.conn), {
|
|
301
|
+
name: name,
|
|
302
|
+
bucket_name: this._bucketName,
|
|
303
|
+
scope_name: this._scopeName,
|
|
304
|
+
timeout: timeout,
|
|
305
|
+
}, obsReqHandler);
|
|
233
306
|
if (err) {
|
|
234
|
-
|
|
307
|
+
obsReqHandler.endWithError(err);
|
|
308
|
+
throw err;
|
|
235
309
|
}
|
|
236
|
-
|
|
237
|
-
});
|
|
238
|
-
}
|
|
310
|
+
obsReqHandler.end();
|
|
311
|
+
}, callback);
|
|
312
|
+
}
|
|
313
|
+
catch (err) {
|
|
314
|
+
obsReqHandler.endWithError(err);
|
|
315
|
+
throw err;
|
|
316
|
+
}
|
|
239
317
|
}
|
|
240
318
|
/**
|
|
241
319
|
* Resumes an eventing function.
|
|
@@ -252,21 +330,31 @@ class ScopeEventingFunctionManager {
|
|
|
252
330
|
if (!options) {
|
|
253
331
|
options = {};
|
|
254
332
|
}
|
|
255
|
-
const
|
|
256
|
-
|
|
257
|
-
this.
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
const err = (0,
|
|
333
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingResumeFunction, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
334
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
335
|
+
bucketName: this._bucketName,
|
|
336
|
+
scopeName: this._scopeName,
|
|
337
|
+
});
|
|
338
|
+
try {
|
|
339
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
340
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
341
|
+
const [err, _] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingResumeFunction.bind(this._cluster.conn), {
|
|
342
|
+
name: name,
|
|
343
|
+
bucket_name: this._bucketName,
|
|
344
|
+
scope_name: this._scopeName,
|
|
345
|
+
timeout: timeout,
|
|
346
|
+
}, obsReqHandler);
|
|
264
347
|
if (err) {
|
|
265
|
-
|
|
348
|
+
obsReqHandler.endWithError(err);
|
|
349
|
+
throw err;
|
|
266
350
|
}
|
|
267
|
-
|
|
268
|
-
});
|
|
269
|
-
}
|
|
351
|
+
obsReqHandler.end();
|
|
352
|
+
}, callback);
|
|
353
|
+
}
|
|
354
|
+
catch (err) {
|
|
355
|
+
obsReqHandler.endWithError(err);
|
|
356
|
+
throw err;
|
|
357
|
+
}
|
|
270
358
|
}
|
|
271
359
|
/**
|
|
272
360
|
* Fetches the status of all eventing functions.
|
|
@@ -282,21 +370,31 @@ class ScopeEventingFunctionManager {
|
|
|
282
370
|
if (!options) {
|
|
283
371
|
options = {};
|
|
284
372
|
}
|
|
285
|
-
const
|
|
286
|
-
|
|
287
|
-
this.
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
373
|
+
const obsReqHandler = new observabilityhandler_1.ObservableRequestHandler(observabilitytypes_1.EventingFunctionMgmtOp.EventingGetStatus, this.observabilityInstruments, options === null || options === void 0 ? void 0 : options.parentSpan);
|
|
374
|
+
obsReqHandler.setRequestHttpAttributes({
|
|
375
|
+
bucketName: this._bucketName,
|
|
376
|
+
scopeName: this._scopeName,
|
|
377
|
+
});
|
|
378
|
+
try {
|
|
379
|
+
const timeout = options.timeout || this._cluster.managementTimeout;
|
|
380
|
+
return utilities_1.PromiseHelper.wrapAsync(async () => {
|
|
381
|
+
const [err, resp] = await (0, observability_1.wrapObservableBindingCall)(this._cluster.conn.managementEventingGetStatus.bind(this._cluster.conn), {
|
|
382
|
+
bucket_name: this._bucketName,
|
|
383
|
+
scope_name: this._scopeName,
|
|
384
|
+
timeout: timeout,
|
|
385
|
+
}, obsReqHandler);
|
|
293
386
|
if (err) {
|
|
294
|
-
|
|
387
|
+
obsReqHandler.endWithError(err);
|
|
388
|
+
throw err;
|
|
295
389
|
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
});
|
|
299
|
-
}
|
|
390
|
+
obsReqHandler.end();
|
|
391
|
+
return eventingfunctionmanager_1.EventingState._fromCppData(resp.status);
|
|
392
|
+
}, callback);
|
|
393
|
+
}
|
|
394
|
+
catch (err) {
|
|
395
|
+
obsReqHandler.endWithError(err);
|
|
396
|
+
throw err;
|
|
397
|
+
}
|
|
300
398
|
}
|
|
301
399
|
}
|
|
302
400
|
exports.ScopeEventingFunctionManager = ScopeEventingFunctionManager;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Cluster } from './cluster';
|
|
2
2
|
import { NodeCallback } from './utilities';
|
|
3
3
|
import { GetSearchIndexOptions, GetAllSearchIndexesOptions, UpsertSearchIndexOptions, GetSearchIndexedDocumentsCountOptions, DropSearchIndexOptions, PauseSearchIngestOptions, ResumeSearchIngestOptions, AllowSearchQueryingOptions, DisallowSearchQueryingOptions, FreezeSearchPlanOptions, UnfreezeSearchPlanOptions, AnalyzeSearchDocumentOptions, ISearchIndex, SearchIndex } from './searchindexmanager';
|
|
4
|
+
import { ObservabilityInstruments } from './observabilitytypes';
|
|
4
5
|
/**
|
|
5
6
|
* SearchIndexManager provides an interface for managing the
|
|
6
7
|
* search indexes on the cluster.
|
|
@@ -15,6 +16,10 @@ export declare class ScopeSearchIndexManager {
|
|
|
15
16
|
* @internal
|
|
16
17
|
*/
|
|
17
18
|
constructor(cluster: Cluster, bucketName: string, scopeName: string);
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
get observabilityInstruments(): ObservabilityInstruments;
|
|
18
23
|
/**
|
|
19
24
|
* Returns an index by it's name.
|
|
20
25
|
*
|