compose-viz/compose_viz/models/device.py

18 lines
488 B
Python
Raw Normal View History

2022-06-06 18:41:15 +02:00
class Device:
def __init__(self, host_path: str, container_path: str, cgroup_permissions: str = None):
self._host_path = host_path
self._container_path = container_path
self._cgroup_permissions = cgroup_permissions
@property
def host_path(self):
return self._host_path
@property
def container_path(self):
return self._container_path
@property
def cgroup_permissions(self):
return self._cgroup_permissions