cribl-control-plane 0.0.23__py3-none-any.whl → 0.0.25__py3-none-any.whl
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.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/auth_sdk.py +4 -4
- cribl_control_plane/{distributed.py → deployments.py} +3 -5
- cribl_control_plane/destinations.py +36 -36
- cribl_control_plane/groups_sdk.py +222 -32
- cribl_control_plane/{health.py → healthinfo.py} +5 -7
- cribl_control_plane/{lake.py → lakedatasets.py} +21 -23
- cribl_control_plane/models/__init__.py +18 -0
- cribl_control_plane/models/createpipelineop.py +2 -2
- cribl_control_plane/models/input.py +4 -4
- cribl_control_plane/models/inputconfluentcloud.py +14 -0
- cribl_control_plane/models/inputgooglepubsub.py +14 -7
- cribl_control_plane/models/inputgrafana.py +14 -0
- cribl_control_plane/models/inputkafka.py +14 -0
- cribl_control_plane/models/inputloki.py +7 -0
- cribl_control_plane/models/inputmsk.py +14 -0
- cribl_control_plane/models/output.py +14 -14
- cribl_control_plane/models/outputconfluentcloud.py +14 -0
- cribl_control_plane/models/outputdls3.py +2 -2
- cribl_control_plane/models/outputgooglecloudstorage.py +2 -2
- cribl_control_plane/models/outputgrafanacloud.py +14 -0
- cribl_control_plane/models/outputkafka.py +14 -0
- cribl_control_plane/models/outputloki.py +14 -0
- cribl_control_plane/models/outputmsk.py +14 -0
- cribl_control_plane/models/outputs3.py +2 -2
- cribl_control_plane/models/updatepipelinebyidop.py +2 -2
- cribl_control_plane/models/updateroutesbyidop.py +2 -2
- cribl_control_plane/nodes.py +379 -0
- cribl_control_plane/packs.py +16 -16
- cribl_control_plane/pipelines.py +30 -30
- cribl_control_plane/routes_sdk.py +10 -10
- cribl_control_plane/sdk.py +15 -19
- cribl_control_plane/sources.py +28 -28
- cribl_control_plane/versioning.py +54 -54
- cribl_control_plane/workers_sdk.py +2 -370
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.25.dist-info}/METADATA +76 -76
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.25.dist-info}/RECORD +38 -38
- cribl_control_plane/teams.py +0 -203
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.25.dist-info}/WHEEL +0 -0
|
@@ -12,7 +12,7 @@ from typing import Any, List, Mapping, Optional
|
|
|
12
12
|
class Versioning(BaseSDK):
|
|
13
13
|
r"""Actions related to Versioning"""
|
|
14
14
|
|
|
15
|
-
def
|
|
15
|
+
def get_branch(
|
|
16
16
|
self,
|
|
17
17
|
*,
|
|
18
18
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -20,7 +20,7 @@ class Versioning(BaseSDK):
|
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
22
|
) -> models.GetVersionBranchResponse:
|
|
23
|
-
r"""
|
|
23
|
+
r"""List all branches in the Git repository used for Cribl configuration
|
|
24
24
|
|
|
25
25
|
get the list of branches
|
|
26
26
|
|
|
@@ -92,7 +92,7 @@ class Versioning(BaseSDK):
|
|
|
92
92
|
|
|
93
93
|
raise errors.APIError("Unexpected response received", http_res)
|
|
94
94
|
|
|
95
|
-
async def
|
|
95
|
+
async def get_branch_async(
|
|
96
96
|
self,
|
|
97
97
|
*,
|
|
98
98
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -100,7 +100,7 @@ class Versioning(BaseSDK):
|
|
|
100
100
|
timeout_ms: Optional[int] = None,
|
|
101
101
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
102
102
|
) -> models.GetVersionBranchResponse:
|
|
103
|
-
r"""
|
|
103
|
+
r"""List all branches in the Git repository used for Cribl configuration
|
|
104
104
|
|
|
105
105
|
get the list of branches
|
|
106
106
|
|
|
@@ -172,7 +172,7 @@ class Versioning(BaseSDK):
|
|
|
172
172
|
|
|
173
173
|
raise errors.APIError("Unexpected response received", http_res)
|
|
174
174
|
|
|
175
|
-
def
|
|
175
|
+
def create_commit(
|
|
176
176
|
self,
|
|
177
177
|
*,
|
|
178
178
|
message: str,
|
|
@@ -184,7 +184,7 @@ class Versioning(BaseSDK):
|
|
|
184
184
|
timeout_ms: Optional[int] = None,
|
|
185
185
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
186
186
|
) -> models.CreateVersionCommitResponse:
|
|
187
|
-
r"""
|
|
187
|
+
r"""Create a new commit for pending changes to the Cribl configuration
|
|
188
188
|
|
|
189
189
|
create a new commit containing the current configs the given log message describing the changes.
|
|
190
190
|
|
|
@@ -271,7 +271,7 @@ class Versioning(BaseSDK):
|
|
|
271
271
|
|
|
272
272
|
raise errors.APIError("Unexpected response received", http_res)
|
|
273
273
|
|
|
274
|
-
async def
|
|
274
|
+
async def create_commit_async(
|
|
275
275
|
self,
|
|
276
276
|
*,
|
|
277
277
|
message: str,
|
|
@@ -283,7 +283,7 @@ class Versioning(BaseSDK):
|
|
|
283
283
|
timeout_ms: Optional[int] = None,
|
|
284
284
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
285
285
|
) -> models.CreateVersionCommitResponse:
|
|
286
|
-
r"""
|
|
286
|
+
r"""Create a new commit for pending changes to the Cribl configuration
|
|
287
287
|
|
|
288
288
|
create a new commit containing the current configs the given log message describing the changes.
|
|
289
289
|
|
|
@@ -370,7 +370,7 @@ class Versioning(BaseSDK):
|
|
|
370
370
|
|
|
371
371
|
raise errors.APIError("Unexpected response received", http_res)
|
|
372
372
|
|
|
373
|
-
def
|
|
373
|
+
def get_file_count(
|
|
374
374
|
self,
|
|
375
375
|
*,
|
|
376
376
|
group: Optional[str] = None,
|
|
@@ -380,7 +380,7 @@ class Versioning(BaseSDK):
|
|
|
380
380
|
timeout_ms: Optional[int] = None,
|
|
381
381
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
382
382
|
) -> models.GetVersionCountResponse:
|
|
383
|
-
r"""
|
|
383
|
+
r"""Retrieve a count of files that changed since a commit
|
|
384
384
|
|
|
385
385
|
get the count of files of changed
|
|
386
386
|
|
|
@@ -460,7 +460,7 @@ class Versioning(BaseSDK):
|
|
|
460
460
|
|
|
461
461
|
raise errors.APIError("Unexpected response received", http_res)
|
|
462
462
|
|
|
463
|
-
async def
|
|
463
|
+
async def get_file_count_async(
|
|
464
464
|
self,
|
|
465
465
|
*,
|
|
466
466
|
group: Optional[str] = None,
|
|
@@ -470,7 +470,7 @@ class Versioning(BaseSDK):
|
|
|
470
470
|
timeout_ms: Optional[int] = None,
|
|
471
471
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
472
472
|
) -> models.GetVersionCountResponse:
|
|
473
|
-
r"""
|
|
473
|
+
r"""Retrieve a count of files that changed since a commit
|
|
474
474
|
|
|
475
475
|
get the count of files of changed
|
|
476
476
|
|
|
@@ -550,7 +550,7 @@ class Versioning(BaseSDK):
|
|
|
550
550
|
|
|
551
551
|
raise errors.APIError("Unexpected response received", http_res)
|
|
552
552
|
|
|
553
|
-
def
|
|
553
|
+
def get_branch_name(
|
|
554
554
|
self,
|
|
555
555
|
*,
|
|
556
556
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -558,7 +558,7 @@ class Versioning(BaseSDK):
|
|
|
558
558
|
timeout_ms: Optional[int] = None,
|
|
559
559
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
560
560
|
) -> models.GetVersionCurrentBranchResponse:
|
|
561
|
-
r"""
|
|
561
|
+
r"""Retrieve the name of the Git branch that the Cribl configuration is checked out to
|
|
562
562
|
|
|
563
563
|
returns git branch that the config is checked out to, if any
|
|
564
564
|
|
|
@@ -632,7 +632,7 @@ class Versioning(BaseSDK):
|
|
|
632
632
|
|
|
633
633
|
raise errors.APIError("Unexpected response received", http_res)
|
|
634
634
|
|
|
635
|
-
async def
|
|
635
|
+
async def get_branch_name_async(
|
|
636
636
|
self,
|
|
637
637
|
*,
|
|
638
638
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -640,7 +640,7 @@ class Versioning(BaseSDK):
|
|
|
640
640
|
timeout_ms: Optional[int] = None,
|
|
641
641
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
642
642
|
) -> models.GetVersionCurrentBranchResponse:
|
|
643
|
-
r"""
|
|
643
|
+
r"""Retrieve the name of the Git branch that the Cribl configuration is checked out to
|
|
644
644
|
|
|
645
645
|
returns git branch that the config is checked out to, if any
|
|
646
646
|
|
|
@@ -714,7 +714,7 @@ class Versioning(BaseSDK):
|
|
|
714
714
|
|
|
715
715
|
raise errors.APIError("Unexpected response received", http_res)
|
|
716
716
|
|
|
717
|
-
def
|
|
717
|
+
def get_diff(
|
|
718
718
|
self,
|
|
719
719
|
*,
|
|
720
720
|
commit: Optional[str] = None,
|
|
@@ -726,7 +726,7 @@ class Versioning(BaseSDK):
|
|
|
726
726
|
timeout_ms: Optional[int] = None,
|
|
727
727
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
728
728
|
) -> models.GetVersionDiffResponse:
|
|
729
|
-
r"""
|
|
729
|
+
r"""Retrieve the diff for a commit
|
|
730
730
|
|
|
731
731
|
get the textual diff for given commit
|
|
732
732
|
|
|
@@ -810,7 +810,7 @@ class Versioning(BaseSDK):
|
|
|
810
810
|
|
|
811
811
|
raise errors.APIError("Unexpected response received", http_res)
|
|
812
812
|
|
|
813
|
-
async def
|
|
813
|
+
async def get_diff_async(
|
|
814
814
|
self,
|
|
815
815
|
*,
|
|
816
816
|
commit: Optional[str] = None,
|
|
@@ -822,7 +822,7 @@ class Versioning(BaseSDK):
|
|
|
822
822
|
timeout_ms: Optional[int] = None,
|
|
823
823
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
824
824
|
) -> models.GetVersionDiffResponse:
|
|
825
|
-
r"""
|
|
825
|
+
r"""Retrieve the diff for a commit
|
|
826
826
|
|
|
827
827
|
get the textual diff for given commit
|
|
828
828
|
|
|
@@ -906,7 +906,7 @@ class Versioning(BaseSDK):
|
|
|
906
906
|
|
|
907
907
|
raise errors.APIError("Unexpected response received", http_res)
|
|
908
908
|
|
|
909
|
-
def
|
|
909
|
+
def get_file_info(
|
|
910
910
|
self,
|
|
911
911
|
*,
|
|
912
912
|
group: Optional[str] = None,
|
|
@@ -916,7 +916,7 @@ class Versioning(BaseSDK):
|
|
|
916
916
|
timeout_ms: Optional[int] = None,
|
|
917
917
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
918
918
|
) -> models.GetVersionFilesResponse:
|
|
919
|
-
r"""
|
|
919
|
+
r"""Retrieve the names and statuses of files that changed since a commit
|
|
920
920
|
|
|
921
921
|
get the files changed
|
|
922
922
|
|
|
@@ -996,7 +996,7 @@ class Versioning(BaseSDK):
|
|
|
996
996
|
|
|
997
997
|
raise errors.APIError("Unexpected response received", http_res)
|
|
998
998
|
|
|
999
|
-
async def
|
|
999
|
+
async def get_file_info_async(
|
|
1000
1000
|
self,
|
|
1001
1001
|
*,
|
|
1002
1002
|
group: Optional[str] = None,
|
|
@@ -1006,7 +1006,7 @@ class Versioning(BaseSDK):
|
|
|
1006
1006
|
timeout_ms: Optional[int] = None,
|
|
1007
1007
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1008
1008
|
) -> models.GetVersionFilesResponse:
|
|
1009
|
-
r"""
|
|
1009
|
+
r"""Retrieve the names and statuses of files that changed since a commit
|
|
1010
1010
|
|
|
1011
1011
|
get the files changed
|
|
1012
1012
|
|
|
@@ -1086,7 +1086,7 @@ class Versioning(BaseSDK):
|
|
|
1086
1086
|
|
|
1087
1087
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1088
1088
|
|
|
1089
|
-
def
|
|
1089
|
+
def get_config_status(
|
|
1090
1090
|
self,
|
|
1091
1091
|
*,
|
|
1092
1092
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -1094,7 +1094,7 @@ class Versioning(BaseSDK):
|
|
|
1094
1094
|
timeout_ms: Optional[int] = None,
|
|
1095
1095
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1096
1096
|
) -> models.GetVersionInfoResponse:
|
|
1097
|
-
r"""
|
|
1097
|
+
r"""Retrieve the configuration and status for the Git integration
|
|
1098
1098
|
|
|
1099
1099
|
Get info about versioning availability
|
|
1100
1100
|
|
|
@@ -1166,7 +1166,7 @@ class Versioning(BaseSDK):
|
|
|
1166
1166
|
|
|
1167
1167
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1168
1168
|
|
|
1169
|
-
async def
|
|
1169
|
+
async def get_config_status_async(
|
|
1170
1170
|
self,
|
|
1171
1171
|
*,
|
|
1172
1172
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -1174,7 +1174,7 @@ class Versioning(BaseSDK):
|
|
|
1174
1174
|
timeout_ms: Optional[int] = None,
|
|
1175
1175
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1176
1176
|
) -> models.GetVersionInfoResponse:
|
|
1177
|
-
r"""
|
|
1177
|
+
r"""Retrieve the configuration and status for the Git integration
|
|
1178
1178
|
|
|
1179
1179
|
Get info about versioning availability
|
|
1180
1180
|
|
|
@@ -1246,7 +1246,7 @@ class Versioning(BaseSDK):
|
|
|
1246
1246
|
|
|
1247
1247
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1248
1248
|
|
|
1249
|
-
def
|
|
1249
|
+
def push_commit(
|
|
1250
1250
|
self,
|
|
1251
1251
|
*,
|
|
1252
1252
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -1254,7 +1254,7 @@ class Versioning(BaseSDK):
|
|
|
1254
1254
|
timeout_ms: Optional[int] = None,
|
|
1255
1255
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1256
1256
|
) -> models.CreateVersionPushResponse:
|
|
1257
|
-
r"""
|
|
1257
|
+
r"""Push a commit from the local repository to the remote repository
|
|
1258
1258
|
|
|
1259
1259
|
push the current configs to the remote repository.
|
|
1260
1260
|
|
|
@@ -1326,7 +1326,7 @@ class Versioning(BaseSDK):
|
|
|
1326
1326
|
|
|
1327
1327
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1328
1328
|
|
|
1329
|
-
async def
|
|
1329
|
+
async def push_commit_async(
|
|
1330
1330
|
self,
|
|
1331
1331
|
*,
|
|
1332
1332
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -1334,7 +1334,7 @@ class Versioning(BaseSDK):
|
|
|
1334
1334
|
timeout_ms: Optional[int] = None,
|
|
1335
1335
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1336
1336
|
) -> models.CreateVersionPushResponse:
|
|
1337
|
-
r"""
|
|
1337
|
+
r"""Push a commit from the local repository to the remote repository
|
|
1338
1338
|
|
|
1339
1339
|
push the current configs to the remote repository.
|
|
1340
1340
|
|
|
@@ -1406,7 +1406,7 @@ class Versioning(BaseSDK):
|
|
|
1406
1406
|
|
|
1407
1407
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1408
1408
|
|
|
1409
|
-
def
|
|
1409
|
+
def revert_commit(
|
|
1410
1410
|
self,
|
|
1411
1411
|
*,
|
|
1412
1412
|
commit: str,
|
|
@@ -1418,7 +1418,7 @@ class Versioning(BaseSDK):
|
|
|
1418
1418
|
timeout_ms: Optional[int] = None,
|
|
1419
1419
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1420
1420
|
) -> models.CreateVersionRevertResponse:
|
|
1421
|
-
r"""
|
|
1421
|
+
r"""Revert a commit in the local repository
|
|
1422
1422
|
|
|
1423
1423
|
revert a commit
|
|
1424
1424
|
|
|
@@ -1507,7 +1507,7 @@ class Versioning(BaseSDK):
|
|
|
1507
1507
|
|
|
1508
1508
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1509
1509
|
|
|
1510
|
-
async def
|
|
1510
|
+
async def revert_commit_async(
|
|
1511
1511
|
self,
|
|
1512
1512
|
*,
|
|
1513
1513
|
commit: str,
|
|
@@ -1519,7 +1519,7 @@ class Versioning(BaseSDK):
|
|
|
1519
1519
|
timeout_ms: Optional[int] = None,
|
|
1520
1520
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1521
1521
|
) -> models.CreateVersionRevertResponse:
|
|
1522
|
-
r"""
|
|
1522
|
+
r"""Revert a commit in the local repository
|
|
1523
1523
|
|
|
1524
1524
|
revert a commit
|
|
1525
1525
|
|
|
@@ -1608,7 +1608,7 @@ class Versioning(BaseSDK):
|
|
|
1608
1608
|
|
|
1609
1609
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1610
1610
|
|
|
1611
|
-
def
|
|
1611
|
+
def show_commit(
|
|
1612
1612
|
self,
|
|
1613
1613
|
*,
|
|
1614
1614
|
commit: Optional[str] = None,
|
|
@@ -1620,7 +1620,7 @@ class Versioning(BaseSDK):
|
|
|
1620
1620
|
timeout_ms: Optional[int] = None,
|
|
1621
1621
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1622
1622
|
) -> models.GetVersionShowResponse:
|
|
1623
|
-
r"""
|
|
1623
|
+
r"""Retrieve the diff and log message for a commit
|
|
1624
1624
|
|
|
1625
1625
|
get the log message and textual diff for given commit
|
|
1626
1626
|
|
|
@@ -1704,7 +1704,7 @@ class Versioning(BaseSDK):
|
|
|
1704
1704
|
|
|
1705
1705
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1706
1706
|
|
|
1707
|
-
async def
|
|
1707
|
+
async def show_commit_async(
|
|
1708
1708
|
self,
|
|
1709
1709
|
*,
|
|
1710
1710
|
commit: Optional[str] = None,
|
|
@@ -1716,7 +1716,7 @@ class Versioning(BaseSDK):
|
|
|
1716
1716
|
timeout_ms: Optional[int] = None,
|
|
1717
1717
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1718
1718
|
) -> models.GetVersionShowResponse:
|
|
1719
|
-
r"""
|
|
1719
|
+
r"""Retrieve the diff and log message for a commit
|
|
1720
1720
|
|
|
1721
1721
|
get the log message and textual diff for given commit
|
|
1722
1722
|
|
|
@@ -1800,7 +1800,7 @@ class Versioning(BaseSDK):
|
|
|
1800
1800
|
|
|
1801
1801
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1802
1802
|
|
|
1803
|
-
def
|
|
1803
|
+
def get_current_status(
|
|
1804
1804
|
self,
|
|
1805
1805
|
*,
|
|
1806
1806
|
group: Optional[str] = None,
|
|
@@ -1809,7 +1809,7 @@ class Versioning(BaseSDK):
|
|
|
1809
1809
|
timeout_ms: Optional[int] = None,
|
|
1810
1810
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1811
1811
|
) -> models.GetVersionStatusResponse:
|
|
1812
|
-
r"""
|
|
1812
|
+
r"""Retrieve the status of the current working tree
|
|
1813
1813
|
|
|
1814
1814
|
get the the working tree status
|
|
1815
1815
|
|
|
@@ -1887,7 +1887,7 @@ class Versioning(BaseSDK):
|
|
|
1887
1887
|
|
|
1888
1888
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1889
1889
|
|
|
1890
|
-
async def
|
|
1890
|
+
async def get_current_status_async(
|
|
1891
1891
|
self,
|
|
1892
1892
|
*,
|
|
1893
1893
|
group: Optional[str] = None,
|
|
@@ -1896,7 +1896,7 @@ class Versioning(BaseSDK):
|
|
|
1896
1896
|
timeout_ms: Optional[int] = None,
|
|
1897
1897
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1898
1898
|
) -> models.GetVersionStatusResponse:
|
|
1899
|
-
r"""
|
|
1899
|
+
r"""Retrieve the status of the current working tree
|
|
1900
1900
|
|
|
1901
1901
|
get the the working tree status
|
|
1902
1902
|
|
|
@@ -1974,7 +1974,7 @@ class Versioning(BaseSDK):
|
|
|
1974
1974
|
|
|
1975
1975
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1976
1976
|
|
|
1977
|
-
def
|
|
1977
|
+
def sync_local_remote(
|
|
1978
1978
|
self,
|
|
1979
1979
|
*,
|
|
1980
1980
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -1982,7 +1982,7 @@ class Versioning(BaseSDK):
|
|
|
1982
1982
|
timeout_ms: Optional[int] = None,
|
|
1983
1983
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1984
1984
|
) -> models.CreateVersionSyncResponse:
|
|
1985
|
-
r"""
|
|
1985
|
+
r"""Synchronize the local branch with the remote repository
|
|
1986
1986
|
|
|
1987
1987
|
syncs with remote repo via POST requests
|
|
1988
1988
|
|
|
@@ -2054,7 +2054,7 @@ class Versioning(BaseSDK):
|
|
|
2054
2054
|
|
|
2055
2055
|
raise errors.APIError("Unexpected response received", http_res)
|
|
2056
2056
|
|
|
2057
|
-
async def
|
|
2057
|
+
async def sync_local_remote_async(
|
|
2058
2058
|
self,
|
|
2059
2059
|
*,
|
|
2060
2060
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -2062,7 +2062,7 @@ class Versioning(BaseSDK):
|
|
|
2062
2062
|
timeout_ms: Optional[int] = None,
|
|
2063
2063
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
2064
2064
|
) -> models.CreateVersionSyncResponse:
|
|
2065
|
-
r"""
|
|
2065
|
+
r"""Synchronize the local branch with the remote repository
|
|
2066
2066
|
|
|
2067
2067
|
syncs with remote repo via POST requests
|
|
2068
2068
|
|
|
@@ -2134,7 +2134,7 @@ class Versioning(BaseSDK):
|
|
|
2134
2134
|
|
|
2135
2135
|
raise errors.APIError("Unexpected response received", http_res)
|
|
2136
2136
|
|
|
2137
|
-
def
|
|
2137
|
+
def clean_working_dir(
|
|
2138
2138
|
self,
|
|
2139
2139
|
*,
|
|
2140
2140
|
group: Optional[str] = None,
|
|
@@ -2143,9 +2143,9 @@ class Versioning(BaseSDK):
|
|
|
2143
2143
|
timeout_ms: Optional[int] = None,
|
|
2144
2144
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
2145
2145
|
) -> models.CreateVersionUndoResponse:
|
|
2146
|
-
r"""
|
|
2146
|
+
r"""Discard uncommitted (staged) changes
|
|
2147
2147
|
|
|
2148
|
-
|
|
2148
|
+
Discards all uncommitted (staged) configuration changes, resetting the working directory to the last committed state.
|
|
2149
2149
|
|
|
2150
2150
|
:param group: Group ID
|
|
2151
2151
|
:param retries: Override the default retry configuration for this method
|
|
@@ -2221,7 +2221,7 @@ class Versioning(BaseSDK):
|
|
|
2221
2221
|
|
|
2222
2222
|
raise errors.APIError("Unexpected response received", http_res)
|
|
2223
2223
|
|
|
2224
|
-
async def
|
|
2224
|
+
async def clean_working_dir_async(
|
|
2225
2225
|
self,
|
|
2226
2226
|
*,
|
|
2227
2227
|
group: Optional[str] = None,
|
|
@@ -2230,9 +2230,9 @@ class Versioning(BaseSDK):
|
|
|
2230
2230
|
timeout_ms: Optional[int] = None,
|
|
2231
2231
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
2232
2232
|
) -> models.CreateVersionUndoResponse:
|
|
2233
|
-
r"""
|
|
2233
|
+
r"""Discard uncommitted (staged) changes
|
|
2234
2234
|
|
|
2235
|
-
|
|
2235
|
+
Discards all uncommitted (staged) configuration changes, resetting the working directory to the last committed state.
|
|
2236
2236
|
|
|
2237
2237
|
:param group: Group ID
|
|
2238
2238
|
:param retries: Override the default retry configuration for this method
|