-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdrivermetadata.xml
More file actions
executable file
·39 lines (34 loc) · 2.83 KB
/
drivermetadata.xml
File metadata and controls
executable file
·39 lines (34 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<Driver Name="DockerHostDriver" Version="1.0.0" MainClass="dockerhostdriver.DockerHostDriver" Description="driver description">
<Layout>
<Category Name="Management">
<Command Description="Get stdout and stderr logs from the app container" DisplayName="Show logs" Name="show_logs" Tags="remote_management,allow_shared" />
<Command Description="Get more detailed information about the container" DisplayName="Inspect" Name="inspect" Tags="remote_management,allow_shared" />
<Command Name="destroy" DisplayName="Destroy container" Description="Stop and delete the app" Tags="remote_virtualization,allow_shared"/>
<Command Name="power_on" DisplayName="Power On" Description="an example command" Tags="allow_unreserved">
<Parameters>
<Parameter Name="vm_uuid" Type="String" Mandatory = "True" DefaultValue="" DisplayName="image" Description=""/>
<Parameter Name="resource_fullname" Type="String" Mandatory = "True" DefaultValue="s" DisplayName="image" Description=""/>
</Parameters>
</Command>
</Category>
<Category Name="Hidden Commands">
<Command Description="Delete the VM only (internal command)" DisplayName="" Name="destroy_vm_only" Tags="remote_app_management,allow_shared" />
<Command Name="deploy_image" DisplayName="Deploy Image" Description="Deploys a docker container from image" Tags="allow_unreserved">
<Parameters>
<Parameter Name="app_name" Type="String" Mandatory = "True" DefaultValue="" DisplayName="app_name" Description=""/>
<Parameter Name="image" Type="String" Mandatory = "True" DefaultValue="" DisplayName="image" Description=""/>
<Parameter Name="env" Type="String" Mandatory = "True" DefaultValue="" DisplayName="env" Description=""/>
<Parameter Name="port_config" Type="String" Mandatory = "True" DefaultValue="" DisplayName="port_config" Description=""/>
</Parameters>
</Command>
<Command Description="Inspects the app and updates its IP address in CloudShell"
DisplayName="Refresh Ip" Name="remote_refresh_ip" Tags="remote_connectivity,allow_shared" />
</Category>
<Category Name="Power">
<Command Description="Powers on (starts) the container" DisplayName="Power On" Name="PowerOn" Tags="power" />
<Command Description="Powers off (stops) the container" DisplayName="Power Off" Name="PowerOff" Tags="power,allow_shared" />
<Command Description="Stops and then starts the container again" DisplayName="Power Cycle" Name="PowerCycle" Tags="power" />
</Category>
</Layout>
</Driver>