MCPcopy Create free account
hub / github.com/apache/trafficserver / get_data

Function get_data

src/mgmt/rpc/jsonrpc/unit_tests/test_basic_protocol.cc:419–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419[[maybe_unused]] static swoc::Rv<YAML::Node>
420get_data(std::string_view const & /* id ATS_UNUSED */, YAML::Node const & /* params ATS_UNUSED */)
421{
422 swoc::Rv<YAML::Node> res;
423 res.result().push_back("hello");
424 res.result().push_back("5");
425 return res;
426}
427
428[[maybe_unused]] static void
429update(YAML::Node const & /* params ATS_UNUSED */)

Callers 1

get_dataMethod · 0.85

Calls 2

resultMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected