class TargetPipelineInterface
Defined at line 28 of file ../../third_party/cobalt/src/public/cobalt_config.h
Public Methods
void TargetPipelineInterface (system_data::Environment environment)
Defined at line 30 of file ../../third_party/cobalt/src/public/cobalt_config.h
void ~TargetPipelineInterface ()
Defined at line 32 of file ../../third_party/cobalt/src/public/cobalt_config.h
system_data::Environment environment ()
The target environment for the pipeline. Used to determine where to send the data.
Defined at line 35 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::optional<std::string> shuffler_encryption_key ()
An encoded CobaltEncryptionKey proto representing the encryption key to be used for envelopes
sent to the shuffler. (Or nullopt for no encryption)
Defined at line 39 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::optional<std::string> analyzer_encryption_key ()
An encoded CobaltEncryptionKey proto representing the encryption key to be used for
observations sent to the analyzer. (Or nullopt for no encryption)
Defined at line 45 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::string clearcut_endpoint ()
The URL for the desired clearcut endpoint.
Defined at line 50 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::unique_ptr<lib::HTTPClient> TakeHttpClient ()
Returns an implementation of lib::HTTPClient. Will be used for uploading data in the
ShippingManager.
Note, that it is used to create cobalt::lib::ClearcutUploader that uses HTTP
requests for uploading to clearcut.
If TakeClearcutUploader is overridden then there is no need to override this method.
Defined at line 58 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::unique_ptr<lib::clearcut::ClearcutUploaderInterface> TakeClearcutUploader ()
Returns an implementation of lib::clearcut::ClearcutUploaderInterface. Will be used for
uploading data in the ShippingManager. If it is not set uploader will be created using
parameters in the config.
Defined at line 63 of file ../../third_party/cobalt/src/public/cobalt_config.h
size_t clearcut_max_retries ()
How many times should the clearcut upload be reattempted, before returning the observations to
the ObservationStore.
Defined at line 70 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::unique_ptr<util::EncryptedMessageMaker> TakeShufflerEncryptedMessageMaker ()
Optional custom EncryptedMessageMaker for envelopes sent to the Shuffler (e.g.
DynamicEncryptedMessageMaker). Takes precedence over shuffler_encryption_key().
Ownership is transferred to CobaltService; callers retaining a raw pointer
(e.g. to call UpdateKey()) must stop updating before CobaltService is destroyed.
Defined at line 76 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::unique_ptr<util::EncryptedMessageMaker> TakeAnalyzerEncryptedMessageMaker ()
Optional custom EncryptedMessageMaker for observations sent to the Analyzer (e.g.
DynamicEncryptedMessageMaker). Takes precedence over analyzer_encryption_key().
Ownership is transferred to CobaltService; callers retaining a raw pointer
(e.g. to call UpdateKey()) must stop updating before CobaltService is destroyed.
Defined at line 85 of file ../../third_party/cobalt/src/public/cobalt_config.h