RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Struct which represents the container to use when launching a containerized job. More...
#include <Job.hpp>
Public Member Functions | |
json::Object | toJson () const |
Converts this Container to a JSON object which represents it. More... | |
Static Public Member Functions | |
static Error | fromJson (const json::Object &in_json, Container &out_container) |
Constructs a Container from a JSON object which represents the container. More... | |
Public Attributes | |
std::string | Image |
Optional< int > | RunAsUserId |
Optional< int > | RunAsGroupId |
std::vector< int > | SupplementalGroupIds |
Struct which represents the container to use when launching a containerized job.
|
static |
json::Object rstudio::launcher_plugins::api::Container::toJson | ( | ) | const |
std::string rstudio::launcher_plugins::api::Container::Image |
The name of the image to use.
Optional<int> rstudio::launcher_plugins::api::Container::RunAsGroupId |
The optional group ID to run the container as.
Optional<int> rstudio::launcher_plugins::api::Container::RunAsUserId |
The optional user ID to run the container as.
std::vector<int> rstudio::launcher_plugins::api::Container::SupplementalGroupIds |
The optional set of supplemental group IDs for the run-as user, to pass to the container on launch.