class TargetPipelineInterface
Defined at line 29 of file ../../third_party/cobalt/src/public/cobalt_config.h
Public Methods
void TargetPipelineInterface (system_data::Environment environment)
Defined at line 31 of file ../../third_party/cobalt/src/public/cobalt_config.h
void ~TargetPipelineInterface ()
Defined at line 33 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 36 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 40 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 46 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::string clearcut_endpoint ()
The URL for the desired clearcut endpoint.
Defined at line 51 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 59 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 64 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 71 of file ../../third_party/cobalt/src/public/cobalt_config.h
void SetShufflerEncryptedMessageMaker (std::unique_ptr<util::EncryptedMessageMaker> maker)
Optional custom EncryptedMessageMaker for envelopes sent to the Shuffler (e.g.
DynamicEncryptedMessageMaker). Takes precedence over shuffler_encryption_key().
LocalPipeline ignores the Shuffler maker because LocalShippingManager writes
envelopes to a local file without Shuffler encryption.
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 79 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::unique_ptr<util::EncryptedMessageMaker> TakeShufflerEncryptedMessageMaker ()
Defined at line 82 of file ../../third_party/cobalt/src/public/cobalt_config.h
void SetAnalyzerEncryptedMessageMaker (std::unique_ptr<util::EncryptedMessageMaker> maker)
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 90 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::unique_ptr<util::EncryptedMessageMaker> TakeAnalyzerEncryptedMessageMaker ()
Defined at line 93 of file ../../third_party/cobalt/src/public/cobalt_config.h