Dobby
3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
|
A wrapper around a std::string, used to add some type definition to to an id and also to sanity check the characters that make up a container id. More...
#include <ContainerId.h>
Public Member Functions | |
ContainerId (ContainerId &&)=default | |
ContainerId (const ContainerId &)=default | |
ContainerId & | operator= (const ContainerId &)=default |
ContainerId & | operator= (ContainerId &&)=default |
bool | isValid () const |
const std::string & | str () const |
const char * | c_str () const |
bool | operator== (const ContainerId &rhs) const |
bool | operator!= (const ContainerId &rhs) const |
bool | operator< (const ContainerId &rhs) const |
bool | operator> (const ContainerId &rhs) const |
Static Public Member Functions | |
static ContainerId | create (const std::string &s) |
static ContainerId | create (const char *s) |
static ContainerId | create (const char *s, size_t n) |
Private Attributes | |
std::string | mId |
A wrapper around a std::string, used to add some type definition to to an id and also to sanity check the characters that make up a container id.
This class is modelled on the AICommon::AppId, however wanted to distinguish because this daemon can be used to launch non-app processes.