OperatorConfig
| 115 | |
| 116 | // OperatorConfig |
| 117 | void |
| 118 | OperatorSetConfig::initialize(Parser &p) |
| 119 | { |
| 120 | Operator::initialize(p); |
| 121 | _config = p.get_arg(); |
| 122 | |
| 123 | if (TS_SUCCESS == TSHttpTxnConfigFind(_config.c_str(), _config.size(), &_key, &_type)) { |
| 124 | _value.set_value(p.get_value(), this); |
| 125 | } else { |
| 126 | _key = TS_CONFIG_NULL; |
| 127 | TSError("[%s] no such records config: %s", PLUGIN_NAME, _config.c_str()); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | bool |
| 132 | OperatorSetConfig::exec(const Resources &res) const |
nothing calls this directly
no test coverage detected