cribl-control-plane 0.0.23__py3-none-any.whl → 0.0.24__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/createpipelineop.py +2 -2
- cribl_control_plane/models/updatepipelinebyidop.py +2 -2
- cribl_control_plane/models/updateroutesbyidop.py +2 -2
- cribl_control_plane/{workers_sdk.py → nodes.py} +13 -15
- cribl_control_plane/packs.py +16 -16
- cribl_control_plane/pipelines.py +10 -10
- cribl_control_plane/routes_sdk.py +10 -10
- cribl_control_plane/sdk.py +12 -20
- cribl_control_plane/sources.py +28 -28
- cribl_control_plane/versioning.py +52 -52
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.24.dist-info}/METADATA +73 -76
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.24.dist-info}/RECORD +20 -21
- cribl_control_plane/teams.py +0 -203
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.24.dist-info}/WHEEL +0 -0
cribl_control_plane/sources.py
CHANGED
|
@@ -10,7 +10,7 @@ from typing import Any, List, Mapping, Optional, Union, cast
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class Sources(BaseSDK):
|
|
13
|
-
def
|
|
13
|
+
def list(
|
|
14
14
|
self,
|
|
15
15
|
*,
|
|
16
16
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -18,7 +18,7 @@ class Sources(BaseSDK):
|
|
|
18
18
|
timeout_ms: Optional[int] = None,
|
|
19
19
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
20
20
|
) -> models.ListInputResponse:
|
|
21
|
-
r"""
|
|
21
|
+
r"""List all Sources
|
|
22
22
|
|
|
23
23
|
Get a list of Source objects
|
|
24
24
|
|
|
@@ -90,7 +90,7 @@ class Sources(BaseSDK):
|
|
|
90
90
|
|
|
91
91
|
raise errors.APIError("Unexpected response received", http_res)
|
|
92
92
|
|
|
93
|
-
async def
|
|
93
|
+
async def list_async(
|
|
94
94
|
self,
|
|
95
95
|
*,
|
|
96
96
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -98,7 +98,7 @@ class Sources(BaseSDK):
|
|
|
98
98
|
timeout_ms: Optional[int] = None,
|
|
99
99
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
100
100
|
) -> models.ListInputResponse:
|
|
101
|
-
r"""
|
|
101
|
+
r"""List all Sources
|
|
102
102
|
|
|
103
103
|
Get a list of Source objects
|
|
104
104
|
|
|
@@ -170,7 +170,7 @@ class Sources(BaseSDK):
|
|
|
170
170
|
|
|
171
171
|
raise errors.APIError("Unexpected response received", http_res)
|
|
172
172
|
|
|
173
|
-
def
|
|
173
|
+
def create(
|
|
174
174
|
self,
|
|
175
175
|
*,
|
|
176
176
|
request: Union[models.Input, models.InputTypedDict],
|
|
@@ -179,7 +179,7 @@ class Sources(BaseSDK):
|
|
|
179
179
|
timeout_ms: Optional[int] = None,
|
|
180
180
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
181
181
|
) -> models.CreateInputResponse:
|
|
182
|
-
r"""Create Source
|
|
182
|
+
r"""Create a Source
|
|
183
183
|
|
|
184
184
|
Create Source
|
|
185
185
|
|
|
@@ -260,7 +260,7 @@ class Sources(BaseSDK):
|
|
|
260
260
|
|
|
261
261
|
raise errors.APIError("Unexpected response received", http_res)
|
|
262
262
|
|
|
263
|
-
async def
|
|
263
|
+
async def create_async(
|
|
264
264
|
self,
|
|
265
265
|
*,
|
|
266
266
|
request: Union[models.Input, models.InputTypedDict],
|
|
@@ -269,7 +269,7 @@ class Sources(BaseSDK):
|
|
|
269
269
|
timeout_ms: Optional[int] = None,
|
|
270
270
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
271
271
|
) -> models.CreateInputResponse:
|
|
272
|
-
r"""Create Source
|
|
272
|
+
r"""Create a Source
|
|
273
273
|
|
|
274
274
|
Create Source
|
|
275
275
|
|
|
@@ -350,7 +350,7 @@ class Sources(BaseSDK):
|
|
|
350
350
|
|
|
351
351
|
raise errors.APIError("Unexpected response received", http_res)
|
|
352
352
|
|
|
353
|
-
def
|
|
353
|
+
def get(
|
|
354
354
|
self,
|
|
355
355
|
*,
|
|
356
356
|
id: str,
|
|
@@ -359,7 +359,7 @@ class Sources(BaseSDK):
|
|
|
359
359
|
timeout_ms: Optional[int] = None,
|
|
360
360
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
361
361
|
) -> models.GetInputByIDResponse:
|
|
362
|
-
r"""
|
|
362
|
+
r"""Retrieve a Source
|
|
363
363
|
|
|
364
364
|
Get Source by ID
|
|
365
365
|
|
|
@@ -437,7 +437,7 @@ class Sources(BaseSDK):
|
|
|
437
437
|
|
|
438
438
|
raise errors.APIError("Unexpected response received", http_res)
|
|
439
439
|
|
|
440
|
-
async def
|
|
440
|
+
async def get_async(
|
|
441
441
|
self,
|
|
442
442
|
*,
|
|
443
443
|
id: str,
|
|
@@ -446,7 +446,7 @@ class Sources(BaseSDK):
|
|
|
446
446
|
timeout_ms: Optional[int] = None,
|
|
447
447
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
448
448
|
) -> models.GetInputByIDResponse:
|
|
449
|
-
r"""
|
|
449
|
+
r"""Retrieve a Source
|
|
450
450
|
|
|
451
451
|
Get Source by ID
|
|
452
452
|
|
|
@@ -524,7 +524,7 @@ class Sources(BaseSDK):
|
|
|
524
524
|
|
|
525
525
|
raise errors.APIError("Unexpected response received", http_res)
|
|
526
526
|
|
|
527
|
-
def
|
|
527
|
+
def update(
|
|
528
528
|
self,
|
|
529
529
|
*,
|
|
530
530
|
id: str,
|
|
@@ -534,7 +534,7 @@ class Sources(BaseSDK):
|
|
|
534
534
|
timeout_ms: Optional[int] = None,
|
|
535
535
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
536
536
|
) -> models.UpdateInputByIDResponse:
|
|
537
|
-
r"""Update Source
|
|
537
|
+
r"""Update a Source
|
|
538
538
|
|
|
539
539
|
Update Source
|
|
540
540
|
|
|
@@ -617,7 +617,7 @@ class Sources(BaseSDK):
|
|
|
617
617
|
|
|
618
618
|
raise errors.APIError("Unexpected response received", http_res)
|
|
619
619
|
|
|
620
|
-
async def
|
|
620
|
+
async def update_async(
|
|
621
621
|
self,
|
|
622
622
|
*,
|
|
623
623
|
id: str,
|
|
@@ -627,7 +627,7 @@ class Sources(BaseSDK):
|
|
|
627
627
|
timeout_ms: Optional[int] = None,
|
|
628
628
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
629
629
|
) -> models.UpdateInputByIDResponse:
|
|
630
|
-
r"""Update Source
|
|
630
|
+
r"""Update a Source
|
|
631
631
|
|
|
632
632
|
Update Source
|
|
633
633
|
|
|
@@ -710,7 +710,7 @@ class Sources(BaseSDK):
|
|
|
710
710
|
|
|
711
711
|
raise errors.APIError("Unexpected response received", http_res)
|
|
712
712
|
|
|
713
|
-
def
|
|
713
|
+
def delete(
|
|
714
714
|
self,
|
|
715
715
|
*,
|
|
716
716
|
id: str,
|
|
@@ -719,7 +719,7 @@ class Sources(BaseSDK):
|
|
|
719
719
|
timeout_ms: Optional[int] = None,
|
|
720
720
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
721
721
|
) -> models.DeleteInputByIDResponse:
|
|
722
|
-
r"""Delete Source
|
|
722
|
+
r"""Delete a Source
|
|
723
723
|
|
|
724
724
|
Delete Source
|
|
725
725
|
|
|
@@ -797,7 +797,7 @@ class Sources(BaseSDK):
|
|
|
797
797
|
|
|
798
798
|
raise errors.APIError("Unexpected response received", http_res)
|
|
799
799
|
|
|
800
|
-
async def
|
|
800
|
+
async def delete_async(
|
|
801
801
|
self,
|
|
802
802
|
*,
|
|
803
803
|
id: str,
|
|
@@ -806,7 +806,7 @@ class Sources(BaseSDK):
|
|
|
806
806
|
timeout_ms: Optional[int] = None,
|
|
807
807
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
808
808
|
) -> models.DeleteInputByIDResponse:
|
|
809
|
-
r"""Delete Source
|
|
809
|
+
r"""Delete a Source
|
|
810
810
|
|
|
811
811
|
Delete Source
|
|
812
812
|
|
|
@@ -884,7 +884,7 @@ class Sources(BaseSDK):
|
|
|
884
884
|
|
|
885
885
|
raise errors.APIError("Unexpected response received", http_res)
|
|
886
886
|
|
|
887
|
-
def
|
|
887
|
+
def create_hec_token(
|
|
888
888
|
self,
|
|
889
889
|
*,
|
|
890
890
|
id: str,
|
|
@@ -902,7 +902,7 @@ class Sources(BaseSDK):
|
|
|
902
902
|
timeout_ms: Optional[int] = None,
|
|
903
903
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
904
904
|
) -> models.CreateInputHecTokenByIDResponse:
|
|
905
|
-
r"""Add token and optional metadata to
|
|
905
|
+
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
906
906
|
|
|
907
907
|
Add token and optional metadata to an existing HEC Source
|
|
908
908
|
|
|
@@ -1001,7 +1001,7 @@ class Sources(BaseSDK):
|
|
|
1001
1001
|
|
|
1002
1002
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1003
1003
|
|
|
1004
|
-
async def
|
|
1004
|
+
async def create_hec_token_async(
|
|
1005
1005
|
self,
|
|
1006
1006
|
*,
|
|
1007
1007
|
id: str,
|
|
@@ -1019,7 +1019,7 @@ class Sources(BaseSDK):
|
|
|
1019
1019
|
timeout_ms: Optional[int] = None,
|
|
1020
1020
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1021
1021
|
) -> models.CreateInputHecTokenByIDResponse:
|
|
1022
|
-
r"""Add token and optional metadata to
|
|
1022
|
+
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
1023
1023
|
|
|
1024
1024
|
Add token and optional metadata to an existing HEC Source
|
|
1025
1025
|
|
|
@@ -1118,7 +1118,7 @@ class Sources(BaseSDK):
|
|
|
1118
1118
|
|
|
1119
1119
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1120
1120
|
|
|
1121
|
-
def
|
|
1121
|
+
def update_hec_token_metadata(
|
|
1122
1122
|
self,
|
|
1123
1123
|
*,
|
|
1124
1124
|
id: str,
|
|
@@ -1136,7 +1136,7 @@ class Sources(BaseSDK):
|
|
|
1136
1136
|
timeout_ms: Optional[int] = None,
|
|
1137
1137
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1138
1138
|
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
1139
|
-
r"""Update token
|
|
1139
|
+
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
1140
1140
|
|
|
1141
1141
|
Update token metadata on existing HEC Source
|
|
1142
1142
|
|
|
@@ -1235,7 +1235,7 @@ class Sources(BaseSDK):
|
|
|
1235
1235
|
|
|
1236
1236
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1237
1237
|
|
|
1238
|
-
async def
|
|
1238
|
+
async def update_hec_token_metadata_async(
|
|
1239
1239
|
self,
|
|
1240
1240
|
*,
|
|
1241
1241
|
id: str,
|
|
@@ -1253,7 +1253,7 @@ class Sources(BaseSDK):
|
|
|
1253
1253
|
timeout_ms: Optional[int] = None,
|
|
1254
1254
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1255
1255
|
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
1256
|
-
r"""Update token
|
|
1256
|
+
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
1257
1257
|
|
|
1258
1258
|
Update token metadata on existing HEC Source
|
|
1259
1259
|
|
|
@@ -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,7 +2143,7 @@ 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"""Undo the most recent commit and restore the local repository to the previous commit
|
|
2147
2147
|
|
|
2148
2148
|
undo the last commit
|
|
2149
2149
|
|
|
@@ -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,7 +2230,7 @@ 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"""Undo the most recent commit and restore the local repository to the previous commit
|
|
2234
2234
|
|
|
2235
2235
|
undo the last commit
|
|
2236
2236
|
|