cribl-control-plane 0.0.22__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.

Files changed (36) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/auth_sdk.py +4 -4
  3. cribl_control_plane/{distributed.py → deployments.py} +3 -5
  4. cribl_control_plane/destinations.py +46 -46
  5. cribl_control_plane/groups_sdk.py +222 -32
  6. cribl_control_plane/{health.py → healthinfo.py} +5 -7
  7. cribl_control_plane/{lake.py → lakedatasets.py} +21 -23
  8. cribl_control_plane/models/__init__.py +125 -5382
  9. cribl_control_plane/models/createinputop.py +2 -18216
  10. cribl_control_plane/models/createoutputop.py +2 -18415
  11. cribl_control_plane/models/createpipelineop.py +2 -2
  12. cribl_control_plane/models/input.py +6 -6
  13. cribl_control_plane/models/inputedgeprometheus.py +7 -10
  14. cribl_control_plane/models/{inputgrafana_union.py → inputgrafana.py} +4 -4
  15. cribl_control_plane/models/{inputsyslog_union.py → inputsyslog.py} +4 -4
  16. cribl_control_plane/models/inputwef.py +4 -4
  17. cribl_control_plane/models/outputgooglepubsub.py +3 -3
  18. cribl_control_plane/models/outputsplunklb.py +8 -8
  19. cribl_control_plane/models/routes.py +0 -24
  20. cribl_control_plane/models/updateinputbyidop.py +2 -2
  21. cribl_control_plane/models/updateoutputbyidop.py +2 -2
  22. cribl_control_plane/models/updatepipelinebyidop.py +2 -2
  23. cribl_control_plane/models/updateroutesbyidop.py +5 -6
  24. cribl_control_plane/{workers_sdk.py → nodes.py} +13 -15
  25. cribl_control_plane/packs.py +16 -190
  26. cribl_control_plane/pipelines.py +10 -10
  27. cribl_control_plane/routes_sdk.py +18 -22
  28. cribl_control_plane/sdk.py +12 -20
  29. cribl_control_plane/sources.py +38 -38
  30. cribl_control_plane/versioning.py +52 -52
  31. {cribl_control_plane-0.0.22.dist-info → cribl_control_plane-0.0.24.dist-info}/METADATA +74 -78
  32. {cribl_control_plane-0.0.22.dist-info → cribl_control_plane-0.0.24.dist-info}/RECORD +33 -36
  33. cribl_control_plane/models/routesroute_input.py +0 -67
  34. cribl_control_plane/models/updatepacksop.py +0 -37
  35. cribl_control_plane/teams.py +0 -203
  36. {cribl_control_plane-0.0.22.dist-info → cribl_control_plane-0.0.24.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 get_version_branch(
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"""get the list of branches
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 get_version_branch_async(
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"""get the list of branches
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 create_version_commit(
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"""create a new commit containing the current configs the given log message describing the changes.
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 create_version_commit_async(
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"""create a new commit containing the current configs the given log message describing the changes.
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 get_version_count(
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"""get the count of files of changed
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 get_version_count_async(
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"""get the count of files of changed
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 get_version_current_branch(
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"""returns git branch that the config is checked out to, if any
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 get_version_current_branch_async(
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"""returns git branch that the config is checked out to, if any
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 get_version_diff(
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"""get the textual diff for given commit
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 get_version_diff_async(
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"""get the textual diff for given commit
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 get_version_files(
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"""get the files changed
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 get_version_files_async(
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"""get the files changed
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 get_version_info(
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"""Get info about versioning availability
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 get_version_info_async(
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"""Get info about versioning availability
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 create_version_push(
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"""push the current configs to the remote repository.
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 create_version_push_async(
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"""push the current configs to the remote repository.
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 create_version_revert(
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"""revert a commit
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 create_version_revert_async(
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"""revert a commit
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 get_version_show(
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"""get the log message and textual diff for given commit
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 get_version_show_async(
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"""get the log message and textual diff for given commit
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 get_version_status(
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"""get the the working tree status
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 get_version_status_async(
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"""get the the working tree status
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 create_version_sync(
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"""syncs with remote repo via POST requests
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 create_version_sync_async(
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"""syncs with remote repo via POST requests
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 create_version_undo(
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"""undo the last commit
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 create_version_undo_async(
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"""undo the last commit
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