cribl-control-plane 0.0.17__py3-none-any.whl → 0.0.18__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 +241 -0
- cribl_control_plane/models/createversioncommitop.py +24 -0
- cribl_control_plane/models/createversionpushop.py +23 -0
- cribl_control_plane/models/createversionrevertop.py +47 -0
- cribl_control_plane/models/createversionsyncop.py +23 -0
- cribl_control_plane/models/createversionundoop.py +37 -0
- cribl_control_plane/models/getversionbranchop.py +23 -0
- cribl_control_plane/models/getversioncountop.py +47 -0
- cribl_control_plane/models/getversioncurrentbranchop.py +23 -0
- cribl_control_plane/models/getversiondiffop.py +63 -0
- cribl_control_plane/models/getversionfilesop.py +48 -0
- cribl_control_plane/models/getversioninfoop.py +24 -0
- cribl_control_plane/models/getversionshowop.py +63 -0
- cribl_control_plane/models/getversionstatusop.py +38 -0
- cribl_control_plane/models/gitcommitparams.py +23 -0
- cribl_control_plane/models/gitcommitsummary.py +68 -0
- cribl_control_plane/models/gitfile.py +20 -0
- cribl_control_plane/models/gitfilesresponse.py +22 -0
- cribl_control_plane/models/gitinfo.py +23 -0
- cribl_control_plane/models/gitrevertparams.py +20 -0
- cribl_control_plane/models/gitrevertresult.py +48 -0
- cribl_control_plane/models/gitstatusresult.py +73 -0
- cribl_control_plane/sdk.py +4 -0
- cribl_control_plane/versioning.py +2309 -0
- {cribl_control_plane-0.0.17.dist-info → cribl_control_plane-0.0.18.dist-info}/METADATA +18 -2
- {cribl_control_plane-0.0.17.dist-info → cribl_control_plane-0.0.18.dist-info}/RECORD +28 -6
- {cribl_control_plane-0.0.17.dist-info → cribl_control_plane-0.0.18.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .gitfilesresponse import GitFilesResponse, GitFilesResponseTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
|
+
import pydantic
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetVersionFilesRequestTypedDict(TypedDict):
|
|
13
|
+
group: NotRequired[str]
|
|
14
|
+
r"""Group ID"""
|
|
15
|
+
id: NotRequired[str]
|
|
16
|
+
r"""Commit ID"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class GetVersionFilesRequest(BaseModel):
|
|
20
|
+
group: Annotated[
|
|
21
|
+
Optional[str],
|
|
22
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
23
|
+
] = None
|
|
24
|
+
r"""Group ID"""
|
|
25
|
+
|
|
26
|
+
id: Annotated[
|
|
27
|
+
Optional[str],
|
|
28
|
+
pydantic.Field(alias="ID"),
|
|
29
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
30
|
+
] = None
|
|
31
|
+
r"""Commit ID"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class GetVersionFilesResponseTypedDict(TypedDict):
|
|
35
|
+
r"""a list of GitFilesResponse objects"""
|
|
36
|
+
|
|
37
|
+
count: NotRequired[int]
|
|
38
|
+
r"""number of items present in the items array"""
|
|
39
|
+
items: NotRequired[List[GitFilesResponseTypedDict]]
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class GetVersionFilesResponse(BaseModel):
|
|
43
|
+
r"""a list of GitFilesResponse objects"""
|
|
44
|
+
|
|
45
|
+
count: Optional[int] = None
|
|
46
|
+
r"""number of items present in the items array"""
|
|
47
|
+
|
|
48
|
+
items: Optional[List[GitFilesResponse]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .gitinfo import GitInfo, GitInfoTypedDict
|
|
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 GetVersionInfoResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of GitInfo objects"""
|
|
12
|
+
|
|
13
|
+
count: NotRequired[int]
|
|
14
|
+
r"""number of items present in the items array"""
|
|
15
|
+
items: NotRequired[List[GitInfoTypedDict]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class GetVersionInfoResponse(BaseModel):
|
|
19
|
+
r"""a list of GitInfo objects"""
|
|
20
|
+
|
|
21
|
+
count: Optional[int] = None
|
|
22
|
+
r"""number of items present in the items array"""
|
|
23
|
+
|
|
24
|
+
items: Optional[List[GitInfo]] = None
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
import pydantic
|
|
7
|
+
from typing import Any, Dict, List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetVersionShowRequestTypedDict(TypedDict):
|
|
12
|
+
commit: NotRequired[str]
|
|
13
|
+
r"""Commit hash (default is HEAD)"""
|
|
14
|
+
group: NotRequired[str]
|
|
15
|
+
r"""Group ID"""
|
|
16
|
+
filename: NotRequired[str]
|
|
17
|
+
r"""Filename"""
|
|
18
|
+
diff_line_limit: NotRequired[float]
|
|
19
|
+
r"""Limit maximum lines in the diff"""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetVersionShowRequest(BaseModel):
|
|
23
|
+
commit: Annotated[
|
|
24
|
+
Optional[str],
|
|
25
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
26
|
+
] = None
|
|
27
|
+
r"""Commit hash (default is HEAD)"""
|
|
28
|
+
|
|
29
|
+
group: Annotated[
|
|
30
|
+
Optional[str],
|
|
31
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
32
|
+
] = None
|
|
33
|
+
r"""Group ID"""
|
|
34
|
+
|
|
35
|
+
filename: Annotated[
|
|
36
|
+
Optional[str],
|
|
37
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
38
|
+
] = None
|
|
39
|
+
r"""Filename"""
|
|
40
|
+
|
|
41
|
+
diff_line_limit: Annotated[
|
|
42
|
+
Optional[float],
|
|
43
|
+
pydantic.Field(alias="diffLineLimit"),
|
|
44
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
45
|
+
] = None
|
|
46
|
+
r"""Limit maximum lines in the diff"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class GetVersionShowResponseTypedDict(TypedDict):
|
|
50
|
+
r"""a list of any objects"""
|
|
51
|
+
|
|
52
|
+
count: NotRequired[int]
|
|
53
|
+
r"""number of items present in the items array"""
|
|
54
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class GetVersionShowResponse(BaseModel):
|
|
58
|
+
r"""a list of any objects"""
|
|
59
|
+
|
|
60
|
+
count: Optional[int] = None
|
|
61
|
+
r"""number of items present in the items array"""
|
|
62
|
+
|
|
63
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .gitstatusresult import GitStatusResult, GitStatusResultTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetVersionStatusRequestTypedDict(TypedDict):
|
|
12
|
+
group: NotRequired[str]
|
|
13
|
+
r"""Group ID"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetVersionStatusRequest(BaseModel):
|
|
17
|
+
group: Annotated[
|
|
18
|
+
Optional[str],
|
|
19
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
20
|
+
] = None
|
|
21
|
+
r"""Group ID"""
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class GetVersionStatusResponseTypedDict(TypedDict):
|
|
25
|
+
r"""a list of GitStatusResult objects"""
|
|
26
|
+
|
|
27
|
+
count: NotRequired[int]
|
|
28
|
+
r"""number of items present in the items array"""
|
|
29
|
+
items: NotRequired[List[GitStatusResultTypedDict]]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class GetVersionStatusResponse(BaseModel):
|
|
33
|
+
r"""a list of GitStatusResult objects"""
|
|
34
|
+
|
|
35
|
+
count: Optional[int] = None
|
|
36
|
+
r"""number of items present in the items array"""
|
|
37
|
+
|
|
38
|
+
items: Optional[List[GitStatusResult]] = None
|
|
@@ -0,0 +1,23 @@
|
|
|
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 List, Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class GitCommitParamsTypedDict(TypedDict):
|
|
10
|
+
message: str
|
|
11
|
+
effective: NotRequired[bool]
|
|
12
|
+
files: NotRequired[List[str]]
|
|
13
|
+
group: NotRequired[str]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GitCommitParams(BaseModel):
|
|
17
|
+
message: str
|
|
18
|
+
|
|
19
|
+
effective: Optional[bool] = None
|
|
20
|
+
|
|
21
|
+
files: Optional[List[str]] = None
|
|
22
|
+
|
|
23
|
+
group: Optional[str] = None
|
|
@@ -0,0 +1,68 @@
|
|
|
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 List, Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AuthorTypedDict(TypedDict):
|
|
10
|
+
email: str
|
|
11
|
+
name: str
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class Author(BaseModel):
|
|
15
|
+
email: str
|
|
16
|
+
|
|
17
|
+
name: str
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class GitCommitSummaryFilesTypedDict(TypedDict):
|
|
21
|
+
created: NotRequired[List[str]]
|
|
22
|
+
deleted: NotRequired[List[str]]
|
|
23
|
+
modified: NotRequired[List[str]]
|
|
24
|
+
renamed: NotRequired[List[str]]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class GitCommitSummaryFiles(BaseModel):
|
|
28
|
+
created: Optional[List[str]] = None
|
|
29
|
+
|
|
30
|
+
deleted: Optional[List[str]] = None
|
|
31
|
+
|
|
32
|
+
modified: Optional[List[str]] = None
|
|
33
|
+
|
|
34
|
+
renamed: Optional[List[str]] = None
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class SummaryTypedDict(TypedDict):
|
|
38
|
+
changes: float
|
|
39
|
+
deletions: float
|
|
40
|
+
insertions: float
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class Summary(BaseModel):
|
|
44
|
+
changes: float
|
|
45
|
+
|
|
46
|
+
deletions: float
|
|
47
|
+
|
|
48
|
+
insertions: float
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class GitCommitSummaryTypedDict(TypedDict):
|
|
52
|
+
author: AuthorTypedDict
|
|
53
|
+
branch: str
|
|
54
|
+
commit: str
|
|
55
|
+
files: GitCommitSummaryFilesTypedDict
|
|
56
|
+
summary: SummaryTypedDict
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class GitCommitSummary(BaseModel):
|
|
60
|
+
author: Author
|
|
61
|
+
|
|
62
|
+
branch: str
|
|
63
|
+
|
|
64
|
+
commit: str
|
|
65
|
+
|
|
66
|
+
files: GitCommitSummaryFiles
|
|
67
|
+
|
|
68
|
+
summary: Summary
|
|
@@ -0,0 +1,20 @@
|
|
|
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 List, Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class GitFileTypedDict(TypedDict):
|
|
10
|
+
name: str
|
|
11
|
+
children: NotRequired[List[GitFileTypedDict]]
|
|
12
|
+
state: NotRequired[str]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GitFile(BaseModel):
|
|
16
|
+
name: str
|
|
17
|
+
|
|
18
|
+
children: Optional[List[GitFile]] = None
|
|
19
|
+
|
|
20
|
+
state: Optional[str] = None
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .gitfile import GitFile, GitFileTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import Any, Dict, List
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GitFilesResponseTypedDict(TypedDict):
|
|
12
|
+
commit_message: Dict[str, Any]
|
|
13
|
+
count: float
|
|
14
|
+
items: List[GitFileTypedDict]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class GitFilesResponse(BaseModel):
|
|
18
|
+
commit_message: Annotated[Dict[str, Any], pydantic.Field(alias="commitMessage")]
|
|
19
|
+
|
|
20
|
+
count: float
|
|
21
|
+
|
|
22
|
+
items: List[GitFile]
|
|
@@ -0,0 +1,23 @@
|
|
|
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 Union
|
|
6
|
+
from typing_extensions import TypeAliasType, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
RemoteTypedDict = TypeAliasType("RemoteTypedDict", Union[str, bool])
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Remote = TypeAliasType("Remote", Union[str, bool])
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GitInfoTypedDict(TypedDict):
|
|
16
|
+
remote: RemoteTypedDict
|
|
17
|
+
versioning: bool
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class GitInfo(BaseModel):
|
|
21
|
+
remote: Remote
|
|
22
|
+
|
|
23
|
+
versioning: bool
|
|
@@ -0,0 +1,20 @@
|
|
|
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 Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class GitRevertParamsTypedDict(TypedDict):
|
|
10
|
+
commit: str
|
|
11
|
+
message: str
|
|
12
|
+
force: NotRequired[bool]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GitRevertParams(BaseModel):
|
|
16
|
+
commit: str
|
|
17
|
+
|
|
18
|
+
message: str
|
|
19
|
+
|
|
20
|
+
force: Optional[bool] = None
|
|
@@ -0,0 +1,48 @@
|
|
|
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 List, Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class GitRevertResultFilesTypedDict(TypedDict):
|
|
10
|
+
created: NotRequired[List[str]]
|
|
11
|
+
deleted: NotRequired[List[str]]
|
|
12
|
+
modified: NotRequired[List[str]]
|
|
13
|
+
renamed: NotRequired[List[str]]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GitRevertResultFiles(BaseModel):
|
|
17
|
+
created: Optional[List[str]] = None
|
|
18
|
+
|
|
19
|
+
deleted: Optional[List[str]] = None
|
|
20
|
+
|
|
21
|
+
modified: Optional[List[str]] = None
|
|
22
|
+
|
|
23
|
+
renamed: Optional[List[str]] = None
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class AuditTypedDict(TypedDict):
|
|
27
|
+
files: GitRevertResultFilesTypedDict
|
|
28
|
+
group: str
|
|
29
|
+
id: str
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class Audit(BaseModel):
|
|
33
|
+
files: GitRevertResultFiles
|
|
34
|
+
|
|
35
|
+
group: str
|
|
36
|
+
|
|
37
|
+
id: str
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class GitRevertResultTypedDict(TypedDict):
|
|
41
|
+
audit: AuditTypedDict
|
|
42
|
+
reverted: bool
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class GitRevertResult(BaseModel):
|
|
46
|
+
audit: Audit
|
|
47
|
+
|
|
48
|
+
reverted: bool
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FileTypedDict(TypedDict):
|
|
11
|
+
index: str
|
|
12
|
+
path: str
|
|
13
|
+
working_dir: str
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class File(BaseModel):
|
|
17
|
+
index: str
|
|
18
|
+
|
|
19
|
+
path: str
|
|
20
|
+
|
|
21
|
+
working_dir: str
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class RenamedTypedDict(TypedDict):
|
|
25
|
+
from_: str
|
|
26
|
+
to: str
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class Renamed(BaseModel):
|
|
30
|
+
from_: Annotated[str, pydantic.Field(alias="from")]
|
|
31
|
+
|
|
32
|
+
to: str
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class GitStatusResultTypedDict(TypedDict):
|
|
36
|
+
ahead: float
|
|
37
|
+
behind: float
|
|
38
|
+
conflicted: List[str]
|
|
39
|
+
created: List[str]
|
|
40
|
+
current: str
|
|
41
|
+
deleted: List[str]
|
|
42
|
+
files: List[FileTypedDict]
|
|
43
|
+
modified: List[str]
|
|
44
|
+
not_added: List[str]
|
|
45
|
+
renamed: List[RenamedTypedDict]
|
|
46
|
+
staged: List[str]
|
|
47
|
+
tracking: str
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class GitStatusResult(BaseModel):
|
|
51
|
+
ahead: float
|
|
52
|
+
|
|
53
|
+
behind: float
|
|
54
|
+
|
|
55
|
+
conflicted: List[str]
|
|
56
|
+
|
|
57
|
+
created: List[str]
|
|
58
|
+
|
|
59
|
+
current: str
|
|
60
|
+
|
|
61
|
+
deleted: List[str]
|
|
62
|
+
|
|
63
|
+
files: List[File]
|
|
64
|
+
|
|
65
|
+
modified: List[str]
|
|
66
|
+
|
|
67
|
+
not_added: List[str]
|
|
68
|
+
|
|
69
|
+
renamed: List[Renamed]
|
|
70
|
+
|
|
71
|
+
staged: List[str]
|
|
72
|
+
|
|
73
|
+
tracking: str
|
cribl_control_plane/sdk.py
CHANGED
|
@@ -20,6 +20,7 @@ if TYPE_CHECKING:
|
|
|
20
20
|
from cribl_control_plane.pipelines import Pipelines
|
|
21
21
|
from cribl_control_plane.routes_sdk import RoutesSDK
|
|
22
22
|
from cribl_control_plane.sources import Sources
|
|
23
|
+
from cribl_control_plane.versioning import Versioning
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
class CriblControlPlane(BaseSDK):
|
|
@@ -35,6 +36,8 @@ class CriblControlPlane(BaseSDK):
|
|
|
35
36
|
r"""Actions related to authentication. Do not use the /auth endpoints in Cribl.Cloud deployments. Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to authenticate for Cribl.Cloud."""
|
|
36
37
|
health: "Health"
|
|
37
38
|
r"""Actions related to REST server health"""
|
|
39
|
+
versioning: "Versioning"
|
|
40
|
+
r"""Actions related to Versioning"""
|
|
38
41
|
_sub_sdk_map = {
|
|
39
42
|
"sources": ("cribl_control_plane.sources", "Sources"),
|
|
40
43
|
"destinations": ("cribl_control_plane.destinations", "Destinations"),
|
|
@@ -42,6 +45,7 @@ class CriblControlPlane(BaseSDK):
|
|
|
42
45
|
"routes": ("cribl_control_plane.routes_sdk", "RoutesSDK"),
|
|
43
46
|
"auth": ("cribl_control_plane.auth_sdk", "AuthSDK"),
|
|
44
47
|
"health": ("cribl_control_plane.health", "Health"),
|
|
48
|
+
"versioning": ("cribl_control_plane.versioning", "Versioning"),
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
def __init__(
|