Android-cuttlefish cvd tool
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cuttlefish::LinuxEspBuilder Class Referencefinal

#include <esp.h>

Collaboration diagram for cuttlefish::LinuxEspBuilder:
Collaboration graph
[legend]

Public Member Functions

 LinuxEspBuilder ()=delete
 
 LinuxEspBuilder (std::string image_path)
 
LinuxEspBuilderArgument (std::string key, std::string value) &
 
LinuxEspBuilderArgument (std::string value) &
 
LinuxEspBuilderRoot (std::string root) &
 
LinuxEspBuilderKernel (std::string kernel) &
 
LinuxEspBuilderInitrd (std::string initrd) &
 
LinuxEspBuilderArchitecture (Arch arch) &
 
bool Build () const
 

Private Member Functions

std::string DumpConfig () const
 

Private Attributes

const std::string image_path_
 
std::vector< std::pair< std::string, std::string > > arguments_
 
std::vector< std::string > single_arguments_
 
std::string root_
 
std::string kernel_
 
std::string initrd_
 
std::optional< Archarch_
 

Constructor & Destructor Documentation

◆ LinuxEspBuilder() [1/2]

cuttlefish::LinuxEspBuilder::LinuxEspBuilder ( )
delete

◆ LinuxEspBuilder() [2/2]

cuttlefish::LinuxEspBuilder::LinuxEspBuilder ( std::string  image_path)
inline

Member Function Documentation

◆ Architecture()

LinuxEspBuilder & cuttlefish::LinuxEspBuilder::Architecture ( Arch  arch) &

◆ Argument() [1/2]

LinuxEspBuilder & cuttlefish::LinuxEspBuilder::Argument ( std::string  key,
std::string  value 
) &

◆ Argument() [2/2]

LinuxEspBuilder & cuttlefish::LinuxEspBuilder::Argument ( std::string  value) &

◆ Build()

bool cuttlefish::LinuxEspBuilder::Build ( ) const

◆ DumpConfig()

std::string cuttlefish::LinuxEspBuilder::DumpConfig ( ) const
private

◆ Initrd()

LinuxEspBuilder & cuttlefish::LinuxEspBuilder::Initrd ( std::string  initrd) &

◆ Kernel()

LinuxEspBuilder & cuttlefish::LinuxEspBuilder::Kernel ( std::string  kernel) &

◆ Root()

LinuxEspBuilder & cuttlefish::LinuxEspBuilder::Root ( std::string  root) &

Member Data Documentation

◆ arch_

std::optional<Arch> cuttlefish::LinuxEspBuilder::arch_
private

◆ arguments_

std::vector<std::pair<std::string, std::string> > cuttlefish::LinuxEspBuilder::arguments_
private

◆ image_path_

const std::string cuttlefish::LinuxEspBuilder::image_path_
private

◆ initrd_

std::string cuttlefish::LinuxEspBuilder::initrd_
private

◆ kernel_

std::string cuttlefish::LinuxEspBuilder::kernel_
private

◆ root_

std::string cuttlefish::LinuxEspBuilder::root_
private

◆ single_arguments_

std::vector<std::string> cuttlefish::LinuxEspBuilder::single_arguments_
private

The documentation for this class was generated from the following files: