RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Represents a Ceph File System Mount Source. More...
#include <Job.hpp>
Static Public Member Functions | |
static Error | fromJson (const json::Object &in_json, CephFsMountSource &out_mountSource) |
Constructs a CephFsMountSource from a JSON object which represents the mount source. More... | |
Static Public Member Functions inherited from rstudio::launcher_plugins::api::MountSource | |
static Error | fromJson (const json::Object &in_json, MountSource &out_mountSource) |
Constructs a MountSource from a JSON object which represents the mount source. More... | |
Friends | |
class | MountSource |
Additional Inherited Members | |
Public Types inherited from rstudio::launcher_plugins::api::MountSource | |
enum | Type { Type::AZURE_FILE, Type::CEPH_FS, Type::GLUSTER_FS, Type::HOST, Type::NFS, Type::PASSTHROUGH } |
Constants representing the support types of MountSource. More... | |
Public Attributes inherited from rstudio::launcher_plugins::api::MountSource | |
std::string | CustomType |
json::Object | SourceObject |
Type | SourceType |
Represents a Ceph File System Mount Source.
|
static |
Constructs a CephFsMountSource from a JSON object which represents the mount source.
in_json | The JSON object which represents the mount source. |
out_mountSource | The populated mount source value. Not valid if an error is returned. |
std::vector<std::string> rstudio::launcher_plugins::api::CephFsMountSource::getMonitors | ( | ) | const |
Gets the list of Ceph monitor addresses.
std::logic_error | if the 'monitors' field cannot be found. |
std::string rstudio::launcher_plugins::api::CephFsMountSource::getPath | ( | ) | const |
Gets the path to mount.
std::string rstudio::launcher_plugins::api::CephFsMountSource::getSecretFile | ( | ) | const |
Gets the location of the file which contains the Ceph keyring for authentication.
std::string rstudio::launcher_plugins::api::CephFsMountSource::getSecretRef | ( | ) | const |
Gets the reference to the Ceph authentication secrets which override the Secret File.
std::string rstudio::launcher_plugins::api::CephFsMountSource::getUser | ( | ) | const |
Gets the user to mount the path as.