cribl-control-plane 0.0.18__py3-none-any.whl → 0.0.19__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 (65) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/distributed.py +187 -0
  3. cribl_control_plane/errors/healthstatus_error.py +1 -1
  4. cribl_control_plane/groups_sdk.py +1291 -0
  5. cribl_control_plane/lake.py +479 -0
  6. cribl_control_plane/models/__init__.py +602 -3
  7. cribl_control_plane/models/appmode.py +13 -0
  8. cribl_control_plane/models/cacheconnection.py +44 -0
  9. cribl_control_plane/models/cacheconnectionbackfillstatus.py +12 -0
  10. cribl_control_plane/models/cloudprovider.py +9 -0
  11. cribl_control_plane/models/commit.py +30 -0
  12. cribl_control_plane/models/configgroup.py +116 -0
  13. cribl_control_plane/models/configgroupcloud.py +48 -0
  14. cribl_control_plane/models/configgrouplookups.py +34 -0
  15. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +48 -0
  16. cribl_control_plane/models/createpacksop.py +24 -0
  17. cribl_control_plane/models/createproductsgroupsbyproductop.py +54 -0
  18. cribl_control_plane/models/cribllakedataset.py +74 -0
  19. cribl_control_plane/models/datasetmetadata.py +39 -0
  20. cribl_control_plane/models/datasetmetadataruninfo.py +28 -0
  21. cribl_control_plane/models/deployrequest.py +18 -0
  22. cribl_control_plane/models/deployrequestlookups.py +28 -0
  23. cribl_control_plane/models/distributedsummary.py +63 -0
  24. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +40 -0
  25. cribl_control_plane/models/getgroupsaclbyidop.py +63 -0
  26. cribl_control_plane/models/getgroupsbyidop.py +49 -0
  27. cribl_control_plane/models/getgroupsconfigversionbyidop.py +36 -0
  28. cribl_control_plane/models/getpacksop.py +40 -0
  29. cribl_control_plane/models/getproductsgroupsaclteamsbyproductandidop.py +78 -0
  30. cribl_control_plane/models/getproductsgroupsbyproductop.py +58 -0
  31. cribl_control_plane/models/getsummaryop.py +46 -0
  32. cribl_control_plane/models/getsummaryworkersop.py +39 -0
  33. cribl_control_plane/models/getworkersop.py +82 -0
  34. cribl_control_plane/models/hbcriblinfo.py +80 -0
  35. cribl_control_plane/models/hbleaderinfo.py +23 -0
  36. cribl_control_plane/models/healthstatus.py +3 -3
  37. cribl_control_plane/models/heartbeatmetadata.py +122 -0
  38. cribl_control_plane/models/lakedatasetsearchconfig.py +18 -0
  39. cribl_control_plane/models/lakehouseconnectiontype.py +9 -0
  40. cribl_control_plane/models/lookupversions.py +13 -0
  41. cribl_control_plane/models/masterworkerentry.py +84 -0
  42. cribl_control_plane/models/nodeactiveupgradestatus.py +10 -0
  43. cribl_control_plane/models/nodefailedupgradestatus.py +9 -0
  44. cribl_control_plane/models/nodeprovidedinfo.py +184 -0
  45. cribl_control_plane/models/nodeskippedupgradestatus.py +11 -0
  46. cribl_control_plane/models/nodeupgradestate.py +11 -0
  47. cribl_control_plane/models/nodeupgradestatus.py +30 -0
  48. cribl_control_plane/models/packinfo.py +73 -0
  49. cribl_control_plane/models/packinstallinfo.py +76 -0
  50. cribl_control_plane/models/packrequestbody.py +75 -0
  51. cribl_control_plane/models/rbacresource.py +14 -0
  52. cribl_control_plane/models/resourcepolicy.py +24 -0
  53. cribl_control_plane/models/restartresponse.py +26 -0
  54. cribl_control_plane/models/teamaccesscontrollist.py +18 -0
  55. cribl_control_plane/models/updategroupsdeploybyidop.py +46 -0
  56. cribl_control_plane/models/updatepacksop.py +37 -0
  57. cribl_control_plane/models/updateworkersrestartop.py +24 -0
  58. cribl_control_plane/models/useraccesscontrollist.py +18 -0
  59. cribl_control_plane/packs.py +623 -0
  60. cribl_control_plane/sdk.py +24 -0
  61. cribl_control_plane/teams.py +203 -0
  62. cribl_control_plane/workers_sdk.py +555 -0
  63. {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.19.dist-info}/METADATA +42 -8
  64. {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.19.dist-info}/RECORD +65 -8
  65. {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.19.dist-info}/WHEEL +0 -0
