MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / NewConformanceService

Function NewConformanceService

conformance/service.cc:765–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763namespace cel_conformance {
764
765absl::StatusOr<std::unique_ptr<ConformanceServiceInterface>>
766NewConformanceService(const ConformanceServiceOptions& options) {
767 if (options.modern) {
768 return google::api::expr::runtime::ModernConformanceServiceImpl::Create(
769 options.optimize, options.recursive, options.select_optimization);
770 } else {
771 return google::api::expr::runtime::LegacyConformanceServiceImpl::Create(
772 options.optimize, options.recursive, options.select_optimization);
773 }
774}
775
776} // namespace cel_conformance

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected