Module: Karafka::Web::Pro::Ui::Lib::Search

Defined in:
lib/karafka/web/pro/ui/lib/search.rb,
lib/karafka/web/pro/ui/lib/search/config.rb,
lib/karafka/web/pro/ui/lib/search/runner.rb,
lib/karafka/web/pro/ui/lib/search/normalizer.rb,
lib/karafka/web/pro/ui/lib/search/matchers/base.rb,
lib/karafka/web/pro/ui/lib/search/contracts/form.rb,
lib/karafka/web/pro/ui/lib/search/contracts/config.rb,
lib/karafka/web/pro/ui/lib/search/matchers/raw_key_includes.rb,
lib/karafka/web/pro/ui/lib/search/matchers/raw_header_includes.rb,
lib/karafka/web/pro/ui/lib/search/matchers/raw_payload_includes.rb

Overview

Search related contracts

Defined Under Namespace

Modules: Contracts, Matchers, Normalizer Classes: Config, Runner

Class Method Summary collapse

Class Method Details

.post_setup(config) ⇒ Object

Validates that the UI search config is correct

Parameters:

  • config (Karafka::Core::Configurable::Node)

    web config



27
28
29
# File 'lib/karafka/web/pro/ui/lib/search.rb', line 27

def post_setup(config)
  Search::Contracts::Config.new.validate!(config.to_h)
end