cribl-control-plane 0.0.14__py3-none-any.whl → 0.0.15__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/models/__init__.py +95 -6
- cribl_control_plane/models/createpipelineop.py +24 -0
- cribl_control_plane/models/deletepipelinebyidop.py +37 -0
- cribl_control_plane/models/getpipelinebyidop.py +37 -0
- cribl_control_plane/models/listpipelineop.py +24 -0
- cribl_control_plane/models/pipeline.py +70 -0
- cribl_control_plane/models/pipelinefunctionconf.py +53 -0
- cribl_control_plane/models/routes.py +6 -6
- cribl_control_plane/models/updatepipelinebyidop.py +47 -0
- cribl_control_plane/pipelines.py +903 -0
- cribl_control_plane/routes_sdk.py +8 -4
- cribl_control_plane/sdk.py +4 -0
- {cribl_control_plane-0.0.14.dist-info → cribl_control_plane-0.0.15.dist-info}/METADATA +10 -2
- {cribl_control_plane-0.0.14.dist-info → cribl_control_plane-0.0.15.dist-info}/RECORD +16 -8
- {cribl_control_plane-0.0.14.dist-info → cribl_control_plane-0.0.15.dist-info}/WHEEL +0 -0
|
@@ -355,7 +355,9 @@ class RoutesSDK(BaseSDK):
|
|
|
355
355
|
],
|
|
356
356
|
id: Optional[str] = None,
|
|
357
357
|
groups: Optional[
|
|
358
|
-
Union[
|
|
358
|
+
Union[
|
|
359
|
+
Dict[str, models.RoutesGroups], Dict[str, models.RoutesGroupsTypedDict]
|
|
360
|
+
]
|
|
359
361
|
] = None,
|
|
360
362
|
comments: Optional[
|
|
361
363
|
Union[List[models.Comment], List[models.CommentTypedDict]]
|
|
@@ -395,7 +397,7 @@ class RoutesSDK(BaseSDK):
|
|
|
395
397
|
id=id,
|
|
396
398
|
routes=utils.get_pydantic_model(routes, List[models.RoutesRouteInput]),
|
|
397
399
|
groups=utils.get_pydantic_model(
|
|
398
|
-
groups, Optional[Dict[str, models.
|
|
400
|
+
groups, Optional[Dict[str, models.RoutesGroups]]
|
|
399
401
|
),
|
|
400
402
|
comments=utils.get_pydantic_model(
|
|
401
403
|
comments, Optional[List[models.Comment]]
|
|
@@ -469,7 +471,9 @@ class RoutesSDK(BaseSDK):
|
|
|
469
471
|
],
|
|
470
472
|
id: Optional[str] = None,
|
|
471
473
|
groups: Optional[
|
|
472
|
-
Union[
|
|
474
|
+
Union[
|
|
475
|
+
Dict[str, models.RoutesGroups], Dict[str, models.RoutesGroupsTypedDict]
|
|
476
|
+
]
|
|
473
477
|
] = None,
|
|
474
478
|
comments: Optional[
|
|
475
479
|
Union[List[models.Comment], List[models.CommentTypedDict]]
|
|
@@ -509,7 +513,7 @@ class RoutesSDK(BaseSDK):
|
|
|
509
513
|
id=id,
|
|
510
514
|
routes=utils.get_pydantic_model(routes, List[models.RoutesRouteInput]),
|
|
511
515
|
groups=utils.get_pydantic_model(
|
|
512
|
-
groups, Optional[Dict[str, models.
|
|
516
|
+
groups, Optional[Dict[str, models.RoutesGroups]]
|
|
513
517
|
),
|
|
514
518
|
comments=utils.get_pydantic_model(
|
|
515
519
|
comments, Optional[List[models.Comment]]
|
cribl_control_plane/sdk.py
CHANGED
|
@@ -17,6 +17,7 @@ if TYPE_CHECKING:
|
|
|
17
17
|
from cribl_control_plane.auth_sdk import AuthSDK
|
|
18
18
|
from cribl_control_plane.health import Health
|
|
19
19
|
from cribl_control_plane.outputs import Outputs
|
|
20
|
+
from cribl_control_plane.pipelines import Pipelines
|
|
20
21
|
from cribl_control_plane.routes_sdk import RoutesSDK
|
|
21
22
|
from cribl_control_plane.sources import Sources
|
|
22
23
|
|
|
@@ -28,6 +29,8 @@ class CriblControlPlane(BaseSDK):
|
|
|
28
29
|
r"""Actions related to Sources"""
|
|
29
30
|
outputs: "Outputs"
|
|
30
31
|
r"""Actions related to outputs"""
|
|
32
|
+
pipelines: "Pipelines"
|
|
33
|
+
r"""Actions related to Pipelines"""
|
|
31
34
|
routes: "RoutesSDK"
|
|
32
35
|
r"""Actions related to Routes"""
|
|
33
36
|
auth: "AuthSDK"
|
|
@@ -37,6 +40,7 @@ class CriblControlPlane(BaseSDK):
|
|
|
37
40
|
_sub_sdk_map = {
|
|
38
41
|
"sources": ("cribl_control_plane.sources", "Sources"),
|
|
39
42
|
"outputs": ("cribl_control_plane.outputs", "Outputs"),
|
|
43
|
+
"pipelines": ("cribl_control_plane.pipelines", "Pipelines"),
|
|
40
44
|
"routes": ("cribl_control_plane.routes_sdk", "RoutesSDK"),
|
|
41
45
|
"auth": ("cribl_control_plane.auth_sdk", "AuthSDK"),
|
|
42
46
|
"health": ("cribl_control_plane.health", "Health"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cribl-control-plane
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.15
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -218,6 +218,14 @@ with CriblControlPlane(
|
|
|
218
218
|
* [get_output_samples_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/outputs/README.md#get_output_samples_by_id) - Retrieve samples data for the specified output. Used to get sample data for the test action.
|
|
219
219
|
* [create_output_test_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/outputs/README.md#create_output_test_by_id) - Send sample data to an output to validate configuration or test connectivity
|
|
220
220
|
|
|
221
|
+
### [pipelines](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md)
|
|
222
|
+
|
|
223
|
+
* [list_pipeline](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#list_pipeline) - Get a list of Pipeline objects
|
|
224
|
+
* [create_pipeline](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#create_pipeline) - Create Pipeline
|
|
225
|
+
* [get_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#get_pipeline_by_id) - Get Pipeline by ID
|
|
226
|
+
* [update_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#update_pipeline_by_id) - Update Pipeline
|
|
227
|
+
* [delete_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#delete_pipeline_by_id) - Delete Pipeline
|
|
228
|
+
|
|
221
229
|
### [routes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md)
|
|
222
230
|
|
|
223
231
|
* [list_routes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#list_routes) - Get a list of Routes objects
|
|
@@ -352,7 +360,7 @@ with CriblControlPlane(
|
|
|
352
360
|
|
|
353
361
|
|
|
354
362
|
**Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
|
|
355
|
-
* [`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
|
|
363
|
+
* [`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 27 methods.*
|
|
356
364
|
* [`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.
|
|
357
365
|
|
|
358
366
|
</details>
|
|
@@ -4,7 +4,7 @@ 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=
|
|
7
|
+
cribl_control_plane/_version.py,sha256=zinTC1-uXd7GUFDlyMoKyN_HeCDZVWRWHWTWmtZEYO8,542
|
|
8
8
|
cribl_control_plane/auth_sdk.py,sha256=Jxw8hPHbBFay5eXcaRBtgdCC06mh5XHkRbZcIM0vvB8,7431
|
|
9
9
|
cribl_control_plane/basesdk.py,sha256=amvvB5iPT7c-L6NLo2Rhu2f7xWaapsa6OfQ37SICXOw,11954
|
|
10
10
|
cribl_control_plane/errors/__init__.py,sha256=Xyh3WNPYYsJGQfGBLeaaK6eqwsJOtx-__zmvwwr4Mns,1833
|
|
@@ -16,22 +16,25 @@ cribl_control_plane/errors/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon
|
|
|
16
16
|
cribl_control_plane/errors/responsevalidationerror.py,sha256=TvZ9dOsy-oFBYA_wZCOOEXeGKMBQtzCVX-1-i7epQTE,720
|
|
17
17
|
cribl_control_plane/health.py,sha256=nK_Q4lDXi8zkfAqcIv9X4zBGi8BzomaBQWBD7TsSwLk,6743
|
|
18
18
|
cribl_control_plane/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
19
|
-
cribl_control_plane/models/__init__.py,sha256=
|
|
19
|
+
cribl_control_plane/models/__init__.py,sha256=IMbXHZc0fjzh__huaTMCEjcmwut_Y1IgNQfhxawgDp8,316058
|
|
20
20
|
cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
|
|
21
21
|
cribl_control_plane/models/authtoken.py,sha256=uW0aIs8j14CQzFM2ueY5GIWFulna91cigBWQ3oPlDgY,295
|
|
22
22
|
cribl_control_plane/models/createinputhectokenbyidop.py,sha256=KfgOUUTbWqoDIPmwmFmKi-HzqRQFt_KpmKqkqXBzjAA,1438
|
|
23
23
|
cribl_control_plane/models/createinputop.py,sha256=l5Hz9ANzw4Gjh25FVf_okFzXxZWjA7GOx1tp8yWhKaI,701
|
|
24
24
|
cribl_control_plane/models/createoutputop.py,sha256=ICfFYevaHDMI9Y3YU6jJAncukiyf8qSsy7z5F0Nyszw,708
|
|
25
25
|
cribl_control_plane/models/createoutputtestbyidop.py,sha256=9ANFrcGZ16v-G_5yUt-K7TFgIkG2kIrDZeF2XkoI_SY,1523
|
|
26
|
+
cribl_control_plane/models/createpipelineop.py,sha256=JNTwQf1nQk5kCYbAvSlLex2X9sTzjwIHoeMeIUbD-NE,726
|
|
26
27
|
cribl_control_plane/models/createroutesappendbyidop.py,sha256=_Fo5lDkv-lqPxS2R59cIBP9A9jnc9SpPjAwNg1dCLI8,1515
|
|
27
28
|
cribl_control_plane/models/criblevent.py,sha256=eT6WbxhOOCx5OQLkAfhwG6IeSUuUmF7hLTxeCHut4bo,361
|
|
28
29
|
cribl_control_plane/models/deleteinputbyidop.py,sha256=8mFzAyTUv6EJ-5Ivm4TSklARGQVim5busV7u51zHyzo,1067
|
|
29
30
|
cribl_control_plane/models/deleteoutputbyidop.py,sha256=jtuYImnwVzmfYLcB1UgSpoZlttJ3OQa_tzKFd4U7Xgo,1076
|
|
30
31
|
cribl_control_plane/models/deleteoutputpqbyidop.py,sha256=3UFD7_mNKutqVVfqW5xeAKQPmrbOP5OytcGE-La6Zgg,1032
|
|
32
|
+
cribl_control_plane/models/deletepipelinebyidop.py,sha256=2TPgET3YUtlqvAjW-iZXcx0yQVBLqVf9UjjgGJzAZ9E,1098
|
|
31
33
|
cribl_control_plane/models/getinputbyidop.py,sha256=5V8AlcIjtaLkmBB1y9Aivng8TmM4CmfnfOUBIQ120_0,1049
|
|
32
34
|
cribl_control_plane/models/getoutputbyidop.py,sha256=H7vIyU-ODU0Lmh71v4FmNawU_mBMBksyzUC0WzwXRfQ,1058
|
|
33
35
|
cribl_control_plane/models/getoutputpqbyidop.py,sha256=H9Y416LFT2NMbucG16Xyzv48Gr4NhCxTclnPYv0mtLA,1020
|
|
34
36
|
cribl_control_plane/models/getoutputsamplesbyidop.py,sha256=D3dOQU5Ca66IJm-xdUITpvNic1ubY-R3zHUS2ILuNv0,1177
|
|
37
|
+
cribl_control_plane/models/getpipelinebyidop.py,sha256=ky8YvLZRrUCs4HTiAvMcQ-nfIWb8Ke7NeDJMw1xdEho,1080
|
|
35
38
|
cribl_control_plane/models/getroutesbyidop.py,sha256=9TeXnLc_WkHoAYbykYxlDP-I0AzsrlYi-iA28jhmpZ8,1058
|
|
36
39
|
cribl_control_plane/models/healthstatus.py,sha256=oGS-ntDNekMLdbjGQtGTDsFh7gDn_Fz9KUVyLix29m8,1056
|
|
37
40
|
cribl_control_plane/models/input.py,sha256=qJc9jqd52wQ1s5p76_ZgafxK7mQeuSoememiF2go62U,7604
|
|
@@ -95,6 +98,7 @@ cribl_control_plane/models/inputwiz.py,sha256=Qy2OI2OaNIWiO14VAR3KDLqr-qt3ocikEF
|
|
|
95
98
|
cribl_control_plane/models/inputzscalerhec.py,sha256=vzLUVG71NVZFRsMFThQmrwSv25azZkHc__UGD6QW0fQ,20957
|
|
96
99
|
cribl_control_plane/models/listinputop.py,sha256=oj7CRRp7DTtHI3WKPKLoEL30a_JrMp48V33pRPgUMmE,697
|
|
97
100
|
cribl_control_plane/models/listoutputop.py,sha256=MvTcC1BprDokYNU2xrTG4hkhS9jfhA-rAPkI1LLlTdw,704
|
|
101
|
+
cribl_control_plane/models/listpipelineop.py,sha256=w-tyP0jqc3YKsSceTQJYuhJ7v-ZqgZWVVfO527YFGFg,722
|
|
98
102
|
cribl_control_plane/models/listroutesop.py,sha256=xqutne_6fjll4fIDk8uT7W7RVFB3dkIUealZLRUgDEA,704
|
|
99
103
|
cribl_control_plane/models/logininfo.py,sha256=LK3bou-rX4W9HBu2HrR1z6eGibrhwY_y7dy0Z60ygXE,338
|
|
100
104
|
cribl_control_plane/models/output.py,sha256=R38_AL1cRyZecwKBwJshPx-2Mif5sfKko_8udQVZP-k,8734
|
|
@@ -165,9 +169,11 @@ cribl_control_plane/models/outputtestresponse.py,sha256=cKeXPvSpCzU6cWpXvHoujp-p
|
|
|
165
169
|
cribl_control_plane/models/outputwavefront.py,sha256=jScBO-aQbsPWXOxdvFLc4sMS0r2jFCosg31Ui4M5Ch0,18368
|
|
166
170
|
cribl_control_plane/models/outputwebhook.py,sha256=w0G-YILMVuAO5hzs5xVtLgRpdmjFIOyYOlV9WLLoHUA,34235
|
|
167
171
|
cribl_control_plane/models/outputxsiam.py,sha256=cbawTY-Me8G_a6UhKgtdNoaw5MRQXEXqgiOquGS7R4k,20460
|
|
172
|
+
cribl_control_plane/models/pipeline.py,sha256=AaoC5euxac-fwul-LM1mNf03hCzrXmHQGZLMrUWuS4g,2130
|
|
173
|
+
cribl_control_plane/models/pipelinefunctionconf.py,sha256=X61RPaoYpa_UZWavnQiNSaXlXqS2EdUK51MQ02IvCeo,1646
|
|
168
174
|
cribl_control_plane/models/routecloneconf.py,sha256=ESvEj0vl58BGOwJB5kYu3vMAm88JizYHXU7qorGdw9M,293
|
|
169
175
|
cribl_control_plane/models/routeconf.py,sha256=whFyvzWwmEqAo_0HoTFKJTZqQ2p8kdPKaZJIlh9nS58,1451
|
|
170
|
-
cribl_control_plane/models/routes.py,sha256=
|
|
176
|
+
cribl_control_plane/models/routes.py,sha256=MT7A6fAVe8p5z6-3OufZ7ThChapmxEpdhhXUPTcUXbs,2662
|
|
171
177
|
cribl_control_plane/models/routesroute.py,sha256=7hFUWpgVDBj0N117IFxZRGkFqJntbe4NyBakVyMKsTY,2339
|
|
172
178
|
cribl_control_plane/models/routesroute_input.py,sha256=VmRpoMuLE5_8yavR_Q8lpHEmEbF6t26Ck1Jp9KBPGqY,2294
|
|
173
179
|
cribl_control_plane/models/schemeclientoauth.py,sha256=MaZs9lOB3_y8uTZNTHIuAG_X66ZrEpRj0qZGAsBfXFM,712
|
|
@@ -176,11 +182,13 @@ cribl_control_plane/models/updatehectokenrequest.py,sha256=Pq0JnAZuDqdU_g6mmCvfx
|
|
|
176
182
|
cribl_control_plane/models/updateinputbyidop.py,sha256=DtufjoD9UEPnKT2QOggfMDB1Pv2rwj9cEVuAJKbv39U,1300
|
|
177
183
|
cribl_control_plane/models/updateinputhectokenbyidandtokenop.py,sha256=-Q8ZP1yDmQmB9aylQNTs4zR1q6NH-Gi2fhlyiDyqWKI,1677
|
|
178
184
|
cribl_control_plane/models/updateoutputbyidop.py,sha256=n4AHGPZEw1a9Iox5jWx6xynXIHqYXQIkslU-mZ4LAFg,1313
|
|
185
|
+
cribl_control_plane/models/updatepipelinebyidop.py,sha256=CPCiszliWVcewMyZ26_R8OvtbJA8RwrEj_XQFoZTSJg,1420
|
|
179
186
|
cribl_control_plane/models/updateroutesbyidop.py,sha256=k6vejvOHHqyfp1oR3aDXEXYIUu6NeRHBl7s9k-jcyiE,1440
|
|
180
187
|
cribl_control_plane/outputs.py,sha256=nwSb8cmvcJsDLqqBQH_l6BsqbGZj81B6tPgF9ib5jOw,65345
|
|
188
|
+
cribl_control_plane/pipelines.py,sha256=L-HbP4gyl05hxb4-HNvkFrk1w6xFccfNr4-AJy3Vjxo,36038
|
|
181
189
|
cribl_control_plane/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
182
|
-
cribl_control_plane/routes_sdk.py,sha256=
|
|
183
|
-
cribl_control_plane/sdk.py,sha256=
|
|
190
|
+
cribl_control_plane/routes_sdk.py,sha256=bxL7KZKdw4Ot78Q3V4Ea5SWrhnEM0fHdRUwQRDeF0Oc,31227
|
|
191
|
+
cribl_control_plane/sdk.py,sha256=oTCLxyNErQJI5KXuOy0i5VKzAnQxpKRIV3SkC98KW7w,6863
|
|
184
192
|
cribl_control_plane/sdkconfiguration.py,sha256=bit6SSOyHqvibdtgNad5_ZcgMotk8NJfgHpKsBK8HFg,1259
|
|
185
193
|
cribl_control_plane/sources.py,sha256=fx1GpffRuVCDcln-qzpaGuYb1-6QWAZUtUWsc9w2LY4,54189
|
|
186
194
|
cribl_control_plane/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
@@ -202,6 +210,6 @@ cribl_control_plane/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6
|
|
|
202
210
|
cribl_control_plane/utils/unmarshal_json_response.py,sha256=yxi3F_O3SCU0SrexiR3BvQS-E81pW2siLgpTXYegAyg,595
|
|
203
211
|
cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
204
212
|
cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
205
|
-
cribl_control_plane-0.0.
|
|
206
|
-
cribl_control_plane-0.0.
|
|
207
|
-
cribl_control_plane-0.0.
|
|
213
|
+
cribl_control_plane-0.0.15.dist-info/METADATA,sha256=N8V--3_QB6En-LJ8M9QomhRnTk64wyc4ZWFgtMeBCKo,23097
|
|
214
|
+
cribl_control_plane-0.0.15.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
215
|
+
cribl_control_plane-0.0.15.dist-info/RECORD,,
|
|
File without changes
|