WikiLambda
MediaWiki WikiLambda extension
Loading...
Searching...
No Matches
MediaWiki\Extension\WikiLambda\OrchestratorRequest Class Reference

@codeCoverageIgnore More...

Public Member Functions

 __construct (ClientInterface $client)
 
 orchestrate ( $query, $bypassCache=false)
 
 getSupportedProgrammingLanguages ()
 
 performTest (string $query)
 

Protected Attributes

 $guzzleClient
 
 $userAgentString
 
 $objectCache
 

Detailed Description

@codeCoverageIgnore

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\WikiLambda\OrchestratorRequest::__construct ( ClientInterface $client)
Parameters
ClientInterface$clientGuzzleHttp Client used for requests
+ Here is the call graph for this function:

Member Function Documentation

◆ getSupportedProgrammingLanguages()

MediaWiki\Extension\WikiLambda\OrchestratorRequest::getSupportedProgrammingLanguages ( )
Returns
ResponseInterface response object returned by orchestrator

◆ orchestrate()

MediaWiki\Extension\WikiLambda\OrchestratorRequest::orchestrate ( $query,
$bypassCache = false )
Parameters
\stdClass | array$query
bool$bypassCacheWhether to bypass the function call cache; this is only to be used for the system health-check service, as it's potentially expensive.
Returns
string response object returned by orchestrator, down-cast to a string

◆ performTest()

MediaWiki\Extension\WikiLambda\OrchestratorRequest::performTest ( string $query)
Parameters
string$query
Returns
ResponseInterface response object returned by orchestrator

The documentation for this class was generated from the following file: