RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Struct which represents an exposed port on a containerized job. More...
#include <Job.hpp>
Public Member Functions | |
json::Object | toJson () const |
Converts this ExposedPort to a JSON object which represents it. More... | |
Static Public Member Functions | |
static Error | fromJson (const json::Object &in_json, ExposedPort &out_exposedPort) |
Constructs an ExposedPort from a JSON object which represents the exposed port. More... | |
Public Attributes | |
Optional< int > | PublishedPort |
std::string | Protocol |
int | TargetPort |
Struct which represents an exposed port on a containerized job.
|
static |
Constructs an ExposedPort from a JSON object which represents the exposed port.
in_json | The JSON object which represents the exposed port. |
out_exposedPort | The populated exposed port value. Not valid if an error is returned. |
json::Object rstudio::launcher_plugins::api::ExposedPort::toJson | ( | ) | const |
Converts this ExposedPort to a JSON object which represents it.
std::string rstudio::launcher_plugins::api::ExposedPort::Protocol |
The protocol of the port.
Optional<int> rstudio::launcher_plugins::api::ExposedPort::PublishedPort |
The published port.
int rstudio::launcher_plugins::api::ExposedPort::TargetPort |
The target port.