Android-cuttlefish cvd tool
Enumerations | Functions | Variables
cuttlefish::anonymous_namespace{load_configs_parser.cpp} Namespace Reference

Enumerations

enum  ArgValueType { UINTEGER , BOOLEAN , TEXT }
 

Functions

bool IsLocalBuild (std::string path)
 
Flag GflagsCompatFlagOverride (const std::string &name, std::vector< Override > &values)
 
bool IsUnsignedInteger (const std::string &str)
 
ArgValueType GetArgValueType (const std::string &str)
 
Json::Value OverrideToJson (const std::string &key, const std::string &leafValue)
 
std::vector< FlagGetFlagsVector (LoadFlags &load_flags)
 
void MakeAbsolute (std::string &path, const std::string &working_dir)
 
Result< Json::Value > ParseJsonFile (const std::string &file_path)
 
Result< std::vector< std::string > > GetConfiguredSystemImagePaths (const EnvironmentSpecification &config)
 
std::optional< std::string > GetConfiguredSystemHostPath (const EnvironmentSpecification &config)
 
Result< Json::Value > GetOverriddenConfig (const std::string &config_path, const std::vector< Override > &override_flags)
 
Result< LoadDirectoriesGenerateLoadDirectories (const std::string &parent_directory, std::vector< std::string > &system_image_path_configs, std::optional< std::string > system_host_path, const int num_instances)
 
std::vector< std::string > FillEmptyInstanceNames (std::vector< std::string > instance_names)
 
Result< CvdFlagsParseCvdConfigs (const EnvironmentSpecification &launch, const LoadDirectories &load_directories)
 

Variables

constexpr std::string_view kOverrideSeparator = ":"
 
constexpr std::string_view kCredentialSourceOverride
 
constexpr std::string_view kProjectIDOverride = "fetch.project_id"
 

Enumeration Type Documentation

◆ ArgValueType

enum cuttlefish::anonymous_namespace{load_configs_parser.cpp}::ArgValueType
Enumerator
UINTEGER 
BOOLEAN 
TEXT 

Function Documentation

◆ FillEmptyInstanceNames()

std::vector< std::string > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::FillEmptyInstanceNames ( std::vector< std::string >  instance_names)

◆ GenerateLoadDirectories()

Result< LoadDirectories > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::GenerateLoadDirectories ( const std::string &  parent_directory,
std::vector< std::string > &  system_image_path_configs,
std::optional< std::string >  system_host_path,
const int  num_instances 
)

◆ GetArgValueType()

ArgValueType cuttlefish::anonymous_namespace{load_configs_parser.cpp}::GetArgValueType ( const std::string &  str)

◆ GetConfiguredSystemHostPath()

std::optional< std::string > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::GetConfiguredSystemHostPath ( const EnvironmentSpecification &  config)

◆ GetConfiguredSystemImagePaths()

Result< std::vector< std::string > > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::GetConfiguredSystemImagePaths ( const EnvironmentSpecification &  config)

◆ GetFlagsVector()

std::vector< Flag > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::GetFlagsVector ( LoadFlags load_flags)

◆ GetOverriddenConfig()

Result< Json::Value > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::GetOverriddenConfig ( const std::string &  config_path,
const std::vector< Override > &  override_flags 
)

◆ GflagsCompatFlagOverride()

Flag cuttlefish::anonymous_namespace{load_configs_parser.cpp}::GflagsCompatFlagOverride ( const std::string &  name,
std::vector< Override > &  values 
)

◆ IsLocalBuild()

bool cuttlefish::anonymous_namespace{load_configs_parser.cpp}::IsLocalBuild ( std::string  path)

◆ IsUnsignedInteger()

bool cuttlefish::anonymous_namespace{load_configs_parser.cpp}::IsUnsignedInteger ( const std::string &  str)

◆ MakeAbsolute()

void cuttlefish::anonymous_namespace{load_configs_parser.cpp}::MakeAbsolute ( std::string &  path,
const std::string &  working_dir 
)

◆ OverrideToJson()

Json::Value cuttlefish::anonymous_namespace{load_configs_parser.cpp}::OverrideToJson ( const std::string &  key,
const std::string &  leafValue 
)

◆ ParseCvdConfigs()

Result< CvdFlags > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::ParseCvdConfigs ( const EnvironmentSpecification &  launch,
const LoadDirectories load_directories 
)

◆ ParseJsonFile()

Result< Json::Value > cuttlefish::anonymous_namespace{load_configs_parser.cpp}::ParseJsonFile ( const std::string &  file_path)

Variable Documentation

◆ kCredentialSourceOverride

constexpr std::string_view cuttlefish::anonymous_namespace{load_configs_parser.cpp}::kCredentialSourceOverride
constexpr
Initial value:
=
"fetch.credential_source"

◆ kOverrideSeparator

constexpr std::string_view cuttlefish::anonymous_namespace{load_configs_parser.cpp}::kOverrideSeparator = ":"
constexpr

◆ kProjectIDOverride

constexpr std::string_view cuttlefish::anonymous_namespace{load_configs_parser.cpp}::kProjectIDOverride = "fetch.project_id"
constexpr