2017-05-23 18:56:10 +00:00
|
|
|
<rd-header>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-header-title title-text="Volume details"></rd-header-title>
|
2017-05-23 18:56:10 +00:00
|
|
|
<rd-header-content>
|
2018-02-01 12:27:52 +00:00
|
|
|
<a ui-sref="docker.volumes">Volumes</a> > <a ui-sref="docker.volumes.volume({id: volume.Id})">{{ volume.Id }}</a>
|
2017-05-23 18:56:10 +00:00
|
|
|
</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
|
|
|
<div class="row" ng-if="volume">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<rd-widget>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-widget-header icon="fa-cube" title-text="Volume details"></rd-widget-header>
|
2017-05-23 18:56:10 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>ID</td>
|
|
|
|
<td>
|
|
|
|
{{ volume.Id }}
|
2020-04-10 21:54:53 +00:00
|
|
|
<button authorization="DockerVolumeDelete" class="btn btn-xs btn-danger" ng-click="removeVolume()"
|
|
|
|
><i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove this volume</button
|
|
|
|
>
|
2017-05-23 18:56:10 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2019-02-28 22:59:11 +00:00
|
|
|
<tr>
|
|
|
|
<td>Created</td>
|
|
|
|
<td>{{ volume.CreatedAt | getisodate }}</td>
|
|
|
|
</tr>
|
2017-05-23 18:56:10 +00:00
|
|
|
<tr>
|
|
|
|
<td>Mount path</td>
|
|
|
|
<td>{{ volume.Mountpoint }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Driver</td>
|
|
|
|
<td>{{ volume.Driver }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-if="!(volume.Labels | emptyobject)">
|
|
|
|
<td>Labels</td>
|
|
|
|
<td>
|
|
|
|
<table class="table table-bordered table-condensed">
|
|
|
|
<tr ng-repeat="(k, v) in volume.Labels">
|
|
|
|
<td>{{ k }}</td>
|
|
|
|
<td>{{ v }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-05-24 21:53:10 +00:00
|
|
|
<div class="row" ng-if="isCioDriver">
|
|
|
|
<div class="col-sm-12">
|
2020-04-10 21:54:53 +00:00
|
|
|
<volume-storidge-info volume="storidgeVolume"> </volume-storidge-info>
|
2019-05-24 21:53:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row" ng-if="isCioDriver">
|
|
|
|
<div class="col-sm-12">
|
2020-04-10 21:54:53 +00:00
|
|
|
<storidge-snapshot-creation volume-id="storidgeVolume.Vdisk" ng-if="storidgeVolume.SnapshotEnabled"> </storidge-snapshot-creation>
|
2019-05-24 21:53:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row" ng-if="isCioDriver && storidgeVolume.SnapshotEnabled">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<storidge-snapshots-datatable
|
2020-04-10 21:54:53 +00:00
|
|
|
title-text="Snapshots"
|
|
|
|
title-icon="fa-camera"
|
|
|
|
dataset="storidgeSnapshots"
|
|
|
|
table-key="storidgeSnapshots"
|
2019-05-24 21:53:10 +00:00
|
|
|
order-by="Id"
|
2020-04-10 21:54:53 +00:00
|
|
|
remove-action="removeSnapshot"
|
|
|
|
>
|
2019-05-24 21:53:10 +00:00
|
|
|
</storidge-snapshots-datatable>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-07-12 07:51:51 +00:00
|
|
|
<!-- access-control-panel -->
|
2020-06-09 09:55:36 +00:00
|
|
|
<por-access-control-panel ng-if="volume" resource-id="volume.Id" resource-control="volume.ResourceControl" resource-type="'volume'"> </por-access-control-panel>
|
2017-07-12 07:51:51 +00:00
|
|
|
<!-- !access-control-panel -->
|
2017-05-23 18:56:10 +00:00
|
|
|
|
|
|
|
<div class="row" ng-if="!(volume.Options | emptyobject)">
|
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-widget-header icon="fa-cogs" title-text="Volume options"></rd-widget-header>
|
2017-05-23 18:56:10 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="(key, value) in volume.Options">
|
|
|
|
<td>{{ key }}</td>
|
|
|
|
<td>{{ value }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-17 06:45:19 +00:00
|
|
|
<div class="row" ng-if="containersUsingVolume.length > 0">
|
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
2020-06-22 23:46:56 +00:00
|
|
|
<rd-widget-header icon="fa-cubes" title-text="Containers using volume"></rd-widget-header>
|
2017-10-17 06:45:19 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<th>Container Name</th>
|
|
|
|
<th>Mounted At</th>
|
|
|
|
<th>Read-only</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="container in containersUsingVolume">
|
2020-04-10 21:54:53 +00:00
|
|
|
<td
|
|
|
|
><a ui-sref="docker.containers.container({ id: container.Id, nodeName: container.NodeName })">{{ container | containername }}</a></td
|
|
|
|
>
|
2017-10-17 06:45:19 +00:00
|
|
|
<td>{{ container.volumeData.Destination }}</td>
|
|
|
|
<td>{{ !container.volumeData.RW }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|