Dobby  3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
MountProperties.h
1 /*
2 * If not stated otherwise in this file or this component's LICENSE file the
3 * following copyright and licenses apply:
4 *
5 * Copyright 2022 Sky UK
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 /*
20  * File: MountProperties.h
21  *
22  */
23 #ifndef MOUNTPROPERTIES_H
24 #define MOUNTPROPERTIES_H
25 
26 #include <sys/types.h>
27 #include <string>
28 #include <list>
29 
30 
34 typedef struct _LoopMountProperties
35 {
36  std::string fsImagePath;
37  std::string fsImageType;
38  std::string destination;
39  std::list<std::string> mountOptions;
40  unsigned long mountFlags;
41  bool persistent;
42  int imgSize;
43  bool imgManagement;
44 
46 
51 {
52  std::string source;
53  std::string destination;
54  std::list<std::string> mountOptions;
55  unsigned long mountFlags;
56 
58 
62 typedef struct _MountOwnerProperties
63 {
64  std::string source;
65  std::string user;
66  std::string group;
67  bool recursive;
68 
70 
71 #endif // !defined(MOUNTPROPERTIES_H)
DynamicMountProperties struct used for Storage plugin.
Definition: MountProperties.h:51
LoopMountProperties struct used for Storage plugin.
Definition: MountProperties.h:35
MountOwnerProperties struct used for Storage plugin.
Definition: MountProperties.h:63