Beamable SDK
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
Beamable.Server.Editor.DockerCommands.RunStorageToolCommand Class Reference
Inheritance diagram for Beamable.Server.Editor.DockerCommands.RunStorageToolCommand:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Server.Editor.DockerCommands.RunStorageToolCommand:
Collaboration graph
[legend]

Public Member Functions

 RunStorageToolCommand (StorageObjectDescriptor storage)
 
- Public Member Functions inherited from Beamable.Server.Editor.DockerCommands.RunImageCommand
 RunImageCommand (string imageName, string containerName, IDescriptor descriptor, Dictionary< string, string > env=null, Dictionary< uint, uint > ports=null, Dictionary< string, string > namedVolumes=null, List< BindMount > bindMounts=null)
 
string GetEnvironmentString ()
 
override string GetCommandString ()
 
override void Start ()
 
- Public Member Functions inherited from Beamable.Server.Editor.DockerCommands.DockerCommand
void Join ()
 
void Kill ()
 

Public Attributes

readonly string[] FAILURE_STRINGS
 
- Public Attributes inherited from Beamable.Server.Editor.DockerCommands.RunImageCommand
Action< string > OnStandardOut
 
Action< string > OnStandardErr
 
- Public Attributes inherited from Beamable.Server.Editor.DockerCommands.DockerCommand
Action< int > OnExit
 
string UnityLogLabel = "Docker"
 

Static Public Attributes

const string ENV_CODE_THEME = "ME_CONFIG_OPTIONS_EDITORTHEME"
 
const string ENV_MONGO_SERVER = "ME_CONFIG_MONGODB_URL"
 
const string ENV_ME_CONFIG_MONGODB_ENABLE_ADMIN = "ME_CONFIG_MONGODB_ENABLE_ADMIN"
 
const string ENV_ME_CONFIG_SITE_COOKIESECRET = "ME_CONFIG_SITE_COOKIESECRET"
 
const string ENV_ME_CONFIG_SITE_SESSIONSECRET = "ME_CONFIG_SITE_SESSIONSECRET"
 
const string RUNNING_STRING = "Mongo Express server listening at http://0.0.0.0:8081"
 

Protected Member Functions

override void HandleOnExit ()
 
- Protected Member Functions inherited from Beamable.Server.Editor.DockerCommands.RunImageCommand
override void HandleStandardOut (string data)
 
override void HandleStandardErr (string data)
 
virtual string GetCustomDockerFlags ()
 
virtual string GetArgString ()
 
- Protected Member Functions inherited from Beamable.Server.Editor.DockerCommands.DockerCommand
void LogInfo (string data)
 
void LogError (string data)
 
virtual void ModifyStartInfo (ProcessStartInfo processStartInfo)
 

Properties

Promise< bool > IsAvailable = new Promise<bool>() [get]
 
- Properties inherited from Beamable.Server.Editor.DockerCommands.RunImageCommand
string ImageName [getset]
 
string ContainerName [getset]
 
Dictionary< string, string > Environment [getprotected set]
 
Dictionary< uint, uint > Ports [getprotected set]
 
Dictionary< string, string > NamedVolumes [getprotected set]
 
List< BindMountBindMounts [getprotected set]
 
- Properties inherited from Beamable.Server.Editor.DockerCommands.DockerCommand
static bool DockerNotInstalled [getprotected set]
 
static bool DockerNotRunning [getset]
 
virtual bool DockerRequired [get]
 
string DockerCmd [get]
 
bool WriteLogToUnity [getset]
 
bool WriteCommandToUnity [getset]
 

Additional Inherited Members

- Static Public Member Functions inherited from Beamable.Server.Editor.DockerCommands.DockerCommand
static void ClearDockerInstallFlag ()
 
static void CheckDockerAppRunning ()
 
static bool RunDockerProcess ()
 
- Protected Attributes inherited from Beamable.Server.Editor.DockerCommands.DockerCommand
int _exitCode = -1
 

Member Function Documentation

◆ HandleOnExit()

override void Beamable.Server.Editor.DockerCommands.RunStorageToolCommand.HandleOnExit ( )
inlineprotectedvirtual

Member Data Documentation

◆ FAILURE_STRINGS

readonly string [] Beamable.Server.Editor.DockerCommands.RunStorageToolCommand.FAILURE_STRINGS
Initial value:
= new string[]
{
"AuthenticationFailed",
"UnhandledPromiseRejectionWarning",
"process with a non-zero exit code"
}

The documentation for this class was generated from the following file: