class FuchsiaConfigurationData

Defined at line 35 of file ../../src/cobalt/bin/app/configuration_data.h

Encapsulation of the configuration data used by Cobalt in Fuchsia.

Public Methods

void FuchsiaConfigurationData (const std::string & config_dir, const std::string & environment_dir, const std::string & build_type_dir)

Defined at line 284 of file ../../src/cobalt/bin/app/configuration_data.cc

config::Environment GetBackendEnvironment ()

Get the backend environment to write to.

Defined at line 296 of file ../../src/cobalt/bin/app/configuration_data.cc

const char * AnalyzerPublicKeyPath ()

Get the path to the public key file to use for encrypting Observations.

Defined at line 300 of file ../../src/cobalt/bin/app/configuration_data.cc

const char * ShufflerPublicKeyPath ()

Get the path to the public key file to use for encrypting Envelopes.

Defined at line 310 of file ../../src/cobalt/bin/app/configuration_data.cc

int32_t GetLogSourceId ()

Get the Clearcut Log Source ID that Cobalt should write its logs to.

Defined at line 324 of file ../../src/cobalt/bin/app/configuration_data.cc

SystemProfile_BuildType GetBuildType ()

Defined at line 328 of file ../../src/cobalt/bin/app/configuration_data.cc

cobalt::ReleaseStage GetReleaseStage ()

Defined at line 330 of file ../../src/cobalt/bin/app/configuration_data.cc

cobalt::CobaltServiceInterface::DataCollectionPolicy GetDataCollectionPolicy ()

Defined at line 332 of file ../../src/cobalt/bin/app/configuration_data.cc

bool GetWatchForUserConsent ()

Defined at line 337 of file ../../src/cobalt/bin/app/configuration_data.cc

bool GetEnableReplacementMetrics ()
std::string GetApiKey ()

Returns the cobalt API key. If it cannot be found, return the default API key.

Defined at line 339 of file ../../src/cobalt/bin/app/configuration_data.cc

void PopulateInspect (inspect::Node & inspect_node)

Defined at line 341 of file ../../src/cobalt/bin/app/configuration_data.cc