cribl-control-plane 0.0.26__py3-none-any.whl → 0.0.27__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/acl.py +203 -0
- cribl_control_plane/auth_sdk.py +9 -176
- cribl_control_plane/branches.py +335 -0
- cribl_control_plane/commits.py +1141 -0
- cribl_control_plane/commits_files.py +371 -0
- cribl_control_plane/configs_versions.py +189 -0
- cribl_control_plane/destinations.py +16 -729
- cribl_control_plane/destinations_pq.py +359 -0
- cribl_control_plane/groups_configs.py +17 -0
- cribl_control_plane/groups_sdk.py +12 -545
- cribl_control_plane/hectokens.py +479 -0
- cribl_control_plane/models/__init__.py +0 -8
- cribl_control_plane/nodes.py +9 -171
- cribl_control_plane/samples.py +391 -0
- cribl_control_plane/sdk.py +3 -5
- cribl_control_plane/sources.py +13 -469
- cribl_control_plane/statuses.py +185 -0
- cribl_control_plane/summaries.py +185 -0
- cribl_control_plane/teams.py +201 -0
- cribl_control_plane/tokens.py +182 -0
- cribl_control_plane/versions.py +26 -0
- cribl_control_plane/versions_configs.py +171 -0
- {cribl_control_plane-0.0.26.dist-info → cribl_control_plane-0.0.27.dist-info}/METADATA +67 -29
- {cribl_control_plane-0.0.26.dist-info → cribl_control_plane-0.0.27.dist-info}/RECORD +26 -13
- cribl_control_plane/models/createversionsyncop.py +0 -23
- cribl_control_plane/versioning.py +0 -2309
- {cribl_control_plane-0.0.26.dist-info → cribl_control_plane-0.0.27.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from .basesdk import BaseSDK
|
|
4
|
+
from cribl_control_plane import errors, models, utils
|
|
5
|
+
from cribl_control_plane._hooks import HookContext
|
|
6
|
+
from cribl_control_plane.types import OptionalNullable, UNSET
|
|
7
|
+
from cribl_control_plane.utils import get_security_from_env
|
|
8
|
+
from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_response
|
|
9
|
+
from typing import Any, Mapping, Optional
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class VersionsConfigs(BaseSDK):
|
|
13
|
+
def get(
|
|
14
|
+
self,
|
|
15
|
+
*,
|
|
16
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
17
|
+
server_url: Optional[str] = None,
|
|
18
|
+
timeout_ms: Optional[int] = None,
|
|
19
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
20
|
+
) -> models.GetVersionInfoResponse:
|
|
21
|
+
r"""Retrieve the configuration and status for the Git integration
|
|
22
|
+
|
|
23
|
+
Get info about versioning availability
|
|
24
|
+
|
|
25
|
+
:param retries: Override the default retry configuration for this method
|
|
26
|
+
:param server_url: Override the default server URL for this method
|
|
27
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
28
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
29
|
+
"""
|
|
30
|
+
base_url = None
|
|
31
|
+
url_variables = None
|
|
32
|
+
if timeout_ms is None:
|
|
33
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
34
|
+
|
|
35
|
+
if server_url is not None:
|
|
36
|
+
base_url = server_url
|
|
37
|
+
else:
|
|
38
|
+
base_url = self._get_url(base_url, url_variables)
|
|
39
|
+
req = self._build_request(
|
|
40
|
+
method="GET",
|
|
41
|
+
path="/version/info",
|
|
42
|
+
base_url=base_url,
|
|
43
|
+
url_variables=url_variables,
|
|
44
|
+
request=None,
|
|
45
|
+
request_body_required=False,
|
|
46
|
+
request_has_path_params=False,
|
|
47
|
+
request_has_query_params=True,
|
|
48
|
+
user_agent_header="user-agent",
|
|
49
|
+
accept_header_value="application/json",
|
|
50
|
+
http_headers=http_headers,
|
|
51
|
+
security=self.sdk_configuration.security,
|
|
52
|
+
timeout_ms=timeout_ms,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
if retries == UNSET:
|
|
56
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
57
|
+
retries = self.sdk_configuration.retry_config
|
|
58
|
+
|
|
59
|
+
retry_config = None
|
|
60
|
+
if isinstance(retries, utils.RetryConfig):
|
|
61
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
62
|
+
|
|
63
|
+
http_res = self.do_request(
|
|
64
|
+
hook_ctx=HookContext(
|
|
65
|
+
config=self.sdk_configuration,
|
|
66
|
+
base_url=base_url or "",
|
|
67
|
+
operation_id="getVersionInfo",
|
|
68
|
+
oauth2_scopes=[],
|
|
69
|
+
security_source=get_security_from_env(
|
|
70
|
+
self.sdk_configuration.security, models.Security
|
|
71
|
+
),
|
|
72
|
+
),
|
|
73
|
+
request=req,
|
|
74
|
+
error_status_codes=["401", "4XX", "500", "5XX"],
|
|
75
|
+
retry_config=retry_config,
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
response_data: Any = None
|
|
79
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
80
|
+
return unmarshal_json_response(models.GetVersionInfoResponse, http_res)
|
|
81
|
+
if utils.match_response(http_res, "500", "application/json"):
|
|
82
|
+
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
83
|
+
raise errors.Error(response_data, http_res)
|
|
84
|
+
if utils.match_response(http_res, ["401", "4XX"], "*"):
|
|
85
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
86
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
87
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
88
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
89
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
90
|
+
|
|
91
|
+
raise errors.APIError("Unexpected response received", http_res)
|
|
92
|
+
|
|
93
|
+
async def get_async(
|
|
94
|
+
self,
|
|
95
|
+
*,
|
|
96
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
97
|
+
server_url: Optional[str] = None,
|
|
98
|
+
timeout_ms: Optional[int] = None,
|
|
99
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
100
|
+
) -> models.GetVersionInfoResponse:
|
|
101
|
+
r"""Retrieve the configuration and status for the Git integration
|
|
102
|
+
|
|
103
|
+
Get info about versioning availability
|
|
104
|
+
|
|
105
|
+
:param retries: Override the default retry configuration for this method
|
|
106
|
+
:param server_url: Override the default server URL for this method
|
|
107
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
108
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
109
|
+
"""
|
|
110
|
+
base_url = None
|
|
111
|
+
url_variables = None
|
|
112
|
+
if timeout_ms is None:
|
|
113
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
114
|
+
|
|
115
|
+
if server_url is not None:
|
|
116
|
+
base_url = server_url
|
|
117
|
+
else:
|
|
118
|
+
base_url = self._get_url(base_url, url_variables)
|
|
119
|
+
req = self._build_request_async(
|
|
120
|
+
method="GET",
|
|
121
|
+
path="/version/info",
|
|
122
|
+
base_url=base_url,
|
|
123
|
+
url_variables=url_variables,
|
|
124
|
+
request=None,
|
|
125
|
+
request_body_required=False,
|
|
126
|
+
request_has_path_params=False,
|
|
127
|
+
request_has_query_params=True,
|
|
128
|
+
user_agent_header="user-agent",
|
|
129
|
+
accept_header_value="application/json",
|
|
130
|
+
http_headers=http_headers,
|
|
131
|
+
security=self.sdk_configuration.security,
|
|
132
|
+
timeout_ms=timeout_ms,
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
if retries == UNSET:
|
|
136
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
137
|
+
retries = self.sdk_configuration.retry_config
|
|
138
|
+
|
|
139
|
+
retry_config = None
|
|
140
|
+
if isinstance(retries, utils.RetryConfig):
|
|
141
|
+
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
142
|
+
|
|
143
|
+
http_res = await self.do_request_async(
|
|
144
|
+
hook_ctx=HookContext(
|
|
145
|
+
config=self.sdk_configuration,
|
|
146
|
+
base_url=base_url or "",
|
|
147
|
+
operation_id="getVersionInfo",
|
|
148
|
+
oauth2_scopes=[],
|
|
149
|
+
security_source=get_security_from_env(
|
|
150
|
+
self.sdk_configuration.security, models.Security
|
|
151
|
+
),
|
|
152
|
+
),
|
|
153
|
+
request=req,
|
|
154
|
+
error_status_codes=["401", "4XX", "500", "5XX"],
|
|
155
|
+
retry_config=retry_config,
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
response_data: Any = None
|
|
159
|
+
if utils.match_response(http_res, "200", "application/json"):
|
|
160
|
+
return unmarshal_json_response(models.GetVersionInfoResponse, http_res)
|
|
161
|
+
if utils.match_response(http_res, "500", "application/json"):
|
|
162
|
+
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
163
|
+
raise errors.Error(response_data, http_res)
|
|
164
|
+
if utils.match_response(http_res, ["401", "4XX"], "*"):
|
|
165
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
166
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
167
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
168
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
169
|
+
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
170
|
+
|
|
171
|
+
raise errors.APIError("Unexpected response received", http_res)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cribl-control-plane
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.27
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -298,7 +298,10 @@ with CriblControlPlane(
|
|
|
298
298
|
|
|
299
299
|
### [auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md)
|
|
300
300
|
|
|
301
|
-
|
|
301
|
+
|
|
302
|
+
#### [auth.tokens](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md)
|
|
303
|
+
|
|
304
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md#get) - Log in and fetch an authentication token
|
|
302
305
|
|
|
303
306
|
|
|
304
307
|
### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
|
|
@@ -308,22 +311,37 @@ with CriblControlPlane(
|
|
|
308
311
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get) - Retrieve a Destination
|
|
309
312
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#update) - Update a Destination
|
|
310
313
|
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#delete) - Delete a Destination
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
* [
|
|
314
|
+
|
|
315
|
+
#### [destinations.pq](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinationspq/README.md)
|
|
316
|
+
|
|
317
|
+
* [clear](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinationspq/README.md#clear) - Clear the persistent queue for a Destination
|
|
318
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinationspq/README.md#get) - Retrieve information about the latest job to clear the persistent queue for a Destination
|
|
319
|
+
|
|
320
|
+
#### [destinations.samples](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/samples/README.md)
|
|
321
|
+
|
|
322
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/samples/README.md#get) - Retrieve sample event data for a Destination
|
|
323
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/samples/README.md#create) - Send sample event data to a Destination
|
|
315
324
|
|
|
316
325
|
### [groups](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md)
|
|
317
326
|
|
|
318
|
-
* [get_config_version](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_config_version) - Retrieve the configuration version for a Worker Group or Edge Fleet
|
|
319
327
|
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#create) - Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
320
328
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#list) - List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
321
329
|
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#delete) - Delete a Worker Group or Edge Fleet
|
|
322
330
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get) - Retrieve a Worker Group or Edge Fleet
|
|
323
331
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#update) - Update a Worker Group or Edge Fleet
|
|
324
332
|
* [deploy](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#deploy) - Deploy commits to a Worker Group or Edge Fleet
|
|
325
|
-
|
|
326
|
-
|
|
333
|
+
|
|
334
|
+
#### [groups.acl](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/acl/README.md)
|
|
335
|
+
|
|
336
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/acl/README.md#get) - Retrieve the Access Control List (ACL) for a Worker Group or Edge Fleet
|
|
337
|
+
|
|
338
|
+
#### [groups.acl.teams](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/teams/README.md)
|
|
339
|
+
|
|
340
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/teams/README.md#get) - Retrieve the Access Control List (ACL) for teams with permissions on a Worker Group or Edge Fleet for the specified Cribl product
|
|
341
|
+
|
|
342
|
+
#### [groups.configs.versions](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/configsversions/README.md)
|
|
343
|
+
|
|
344
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/configsversions/README.md#get) - Retrieve the configuration version for a Worker Group or Edge Fleet
|
|
327
345
|
|
|
328
346
|
### [health](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/health/README.md)
|
|
329
347
|
|
|
@@ -339,10 +357,13 @@ with CriblControlPlane(
|
|
|
339
357
|
|
|
340
358
|
### [nodes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md)
|
|
341
359
|
|
|
342
|
-
* [get_summary](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#get_summary) - Retrieve a summary of the Distributed deployment
|
|
343
360
|
* [count](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#count) - Retrieve a count of Worker and Edge Nodes
|
|
344
361
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#list) - Retrieve detailed metadata for Worker and Edge Nodes
|
|
345
362
|
|
|
363
|
+
#### [nodes.summaries](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/summaries/README.md)
|
|
364
|
+
|
|
365
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/summaries/README.md#get) - Retrieve a summary of the Distributed deployment
|
|
366
|
+
|
|
346
367
|
### [packs](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md)
|
|
347
368
|
|
|
348
369
|
* [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Install a Pack
|
|
@@ -372,24 +393,41 @@ with CriblControlPlane(
|
|
|
372
393
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#get) - Retrieve a Source
|
|
373
394
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#update) - Update a Source
|
|
374
395
|
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#delete) - Delete a Source
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
* [
|
|
387
|
-
* [
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
* [
|
|
392
|
-
* [
|
|
396
|
+
|
|
397
|
+
#### [sources.hec_tokens](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md)
|
|
398
|
+
|
|
399
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#create) - Add an HEC token and optional metadata to a Splunk HEC Source
|
|
400
|
+
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#update) - Update metadata for an HEC token for a Splunk HEC Source
|
|
401
|
+
|
|
402
|
+
### [versions](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versions/README.md)
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
#### [versions.branches](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md)
|
|
406
|
+
|
|
407
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md#list) - List all branches in the Git repository used for Cribl configuration
|
|
408
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md#get) - Retrieve the name of the Git branch that the Cribl configuration is checked out to
|
|
409
|
+
|
|
410
|
+
#### [versions.commits](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commits/README.md)
|
|
411
|
+
|
|
412
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commits/README.md#create) - Create a new commit for pending changes to the Cribl configuration
|
|
413
|
+
* [diff](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commits/README.md#diff) - Retrieve the diff for a commit
|
|
414
|
+
* [push](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commits/README.md#push) - Push a commit from the local repository to the remote repository
|
|
415
|
+
* [revert](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commits/README.md#revert) - Revert a commit in the local repository
|
|
416
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commits/README.md#get) - Retrieve the diff and log message for a commit
|
|
417
|
+
* [undo](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commits/README.md#undo) - Discard uncommitted (staged) changes
|
|
418
|
+
|
|
419
|
+
#### [versions.commits.files](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commitsfiles/README.md)
|
|
420
|
+
|
|
421
|
+
* [count](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commitsfiles/README.md#count) - Retrieve a count of files that changed since a commit
|
|
422
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/commitsfiles/README.md#list) - Retrieve the names and statuses of files that changed since a commit
|
|
423
|
+
|
|
424
|
+
#### [versions.configs](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versionsconfigs/README.md)
|
|
425
|
+
|
|
426
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versionsconfigs/README.md#get) - Retrieve the configuration and status for the Git integration
|
|
427
|
+
|
|
428
|
+
#### [versions.statuses](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/statuses/README.md)
|
|
429
|
+
|
|
430
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/statuses/README.md#get) - Retrieve the status of the current working tree
|
|
393
431
|
|
|
394
432
|
</details>
|
|
395
433
|
<!-- End Available Resources and Operations [operations] -->
|
|
@@ -607,7 +645,7 @@ with CriblControlPlane(
|
|
|
607
645
|
|
|
608
646
|
|
|
609
647
|
**Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
|
|
610
|
-
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of
|
|
648
|
+
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 60 methods.*
|
|
611
649
|
* [`ResponseValidationError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
|
612
650
|
|
|
613
651
|
</details>
|
|
@@ -4,10 +4,16 @@ cribl_control_plane/_hooks/clientcredentials.py,sha256=gVQkktlv3q4-AHOdbQl5r8i-G
|
|
|
4
4
|
cribl_control_plane/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
|
5
5
|
cribl_control_plane/_hooks/sdkhooks.py,sha256=ggXjME1_Rdv8CVCg1XHqB83eYtbxzKyhXyfQ36Yc1gA,2816
|
|
6
6
|
cribl_control_plane/_hooks/types.py,sha256=Tw_C4zTZm01rW_89VDEUpvQ8KQr1WxN0Gu_-s_fYSPc,2998
|
|
7
|
-
cribl_control_plane/_version.py,sha256=
|
|
8
|
-
cribl_control_plane/
|
|
7
|
+
cribl_control_plane/_version.py,sha256=0GRyiCsrGaLGVO726ENgnpQirTsT1clR2vfEowUEB10,542
|
|
8
|
+
cribl_control_plane/acl.py,sha256=i5VLS1bV59xJtfyumzNXWCOd4TQJ5ULY5fYM4enlw-k,8185
|
|
9
|
+
cribl_control_plane/auth_sdk.py,sha256=FQZpAERAlpw6Xk-mkUdalUDSekftklv_Du4i2TLDilk,496
|
|
9
10
|
cribl_control_plane/basesdk.py,sha256=amvvB5iPT7c-L6NLo2Rhu2f7xWaapsa6OfQ37SICXOw,11954
|
|
10
|
-
cribl_control_plane/
|
|
11
|
+
cribl_control_plane/branches.py,sha256=Iv6mEtn0hFq4tQvbaMOnlx7WwAwdsQcfpBAhkq76tDM,14083
|
|
12
|
+
cribl_control_plane/commits.py,sha256=odkE_abcm6_x-18FJq8HMePh-kK-U_6g9CewdtPlDsM,46126
|
|
13
|
+
cribl_control_plane/commits_files.py,sha256=maHYZmmJlz8RzsvFZElpbzukJcMXbxwGRFB8gOQp_js,14795
|
|
14
|
+
cribl_control_plane/configs_versions.py,sha256=hwLr0gKY6eyzbIWijvb_zNzWqF3Kas9nXXaU62Wgz2I,7650
|
|
15
|
+
cribl_control_plane/destinations.py,sha256=vb-omjGCOLJqdZKU-0TbDU6fdtOmj4RNngHXGMkn4ew,36309
|
|
16
|
+
cribl_control_plane/destinations_pq.py,sha256=XTEevuMoc0BXOej4j_eMI1mwiqDWWyJnHTL9WhIaQw8,14537
|
|
11
17
|
cribl_control_plane/errors/__init__.py,sha256=Xyh3WNPYYsJGQfGBLeaaK6eqwsJOtx-__zmvwwr4Mns,1833
|
|
12
18
|
cribl_control_plane/errors/apierror.py,sha256=Z3b3zk672zHljcdijGLJeJ2LiP1f3VpVDEqUuF7LDAA,1253
|
|
13
19
|
cribl_control_plane/errors/criblcontrolplaneerror.py,sha256=P9SU33LkmvyURdJbndHJxXu2KW_3u059peZJ8C80LfM,724
|
|
@@ -15,11 +21,13 @@ cribl_control_plane/errors/error.py,sha256=fZ72R_qeZ0-xd514dVqKKiqh7zzLmnkpPJfck
|
|
|
15
21
|
cribl_control_plane/errors/healthstatus_error.py,sha256=Hgn36yszsiYPS3cG__-PKHDDbPn6tt_ybD_UNw5r9b4,950
|
|
16
22
|
cribl_control_plane/errors/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
|
|
17
23
|
cribl_control_plane/errors/responsevalidationerror.py,sha256=TvZ9dOsy-oFBYA_wZCOOEXeGKMBQtzCVX-1-i7epQTE,720
|
|
18
|
-
cribl_control_plane/
|
|
24
|
+
cribl_control_plane/groups_configs.py,sha256=Tp0DFJ-zCNF_fvtnxCxVSkmrDl1IP6bRF7Irg2CZXAM,543
|
|
25
|
+
cribl_control_plane/groups_sdk.py,sha256=q_uaswtYvtb28t0CWah76cYx27TUY9it-FM_v0D2o2g,58265
|
|
19
26
|
cribl_control_plane/health.py,sha256=mDYmC13IE_M9jTVKKBOr5aeZ5QArUURLT1PyPpvn5Ho,6719
|
|
27
|
+
cribl_control_plane/hectokens.py,sha256=Oe4_wjPk-UlWOaOmx5wxDteQReTsiCKvrjDopxPnHOM,18845
|
|
20
28
|
cribl_control_plane/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
21
29
|
cribl_control_plane/lakedatasets.py,sha256=Y0sEW-RZIbgKuDeAAhf7m4q8iNRJn1hg38sARR3eBfQ,46144
|
|
22
|
-
cribl_control_plane/models/__init__.py,sha256=
|
|
30
|
+
cribl_control_plane/models/__init__.py,sha256=UbbunKgmUtu7_eECfqKi3vmp566uJUzz0exD83dMSA8,352650
|
|
23
31
|
cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
|
|
24
32
|
cribl_control_plane/models/appmode.py,sha256=5xRJz9oP5ah4b6dcay4Q1IbQ9irm6k6x2BrTNysIMY4,300
|
|
25
33
|
cribl_control_plane/models/authtoken.py,sha256=uW0aIs8j14CQzFM2ueY5GIWFulna91cigBWQ3oPlDgY,295
|
|
@@ -42,7 +50,6 @@ cribl_control_plane/models/createroutesappendbyidop.py,sha256=_Fo5lDkv-lqPxS2R59
|
|
|
42
50
|
cribl_control_plane/models/createversioncommitop.py,sha256=Fez4Jsmqc7H8VJctK6UR-ay7ZihL7dNg5zPBLOeDK4E,792
|
|
43
51
|
cribl_control_plane/models/createversionpushop.py,sha256=lWAZSdUEgwWEvXuo5I5yac1PYd9IOY6ZQTY0mRSo9Nc,686
|
|
44
52
|
cribl_control_plane/models/createversionrevertop.py,sha256=C6d8MMyX6Yq5ZnDuKlxAsBN4RVYnSDw6WezZPNDoyzk,1523
|
|
45
|
-
cribl_control_plane/models/createversionsyncop.py,sha256=pUDglj6QkJ7q-f4DEm1ooR-EfEK4mrOQmy5djmB1r8s,686
|
|
46
53
|
cribl_control_plane/models/createversionundoop.py,sha256=e6sdpq275MNVE3r1T4rlvysvp4oNQTysfJNCQR0Hm4U,1044
|
|
47
54
|
cribl_control_plane/models/criblevent.py,sha256=eT6WbxhOOCx5OQLkAfhwG6IeSUuUmF7hLTxeCHut4bo,361
|
|
48
55
|
cribl_control_plane/models/cribllakedataset.py,sha256=4txRkDEkM-9fLG0my7Sl9IhEW0v6RYdH0FNW5gtUE-g,2303
|
|
@@ -262,14 +269,19 @@ cribl_control_plane/models/updatepacksbyidop.py,sha256=nQeRQF-NTOCRMWz_gXfYlN0-I
|
|
|
262
269
|
cribl_control_plane/models/updatepipelinebyidop.py,sha256=B13h6gadw4NV7waH6yoDKCR2YCzVS8XZrzB_5PG9CmE,1410
|
|
263
270
|
cribl_control_plane/models/updateroutesbyidop.py,sha256=CoEURdSBZ4-pp1WSncdT_oZCbx3o7MlmMSDY0D44D_o,1358
|
|
264
271
|
cribl_control_plane/models/useraccesscontrollist.py,sha256=UNM3mdqFByd9GAovAi26z9y-5H15hrKDzw0M-f-Pn2o,483
|
|
265
|
-
cribl_control_plane/nodes.py,sha256=
|
|
272
|
+
cribl_control_plane/nodes.py,sha256=XnIakBCj8yatvp2lqM8h4n9Ya0LAflHRj6rciFozbLw,16309
|
|
266
273
|
cribl_control_plane/packs.py,sha256=Ka1zVuKCDO4Wi6Z8PWYh8KMdVoLSdO6_Mec2rgqg8Ao,31864
|
|
267
274
|
cribl_control_plane/pipelines.py,sha256=gHyI9nwt_3cxBQ7gt6EPUPs9NuRC0iA_PoFRAE4Z-V8,35892
|
|
268
275
|
cribl_control_plane/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
269
276
|
cribl_control_plane/routes_sdk.py,sha256=Snb8Dmim7Fm9EsMqbyjuPnXKmqhJ10L_t1bujJUWTyM,31025
|
|
270
|
-
cribl_control_plane/
|
|
277
|
+
cribl_control_plane/samples.py,sha256=1eBTiQ4dgHFN2-ZSxawJ9TpXufxZmbEJBxJQs69HFIE,15803
|
|
278
|
+
cribl_control_plane/sdk.py,sha256=UcM5PrBF5eQKCivl1WEPbIIZ5I6IPQLdi3K4GUxijbY,7463
|
|
271
279
|
cribl_control_plane/sdkconfiguration.py,sha256=bit6SSOyHqvibdtgNad5_ZcgMotk8NJfgHpKsBK8HFg,1259
|
|
272
|
-
cribl_control_plane/sources.py,sha256=
|
|
280
|
+
cribl_control_plane/sources.py,sha256=h3TjlBzLcXSReBXLKUxr_cFgmASmeS2rcnHBIF-Sokk,35998
|
|
281
|
+
cribl_control_plane/statuses.py,sha256=kcNioEuIpmogvmQn_qeei-tJkf1vyEEO3aefmKFyChs,7461
|
|
282
|
+
cribl_control_plane/summaries.py,sha256=N86J6kQ8biZVarzFnEAO10XrbLHdumPs-fUhamQ-LIs,7468
|
|
283
|
+
cribl_control_plane/teams.py,sha256=uEUfjr56W7_lzFVYdWfG7QVXr_sALvmlWoVBE1Yv1sc,8538
|
|
284
|
+
cribl_control_plane/tokens.py,sha256=iP_0_Pl8LFgs_ektBTU-bvRjJq6JQ3q7qMWIeIIuXmc,7220
|
|
273
285
|
cribl_control_plane/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
274
286
|
cribl_control_plane/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
275
287
|
cribl_control_plane/utils/__init__.py,sha256=BQt6xIdX86A6mOHAnxAXBXaPgdUJtDy2-_4ymAsII_Y,5436
|
|
@@ -289,7 +301,8 @@ cribl_control_plane/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6
|
|
|
289
301
|
cribl_control_plane/utils/unmarshal_json_response.py,sha256=yxi3F_O3SCU0SrexiR3BvQS-E81pW2siLgpTXYegAyg,595
|
|
290
302
|
cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
291
303
|
cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
292
|
-
cribl_control_plane/
|
|
293
|
-
cribl_control_plane
|
|
294
|
-
cribl_control_plane-0.0.
|
|
295
|
-
cribl_control_plane-0.0.
|
|
304
|
+
cribl_control_plane/versions.py,sha256=Wdaxc2wZeEeD12wAh7SQ0RGG9KgwKaWQ7bc8qOQ8oAo,920
|
|
305
|
+
cribl_control_plane/versions_configs.py,sha256=nPgG2iQyehB4MuRSeNbY4KFWZSPW_oNlr2306Oks58k,7178
|
|
306
|
+
cribl_control_plane-0.0.27.dist-info/METADATA,sha256=zyE8LGuYyUrq6qShihdEpf62Zt2PgXDh97GC8ExVIig,38579
|
|
307
|
+
cribl_control_plane-0.0.27.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
308
|
+
cribl_control_plane-0.0.27.dist-info/RECORD,,
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane.types import BaseModel
|
|
5
|
-
from typing import Any, Dict, List, Optional
|
|
6
|
-
from typing_extensions import NotRequired, TypedDict
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class CreateVersionSyncResponseTypedDict(TypedDict):
|
|
10
|
-
r"""a list of any objects"""
|
|
11
|
-
|
|
12
|
-
count: NotRequired[int]
|
|
13
|
-
r"""number of items present in the items array"""
|
|
14
|
-
items: NotRequired[List[Dict[str, Any]]]
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class CreateVersionSyncResponse(BaseModel):
|
|
18
|
-
r"""a list of any objects"""
|
|
19
|
-
|
|
20
|
-
count: Optional[int] = None
|
|
21
|
-
r"""number of items present in the items array"""
|
|
22
|
-
|
|
23
|
-
items: Optional[List[Dict[str, Any]]] = None
|