class TargetPipelineInterface
Defined at line 27 of file ../../third_party/cobalt/src/public/cobalt_config.h
Public Methods
void TargetPipelineInterface (system_data::Environment environment)
Defined at line 29 of file ../../third_party/cobalt/src/public/cobalt_config.h
void ~TargetPipelineInterface ()
Defined at line 31 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 34 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 38 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 44 of file ../../third_party/cobalt/src/public/cobalt_config.h
std::string clearcut_endpoint ()
The URL for the desired clearcut endpoint.
Defined at line 49 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 57 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 62 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 69 of file ../../third_party/cobalt/src/public/cobalt_config.h