@@ -0,0 +1,76 @@
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
+ import pydantic
6
+ from typing import Any, Dict, List, Optional
7
+ from typing_extensions import Annotated, NotRequired, TypedDict
8
+
9
+
10
+ class PackInstallInfoTagsTypedDict(TypedDict):
11
+ data_type: List[str]
12
+ domain: List[str]
13
+ streamtags: List[str]
14
+ technology: List[str]
15
+
16
+
17
+ class PackInstallInfoTags(BaseModel):
18
+ data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
19
+
20
+ domain: List[str]
21
+
22
+ streamtags: List[str]
23
+
24
+ technology: List[str]
25
+
26
+
27
+ class PackInstallInfoTypedDict(TypedDict):
28
+ id: str
29
+ source: str
30
+ warnings: Any
31
+ author: NotRequired[str]
32
+ description: NotRequired[str]
33
+ display_name: NotRequired[str]
34
+ exports: NotRequired[List[str]]
35
+ inputs: NotRequired[float]
36
+ is_disabled: NotRequired[bool]
37
+ min_log_stream_version: NotRequired[str]
38
+ outputs: NotRequired[float]
39
+ settings: NotRequired[Dict[str, Any]]
40
+ spec: NotRequired[str]
41
+ tags: NotRequired[PackInstallInfoTagsTypedDict]
42
+ version: NotRequired[str]
43
+
44
+
45
+ class PackInstallInfo(BaseModel):
46
+ id: str
47
+
48
+ source: str
49
+
50
+ warnings: Any
51
+
52
+ author: Optional[str] = None
53
+
54
+ description: Optional[str] = None
55
+
56
+ display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
57
+
58
+ exports: Optional[List[str]] = None
59
+
60
+ inputs: Optional[float] = None
61
+
62
+ is_disabled: Annotated[Optional[bool], pydantic.Field(alias="isDisabled")] = None
63
+
64
+ min_log_stream_version: Annotated[
65
+ Optional[str], pydantic.Field(alias="minLogStreamVersion")
66
+ ] = None
67
+
68
+ outputs: Optional[float] = None
69
+
70
+ settings: Optional[Dict[str, Any]] = None
71
+
72
+ spec: Optional[str] = None
73
+
74
+ tags: Optional[PackInstallInfoTags] = None
75
+
76
+ version: Optional[str] = None
@@ -0,0 +1,75 @@
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
+ import pydantic
6
+ from typing import List, Optional
7
+ from typing_extensions import Annotated, NotRequired, TypedDict
8
+
9
+
10
+ class PackRequestBodyTagsTypedDict(TypedDict):
11
+ data_type: List[str]
12
+ domain: List[str]
13
+ streamtags: List[str]
14
+ technology: List[str]
15
+
16
+
17
+ class PackRequestBodyTags(BaseModel):
18
+ data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
19
+
20
+ domain: List[str]
21
+
22
+ streamtags: List[str]
23
+
24
+ technology: List[str]
25
+
26
+
27
+ class PackRequestBodyTypedDict(TypedDict):
28
+ id: str
29
+ source: str
30
+ allow_custom_functions: NotRequired[bool]
31
+ author: NotRequired[str]
32
+ description: NotRequired[str]
33
+ display_name: NotRequired[str]
34
+ exports: NotRequired[List[str]]
35
+ force: NotRequired[bool]
36
+ inputs: NotRequired[float]
37
+ min_log_stream_version: NotRequired[str]
38
+ outputs: NotRequired[float]
39
+ spec: NotRequired[str]
40
+ tags: NotRequired[PackRequestBodyTagsTypedDict]
41
+ version: NotRequired[str]
42
+
43
+
44
+ class PackRequestBody(BaseModel):
45
+ id: str
46
+
47
+ source: str
48
+
49
+ allow_custom_functions: Annotated[
50
+ Optional[bool], pydantic.Field(alias="allowCustomFunctions")
51
+ ] = None
52
+
53
+ author: Optional[str] = None
54
+
55
+ description: Optional[str] = None
56
+
57
+ display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
58
+
59
+ exports: Optional[List[str]] = None
60
+
61
+ force: Optional[bool] = None
62
+
63
+ inputs: Optional[float] = None
64
+
65
+ min_log_stream_version: Annotated[
66
+ Optional[str], pydantic.Field(alias="minLogStreamVersion")
67
+ ] = None
68
+
69
+ outputs: Optional[float] = None
70
+
71
+ spec: Optional[str] = None
72
+
73
+ tags: Optional[PackRequestBodyTags] = None
74
+
75
+ version: Optional[str] = None
@@ -0,0 +1,14 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from enum import Enum
5
+
6
+
7
+ class RbacResource(str, Enum):
8
+ GROUPS = "groups"
9
+ DATASETS = "datasets"
10
+ DATASET_PROVIDERS = "dataset-providers"
11
+ PROJECTS = "projects"
12
+ DASHBOARDS = "dashboards"
13
+ MACROS = "macros"
14
+ NOTEBOOKS = "notebooks"
@@ -0,0 +1,24 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .rbacresource import RbacResource
5
+ from cribl_control_plane.types import BaseModel
6
+ from typing import Optional
7
+ from typing_extensions import NotRequired, TypedDict
8
+
9
+
10
+ class ResourcePolicyTypedDict(TypedDict):
11
+ gid: str
12
+ policy: str
13
+ type: RbacResource
14
+ id: NotRequired[str]
15
+
16
+
17
+ class ResourcePolicy(BaseModel):
18
+ gid: str
19
+
20
+ policy: str
21
+
22
+ type: RbacResource
23
+
24
+ id: Optional[str] = None
@@ -0,0 +1,26 @@
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 enum import Enum
6
+ from typing import Optional
7
+ from typing_extensions import NotRequired, TypedDict
8
+
9
+
10
+ class RestartResponseStatus(str, Enum):
11
+ ERROR = "Error"
12
+ RESTARTING = "Restarting"
13
+
14
+
15
+ class RestartResponseTypedDict(TypedDict):
16
+ id: str
17
+ status: RestartResponseStatus
18
+ message: NotRequired[str]
19
+
20
+
21
+ class RestartResponse(BaseModel):
22
+ id: str
23
+
24
+ status: RestartResponseStatus
25
+
26
+ message: Optional[str] = None
@@ -0,0 +1,18 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from typing import List
7
+ from typing_extensions import TypedDict
8
+
9
+
10
+ class TeamAccessControlListTypedDict(TypedDict):
11
+ perms: List[ResourcePolicyTypedDict]
12
+ team: str
13
+
14
+
15
+ class TeamAccessControlList(BaseModel):
16
+ perms: List[ResourcePolicy]
17
+
18
+ team: str
@@ -0,0 +1,46 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .configgroup import ConfigGroup, ConfigGroupTypedDict
5
+ from .deployrequest import DeployRequest, DeployRequestTypedDict
6
+ from cribl_control_plane.types import BaseModel
7
+ from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
8
+ from typing import List, Optional
9
+ from typing_extensions import Annotated, NotRequired, TypedDict
10
+
11
+
12
+ class UpdateGroupsDeployByIDRequestTypedDict(TypedDict):
13
+ id: str
14
+ r"""Group ID"""
15
+ deploy_request: DeployRequestTypedDict
16
+ r"""DeployRequest object"""
17
+
18
+
19
+ class UpdateGroupsDeployByIDRequest(BaseModel):
20
+ id: Annotated[
21
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
22
+ ]
23
+ r"""Group ID"""
24
+
25
+ deploy_request: Annotated[
26
+ DeployRequest,
27
+ FieldMetadata(request=RequestMetadata(media_type="application/json")),
28
+ ]
29
+ r"""DeployRequest object"""
30
+
31
+
32
+ class UpdateGroupsDeployByIDResponseTypedDict(TypedDict):
33
+ r"""a list of ConfigGroup objects"""
34
+
35
+ count: NotRequired[int]
36
+ r"""number of items present in the items array"""
37
+ items: NotRequired[List[ConfigGroupTypedDict]]
38
+
39
+
40
+ class UpdateGroupsDeployByIDResponse(BaseModel):
41
+ r"""a list of ConfigGroup objects"""
42
+
43
+ count: Optional[int] = None
44
+ r"""number of items present in the items array"""
45
+
46
+ items: Optional[List[ConfigGroup]] = None
@@ -0,0 +1,37 @@
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 cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
6
+ from typing import Any, Dict, List, Optional
7
+ from typing_extensions import Annotated, NotRequired, TypedDict
8
+
9
+
10
+ class UpdatePacksRequestTypedDict(TypedDict):
11
+ filename: NotRequired[str]
12
+ r"""the file to upload"""
13
+
14
+
15
+ class UpdatePacksRequest(BaseModel):
16
+ filename: Annotated[
17
+ Optional[str],
18
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
19
+ ] = None
20
+ r"""the file to upload"""
21
+
22
+
23
+ class UpdatePacksResponseTypedDict(TypedDict):
24
+ r"""a list of any objects"""
25
+
26
+ count: NotRequired[int]
27
+ r"""number of items present in the items array"""
28
+ items: NotRequired[List[Dict[str, Any]]]
29
+
30
+
31
+ class UpdatePacksResponse(BaseModel):
32
+ r"""a list of any objects"""
33
+
34
+ count: Optional[int] = None
35
+ r"""number of items present in the items array"""
36
+
37
+ items: Optional[List[Dict[str, Any]]] = None
@@ -0,0 +1,24 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .restartresponse import RestartResponse, RestartResponseTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from typing import List, Optional
7
+ from typing_extensions import NotRequired, TypedDict
8
+
9
+
10
+ class UpdateWorkersRestartResponseTypedDict(TypedDict):
11
+ r"""a list of RestartResponse objects"""
12
+
13
+ count: NotRequired[int]
14
+ r"""number of items present in the items array"""
15
+ items: NotRequired[List[RestartResponseTypedDict]]
16
+
17
+
18
+ class UpdateWorkersRestartResponse(BaseModel):
19
+ r"""a list of RestartResponse objects"""
20
+
21
+ count: Optional[int] = None
22
+ r"""number of items present in the items array"""
23
+
24
+ items: Optional[List[RestartResponse]] = None
@@ -0,0 +1,18 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from typing import List
7
+ from typing_extensions import TypedDict
8
+
9
+
10
+ class UserAccessControlListTypedDict(TypedDict):
11
+ perms: List[ResourcePolicyTypedDict]
12
+ user: str
13
+
14
+
15
+ class UserAccessControlList(BaseModel):
16
+ perms: List[ResourcePolicy]
17
+
18
+ user: str