python3-cyberfusion-queue-support 4.0.1__tar.gz → 4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/PKG-INFO +1 -1
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/pyproject.toml +1 -1
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/__init__.py +1 -1
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/__init__.py +7 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/chmod.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/chown.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/command.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/copy.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/database_create.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/database_drop.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/database_user_drop.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/database_user_ensure_state.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/database_user_grant_grant.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/database_user_grant_revoke.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/mkdir.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/move.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/rmtree.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_daemon_reload.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_tmp_files_create.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_unit_disable.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_unit_enable.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_unit_reload.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_unit_restart.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_unit_start.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/systemd_unit_stop.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/items/unlink.py +2 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/python3_cyberfusion_queue_support.egg-info/PKG-INFO +1 -1
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/README.md +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/setup.cfg +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/database.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/encoders.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/enums.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/exceptions/__init__.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/interfaces.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/__init__.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/env.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/03d4e411c575_add_fail_silently.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/19e77347a42d_queue_items_add_started_ended__at.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/2f4316506856_add_cascade_deletes.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/52d1b17abcd0_add_status.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/571e55ab5ed5_initial_migration.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/8023b9eecdd1_add_traceback_to_queue_items.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/8406a0af7394_set_status_on_existing_queue_processes.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/93c79cb2baba_add_indexes.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/9ae29b5db790_add_string_to_queue_item_outcomes.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/migrations/versions/__init__.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/outcomes.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/scripts/__init__.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/scripts/purge_queues.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/sentinels.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/settings.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/cyberfusion/QueueSupport/utilities.py +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/python3_cyberfusion_queue_support.egg-info/SOURCES.txt +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/python3_cyberfusion_queue_support.egg-info/dependency_links.txt +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/python3_cyberfusion_queue_support.egg-info/entry_points.txt +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/python3_cyberfusion_queue_support.egg-info/requires.txt +0 -0
- {python3_cyberfusion_queue_support-4.0.1 → python3_cyberfusion_queue_support-4.1}/src/python3_cyberfusion_queue_support.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-cyberfusion-queue-support
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.1
|
|
4
4
|
Summary: Library to queue actions.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-queue-support
|
|
@@ -19,11 +19,13 @@ class _Item(ItemInterface, ABC):
|
|
|
19
19
|
reference: Optional[str] = None,
|
|
20
20
|
hide_outcomes: bool = False,
|
|
21
21
|
fail_silently: bool = False,
|
|
22
|
+
fulfill_in_preview: bool = False,
|
|
22
23
|
) -> None: # pragma: no cover
|
|
23
24
|
"""Set attributes."""
|
|
24
25
|
self._reference = reference
|
|
25
26
|
self._hide_outcomes = hide_outcomes
|
|
26
27
|
self._fail_silently = fail_silently
|
|
28
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
27
29
|
|
|
28
30
|
@property
|
|
29
31
|
def hide_outcomes(self) -> bool:
|
|
@@ -35,6 +37,11 @@ class _Item(ItemInterface, ABC):
|
|
|
35
37
|
"""Get if queue process should be stopped on exception."""
|
|
36
38
|
return self._fail_silently
|
|
37
39
|
|
|
40
|
+
@property
|
|
41
|
+
def fulfill_in_preview(self) -> bool:
|
|
42
|
+
"""Get if item should be fulfilled even in preview mode."""
|
|
43
|
+
return self._fulfill_in_preview
|
|
44
|
+
|
|
38
45
|
@property
|
|
39
46
|
def reference(self) -> Optional[str]:
|
|
40
47
|
"""Get free-form reference, for users' own administrations."""
|
|
@@ -23,6 +23,7 @@ class ChmodItem(_Item):
|
|
|
23
23
|
reference: Optional[str] = None,
|
|
24
24
|
hide_outcomes: bool = False,
|
|
25
25
|
fail_silently: bool = False,
|
|
26
|
+
fulfill_in_preview: bool = False,
|
|
26
27
|
) -> None:
|
|
27
28
|
"""Set attributes."""
|
|
28
29
|
self.path = path
|
|
@@ -30,6 +31,7 @@ class ChmodItem(_Item):
|
|
|
30
31
|
self._reference = reference
|
|
31
32
|
self._hide_outcomes = hide_outcomes
|
|
32
33
|
self._fail_silently = fail_silently
|
|
34
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
33
35
|
|
|
34
36
|
if os.path.islink(self.path):
|
|
35
37
|
raise PathIsSymlinkError(self.path)
|
|
@@ -40,6 +40,7 @@ class ChownItem(_Item):
|
|
|
40
40
|
reference: Optional[str] = None,
|
|
41
41
|
hide_outcomes: bool = False,
|
|
42
42
|
fail_silently: bool = False,
|
|
43
|
+
fulfill_in_preview: bool = False,
|
|
43
44
|
) -> None:
|
|
44
45
|
"""Set attributes."""
|
|
45
46
|
self.path = path
|
|
@@ -48,6 +49,7 @@ class ChownItem(_Item):
|
|
|
48
49
|
self._reference = reference
|
|
49
50
|
self._hide_outcomes = hide_outcomes
|
|
50
51
|
self._fail_silently = fail_silently
|
|
52
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
51
53
|
|
|
52
54
|
if os.path.islink(self.path):
|
|
53
55
|
raise PathIsSymlinkError(self.path)
|
|
@@ -21,12 +21,14 @@ class CommandItem(_Item):
|
|
|
21
21
|
reference: Optional[str] = None,
|
|
22
22
|
hide_outcomes: bool = False,
|
|
23
23
|
fail_silently: bool = False,
|
|
24
|
+
fulfill_in_preview: bool = False,
|
|
24
25
|
) -> None:
|
|
25
26
|
"""Set attributes."""
|
|
26
27
|
self.command = command
|
|
27
28
|
self._reference = reference
|
|
28
29
|
self._hide_outcomes = hide_outcomes
|
|
29
30
|
self._fail_silently = fail_silently
|
|
31
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
30
32
|
|
|
31
33
|
@property
|
|
32
34
|
def outcomes(self) -> List[CommandItemRunOutcome]:
|
|
@@ -24,6 +24,7 @@ class CopyItem(_Item):
|
|
|
24
24
|
reference: Optional[str] = None,
|
|
25
25
|
hide_outcomes: bool = False,
|
|
26
26
|
fail_silently: bool = False,
|
|
27
|
+
fulfill_in_preview: bool = False,
|
|
27
28
|
) -> None:
|
|
28
29
|
"""Set attributes."""
|
|
29
30
|
self.source = source
|
|
@@ -31,6 +32,7 @@ class CopyItem(_Item):
|
|
|
31
32
|
self._reference = reference
|
|
32
33
|
self._hide_outcomes = hide_outcomes
|
|
33
34
|
self._fail_silently = fail_silently
|
|
35
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
34
36
|
|
|
35
37
|
if os.path.islink(self.source):
|
|
36
38
|
raise PathIsSymlinkError(self.source)
|
|
@@ -23,6 +23,7 @@ class DatabaseCreateItem(_Item):
|
|
|
23
23
|
reference: Optional[str] = None,
|
|
24
24
|
hide_outcomes: bool = False,
|
|
25
25
|
fail_silently: bool = False,
|
|
26
|
+
fulfill_in_preview: bool = False,
|
|
26
27
|
) -> None:
|
|
27
28
|
"""Set attributes."""
|
|
28
29
|
self.server_software_name = server_software_name
|
|
@@ -30,6 +31,7 @@ class DatabaseCreateItem(_Item):
|
|
|
30
31
|
self._reference = reference
|
|
31
32
|
self._hide_outcomes = hide_outcomes
|
|
32
33
|
self._fail_silently = fail_silently
|
|
34
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
33
35
|
|
|
34
36
|
self.database = Database(
|
|
35
37
|
support=DatabaseSupport(server_software_names=[self.server_software_name]),
|
|
@@ -23,6 +23,7 @@ class DatabaseDropItem(_Item):
|
|
|
23
23
|
reference: Optional[str] = None,
|
|
24
24
|
hide_outcomes: bool = False,
|
|
25
25
|
fail_silently: bool = False,
|
|
26
|
+
fulfill_in_preview: bool = False,
|
|
26
27
|
) -> None:
|
|
27
28
|
"""Set attributes."""
|
|
28
29
|
self.server_software_name = server_software_name
|
|
@@ -30,6 +31,7 @@ class DatabaseDropItem(_Item):
|
|
|
30
31
|
self._reference = reference
|
|
31
32
|
self._hide_outcomes = hide_outcomes
|
|
32
33
|
self._fail_silently = fail_silently
|
|
34
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
33
35
|
|
|
34
36
|
self.database = Database(
|
|
35
37
|
support=DatabaseSupport(server_software_names=[self.server_software_name]),
|
|
@@ -28,6 +28,7 @@ class DatabaseUserDropItem(_Item):
|
|
|
28
28
|
reference: Optional[str] = None,
|
|
29
29
|
hide_outcomes: bool = False,
|
|
30
30
|
fail_silently: bool = False,
|
|
31
|
+
fulfill_in_preview: bool = False,
|
|
31
32
|
) -> None:
|
|
32
33
|
"""Set attributes."""
|
|
33
34
|
self.server_software_name = server_software_name
|
|
@@ -36,6 +37,7 @@ class DatabaseUserDropItem(_Item):
|
|
|
36
37
|
self._reference = reference
|
|
37
38
|
self._hide_outcomes = hide_outcomes
|
|
38
39
|
self._fail_silently = fail_silently
|
|
40
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
39
41
|
|
|
40
42
|
self.database_user = DatabaseUser(
|
|
41
43
|
server=Server(
|
|
@@ -30,6 +30,7 @@ class DatabaseUserEnsureStateItem(_Item):
|
|
|
30
30
|
reference: Optional[str] = None,
|
|
31
31
|
hide_outcomes: bool = False,
|
|
32
32
|
fail_silently: bool = False,
|
|
33
|
+
fulfill_in_preview: bool = False,
|
|
33
34
|
) -> None:
|
|
34
35
|
"""Set attributes."""
|
|
35
36
|
self.server_software_name = server_software_name
|
|
@@ -39,6 +40,7 @@ class DatabaseUserEnsureStateItem(_Item):
|
|
|
39
40
|
self._reference = reference
|
|
40
41
|
self._hide_outcomes = hide_outcomes
|
|
41
42
|
self._fail_silently = fail_silently
|
|
43
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
42
44
|
|
|
43
45
|
self.database_user = DatabaseUser(
|
|
44
46
|
server=Server(
|
|
@@ -32,6 +32,7 @@ class DatabaseUserGrantGrantItem(_Item):
|
|
|
32
32
|
reference: Optional[str] = None,
|
|
33
33
|
hide_outcomes: bool = False,
|
|
34
34
|
fail_silently: bool = False,
|
|
35
|
+
fulfill_in_preview: bool = False,
|
|
35
36
|
) -> None:
|
|
36
37
|
"""Set attributes."""
|
|
37
38
|
self.server_software_name = server_software_name
|
|
@@ -43,6 +44,7 @@ class DatabaseUserGrantGrantItem(_Item):
|
|
|
43
44
|
self._reference = reference
|
|
44
45
|
self._hide_outcomes = hide_outcomes
|
|
45
46
|
self._fail_silently = fail_silently
|
|
47
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
46
48
|
|
|
47
49
|
self._database = Database(
|
|
48
50
|
support=DatabaseSupport(server_software_names=[self.server_software_name]),
|
|
@@ -32,6 +32,7 @@ class DatabaseUserGrantRevokeItem(_Item):
|
|
|
32
32
|
reference: Optional[str] = None,
|
|
33
33
|
hide_outcomes: bool = False,
|
|
34
34
|
fail_silently: bool = False,
|
|
35
|
+
fulfill_in_preview: bool = False,
|
|
35
36
|
) -> None:
|
|
36
37
|
"""Set attributes."""
|
|
37
38
|
self.server_software_name = server_software_name
|
|
@@ -43,6 +44,7 @@ class DatabaseUserGrantRevokeItem(_Item):
|
|
|
43
44
|
self._reference = reference
|
|
44
45
|
self._hide_outcomes = hide_outcomes
|
|
45
46
|
self._fail_silently = fail_silently
|
|
47
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
46
48
|
|
|
47
49
|
self._database = Database(
|
|
48
50
|
support=DatabaseSupport(server_software_names=[self.server_software_name]),
|
|
@@ -25,12 +25,14 @@ class MkdirItem(_Item):
|
|
|
25
25
|
reference: Optional[str] = None,
|
|
26
26
|
hide_outcomes: bool = False,
|
|
27
27
|
fail_silently: bool = False,
|
|
28
|
+
fulfill_in_preview: bool = False,
|
|
28
29
|
) -> None:
|
|
29
30
|
"""Set attributes."""
|
|
30
31
|
self.path = path
|
|
31
32
|
self._reference = reference
|
|
32
33
|
self._hide_outcomes = hide_outcomes
|
|
33
34
|
self._fail_silently = fail_silently
|
|
35
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
34
36
|
|
|
35
37
|
@property
|
|
36
38
|
def outcomes(self) -> List[MkdirItemCreateOutcome]:
|
|
@@ -23,6 +23,7 @@ class MoveItem(_Item):
|
|
|
23
23
|
reference: Optional[str] = None,
|
|
24
24
|
hide_outcomes: bool = False,
|
|
25
25
|
fail_silently: bool = False,
|
|
26
|
+
fulfill_in_preview: bool = False,
|
|
26
27
|
) -> None:
|
|
27
28
|
"""Set attributes."""
|
|
28
29
|
self.source = source
|
|
@@ -30,6 +31,7 @@ class MoveItem(_Item):
|
|
|
30
31
|
self._reference = reference
|
|
31
32
|
self._hide_outcomes = hide_outcomes
|
|
32
33
|
self._fail_silently = fail_silently
|
|
34
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
33
35
|
|
|
34
36
|
if os.path.islink(self.source):
|
|
35
37
|
raise PathIsSymlinkError(self.source)
|
|
@@ -24,12 +24,14 @@ class RmTreeItem(_Item):
|
|
|
24
24
|
reference: Optional[str] = None,
|
|
25
25
|
hide_outcomes: bool = False,
|
|
26
26
|
fail_silently: bool = False,
|
|
27
|
+
fulfill_in_preview: bool = False,
|
|
27
28
|
) -> None:
|
|
28
29
|
"""Set attributes."""
|
|
29
30
|
self.path = path
|
|
30
31
|
self._reference = reference
|
|
31
32
|
self._hide_outcomes = hide_outcomes
|
|
32
33
|
self._fail_silently = fail_silently
|
|
34
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
33
35
|
|
|
34
36
|
if os.path.islink(self.path):
|
|
35
37
|
raise PathIsSymlinkError(self.path)
|
|
@@ -22,11 +22,13 @@ class SystemdDaemonReloadItem(_Item):
|
|
|
22
22
|
reference: Optional[str] = None,
|
|
23
23
|
hide_outcomes: bool = False,
|
|
24
24
|
fail_silently: bool = False,
|
|
25
|
+
fulfill_in_preview: bool = False,
|
|
25
26
|
) -> None:
|
|
26
27
|
"""Set attributes."""
|
|
27
28
|
self._reference = reference
|
|
28
29
|
self._hide_outcomes = hide_outcomes
|
|
29
30
|
self._fail_silently = fail_silently
|
|
31
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
30
32
|
|
|
31
33
|
@property
|
|
32
34
|
def outcomes(self) -> List[SystemdDaemonReloadItemReloadOutcome]:
|
|
@@ -22,12 +22,14 @@ class SystemdTmpFilesCreateItem(_Item):
|
|
|
22
22
|
reference: Optional[str] = None,
|
|
23
23
|
hide_outcomes: bool = False,
|
|
24
24
|
fail_silently: bool = False,
|
|
25
|
+
fulfill_in_preview: bool = False,
|
|
25
26
|
) -> None:
|
|
26
27
|
"""Set attributes."""
|
|
27
28
|
self.path = path
|
|
28
29
|
self._reference = reference
|
|
29
30
|
self._hide_outcomes = hide_outcomes
|
|
30
31
|
self._fail_silently = fail_silently
|
|
32
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
31
33
|
|
|
32
34
|
@property
|
|
33
35
|
def outcomes(self) -> List[SystemdTmpFilesCreateItemCreateOutcome]:
|
|
@@ -22,12 +22,14 @@ class SystemdUnitDisableItem(_Item):
|
|
|
22
22
|
reference: Optional[str] = None,
|
|
23
23
|
hide_outcomes: bool = False,
|
|
24
24
|
fail_silently: bool = False,
|
|
25
|
+
fulfill_in_preview: bool = False,
|
|
25
26
|
) -> None:
|
|
26
27
|
"""Set attributes."""
|
|
27
28
|
self.name = name
|
|
28
29
|
self._reference = reference
|
|
29
30
|
self._hide_outcomes = hide_outcomes
|
|
30
31
|
self._fail_silently = fail_silently
|
|
32
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
31
33
|
|
|
32
34
|
self.unit = Unit(self.name)
|
|
33
35
|
|
|
@@ -22,12 +22,14 @@ class SystemdUnitEnableItem(_Item):
|
|
|
22
22
|
reference: Optional[str] = None,
|
|
23
23
|
hide_outcomes: bool = False,
|
|
24
24
|
fail_silently: bool = False,
|
|
25
|
+
fulfill_in_preview: bool = False,
|
|
25
26
|
) -> None:
|
|
26
27
|
"""Set attributes."""
|
|
27
28
|
self.name = name
|
|
28
29
|
self._reference = reference
|
|
29
30
|
self._hide_outcomes = hide_outcomes
|
|
30
31
|
self._fail_silently = fail_silently
|
|
32
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
31
33
|
|
|
32
34
|
self.unit = Unit(self.name)
|
|
33
35
|
|
|
@@ -22,12 +22,14 @@ class SystemdUnitReloadItem(_Item):
|
|
|
22
22
|
reference: Optional[str] = None,
|
|
23
23
|
hide_outcomes: bool = False,
|
|
24
24
|
fail_silently: bool = False,
|
|
25
|
+
fulfill_in_preview: bool = False,
|
|
25
26
|
) -> None:
|
|
26
27
|
"""Set attributes."""
|
|
27
28
|
self.name = name
|
|
28
29
|
self._reference = reference
|
|
29
30
|
self._hide_outcomes = hide_outcomes
|
|
30
31
|
self._fail_silently = fail_silently
|
|
32
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
31
33
|
|
|
32
34
|
self.unit = Unit(self.name)
|
|
33
35
|
|
|
@@ -22,12 +22,14 @@ class SystemdUnitRestartItem(_Item):
|
|
|
22
22
|
reference: Optional[str] = None,
|
|
23
23
|
hide_outcomes: bool = False,
|
|
24
24
|
fail_silently: bool = False,
|
|
25
|
+
fulfill_in_preview: bool = False,
|
|
25
26
|
) -> None:
|
|
26
27
|
"""Set attributes."""
|
|
27
28
|
self.name = name
|
|
28
29
|
self._reference = reference
|
|
29
30
|
self._hide_outcomes = hide_outcomes
|
|
30
31
|
self._fail_silently = fail_silently
|
|
32
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
31
33
|
|
|
32
34
|
self.unit = Unit(self.name)
|
|
33
35
|
|
|
@@ -22,12 +22,14 @@ class SystemdUnitStartItem(_Item):
|
|
|
22
22
|
reference: Optional[str] = None,
|
|
23
23
|
hide_outcomes: bool = False,
|
|
24
24
|
fail_silently: bool = False,
|
|
25
|
+
fulfill_in_preview: bool = False,
|
|
25
26
|
) -> None:
|
|
26
27
|
"""Set attributes."""
|
|
27
28
|
self.name = name
|
|
28
29
|
self._reference = reference
|
|
29
30
|
self._hide_outcomes = hide_outcomes
|
|
30
31
|
self._fail_silently = fail_silently
|
|
32
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
31
33
|
|
|
32
34
|
self.unit = Unit(self.name)
|
|
33
35
|
|
|
@@ -20,12 +20,14 @@ class SystemdUnitStopItem(_Item):
|
|
|
20
20
|
reference: Optional[str] = None,
|
|
21
21
|
hide_outcomes: bool = False,
|
|
22
22
|
fail_silently: bool = False,
|
|
23
|
+
fulfill_in_preview: bool = False,
|
|
23
24
|
) -> None:
|
|
24
25
|
"""Set attributes."""
|
|
25
26
|
self.name = name
|
|
26
27
|
self._reference = reference
|
|
27
28
|
self._hide_outcomes = hide_outcomes
|
|
28
29
|
self._fail_silently = fail_silently
|
|
30
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
29
31
|
|
|
30
32
|
self.unit = Unit(self.name)
|
|
31
33
|
|
|
@@ -21,12 +21,14 @@ class UnlinkItem(_Item):
|
|
|
21
21
|
reference: Optional[str] = None,
|
|
22
22
|
hide_outcomes: bool = False,
|
|
23
23
|
fail_silently: bool = False,
|
|
24
|
+
fulfill_in_preview: bool = False,
|
|
24
25
|
) -> None:
|
|
25
26
|
"""Set attributes."""
|
|
26
27
|
self.path = path
|
|
27
28
|
self._reference = reference
|
|
28
29
|
self._hide_outcomes = hide_outcomes
|
|
29
30
|
self._fail_silently = fail_silently
|
|
31
|
+
self._fulfill_in_preview = fulfill_in_preview
|
|
30
32
|
|
|
31
33
|
if os.path.islink(self.path):
|
|
32
34
|
raise PathIsSymlinkError(self.path)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-cyberfusion-queue-support
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.1
|
|
4
4
|
Summary: Library to queue actions.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-queue-support
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|