RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Represents an Azure File Mount Source. More...
#include <Job.hpp>
Static Public Member Functions | |
static Error | fromJson (const json::Object &in_json, AzureFileMountSource &out_mountSource) |
Constructs an AzureMountSource 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 an Azure File Mount Source.
|
static |
Constructs an AzureMountSource 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::string rstudio::launcher_plugins::api::AzureFileMountSource::getSecretName | ( | ) | const |
std::string rstudio::launcher_plugins::api::AzureFileMountSource::getShareName | ( | ) | const |
Gets the name of the share in Azure to be mounted.
std::logic_error | if the 'shareName' field cannot be found. |