runtimeconditions-kubernetes-api 0.1.0__tar.gz

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.
Files changed (16) hide show
  1. runtimeconditions_kubernetes_api-0.1.0/MANIFEST.in +1 -0
  2. runtimeconditions_kubernetes_api-0.1.0/PKG-INFO +5 -0
  3. runtimeconditions_kubernetes_api-0.1.0/pyproject.toml +21 -0
  4. runtimeconditions_kubernetes_api-0.1.0/runtimeconditions.file-manifest.yaml +12 -0
  5. runtimeconditions_kubernetes_api-0.1.0/setup.cfg +4 -0
  6. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api/__init__.py +26 -0
  7. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api/bindings.py +84 -0
  8. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api/py.typed +0 -0
  9. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api/runtimeconditions.binding-model.yaml +818 -0
  10. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api/runtimeconditions.binding-release.yaml +39 -0
  11. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api/runtimeconditions.bindings.yaml +286 -0
  12. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api/runtimeconditions.extension.yaml +146 -0
  13. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api.egg-info/PKG-INFO +5 -0
  14. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api.egg-info/SOURCES.txt +14 -0
  15. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api.egg-info/dependency_links.txt +1 -0
  16. runtimeconditions_kubernetes_api-0.1.0/src/runtimeconditions_kubernetes_api.egg-info/top_level.txt +1 -0
@@ -0,0 +1 @@
1
+ include runtimeconditions.file-manifest.yaml
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.4
2
+ Name: runtimeconditions-kubernetes-api
3
+ Version: 0.1.0
4
+ Project-URL: Repository, https://github.com/runtimeconditions/extensions
5
+ Requires-Python: >=3.12
@@ -0,0 +1,21 @@
1
+ # Code generated by runtimeconditions-binding-emitter 0.1.0 from model 23f95dc54c20be85d617d3ab25c8791d632f0d9aea7ff5ef458283002004e510; DO NOT EDIT.
2
+ [build-system]
3
+ requires = ["setuptools==84.0.0"]
4
+ build-backend = "setuptools.build_meta"
5
+
6
+ [project]
7
+ name = "runtimeconditions-kubernetes-api"
8
+ version = "0.1.0"
9
+ requires-python = ">=3.12"
10
+ dependencies = [
11
+ ]
12
+
13
+ [project.urls]
14
+ Repository = "https://github.com/runtimeconditions/extensions"
15
+
16
+ [tool.setuptools.packages.find]
17
+ where = ["src"]
18
+ include = ["runtimeconditions_kubernetes_api", "runtimeconditions_kubernetes_api.*"]
19
+
20
+ [tool.setuptools.package-data]
21
+ "runtimeconditions_kubernetes_api" = ["py.typed", "runtimeconditions.bindings.yaml", "runtimeconditions.binding-model.yaml", "runtimeconditions.extension.yaml", "runtimeconditions.binding-release.yaml"]
@@ -0,0 +1,12 @@
1
+ apiVersion: runtimeconditions.io/file-manifest/v1alpha1
2
+ kind: RuntimeConditionsFileManifest
3
+ files:
4
+ MANIFEST.in: d51e89c4c7c5e16c06d543c7aac32df945dd4f536e578b6ad089b68a6f489fca
5
+ pyproject.toml: d1bb61c39e5e5594cc2642a5d29ae3bd3d09db7221158b864df588fd694e854e
6
+ src/runtimeconditions_kubernetes_api/__init__.py: 9193e3c2a69e8f9fa09d55821db58b48ca320501f972eb1d82f158b095db0997
7
+ src/runtimeconditions_kubernetes_api/bindings.py: 25091177ced94ade990faa6582410e5da784cd46970da8cb307b3c9e27ff3e85
8
+ src/runtimeconditions_kubernetes_api/py.typed: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
9
+ src/runtimeconditions_kubernetes_api/runtimeconditions.binding-model.yaml: 24b03374b87ec36cca8ccf8cb1402b2ae639ed8bd10790852b1c7bc9eafa584d
10
+ src/runtimeconditions_kubernetes_api/runtimeconditions.binding-release.yaml: 142522bbfbe2749d71c2e344920f165c424934ef80eb7b447c881adc2d432283
11
+ src/runtimeconditions_kubernetes_api/runtimeconditions.bindings.yaml: 61730281317f14a62cfc56b5eb3cc026f65fdcd6c15f928ea29baaac3b6a1dc6
12
+ src/runtimeconditions_kubernetes_api/runtimeconditions.extension.yaml: ebbd6dcd866cbb65dd5ca7114f3872e66c12c6f6a0ef7cdd9e4e847cb4ca71d4
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,26 @@
1
+ # Code generated by runtimeconditions-binding-emitter 0.1.0 from model 23f95dc54c20be85d617d3ab25c8791d632f0d9aea7ff5ef458283002004e510; DO NOT EDIT.
2
+ from __future__ import annotations
3
+
4
+ from .bindings import (
5
+ Api,
6
+ Declaration,
7
+ KubernetesApiField,
8
+ Method,
9
+ Operations,
10
+ OperationsItem,
11
+ Scope,
12
+ Verb,
13
+ kubernetes_api,
14
+ )
15
+
16
+ __all__ = [
17
+ "Api",
18
+ "Declaration",
19
+ "KubernetesApiField",
20
+ "Method",
21
+ "Operations",
22
+ "OperationsItem",
23
+ "Scope",
24
+ "Verb",
25
+ "kubernetes_api",
26
+ ]
@@ -0,0 +1,84 @@
1
+ # Code generated by runtimeconditions-binding-emitter 0.1.0 from model 23f95dc54c20be85d617d3ab25c8791d632f0d9aea7ff5ef458283002004e510; DO NOT EDIT.
2
+ from __future__ import annotations
3
+
4
+ from dataclasses import dataclass
5
+ from enum import StrEnum
6
+ from typing import Protocol, Sequence, TypeAlias
7
+
8
+
9
+ @dataclass(frozen=True, kw_only=True)
10
+ class Declaration:
11
+ pass
12
+
13
+
14
+ class KubernetesApiField(Protocol):
15
+ def rc_marker_4e30bf5fe72d8c1d(self) -> None: ...
16
+
17
+
18
+ @dataclass(frozen=True, kw_only=True)
19
+ class Api:
20
+ operations: Operations
21
+
22
+ def rc_marker_4e30bf5fe72d8c1d(self) -> None:
23
+ return None
24
+
25
+
26
+ class Method(StrEnum):
27
+ DELETE = "delete"
28
+ GET = "get"
29
+ HEAD = "head"
30
+ OPTIONS = "options"
31
+ PATCH = "patch"
32
+ POST = "post"
33
+ PUT = "put"
34
+ TRACE = "trace"
35
+
36
+
37
+ Operations: TypeAlias = "Sequence[OperationsItem]"
38
+
39
+
40
+ @dataclass(frozen=True, kw_only=True)
41
+ class OperationsItem:
42
+ api_group: str | None = None
43
+ api_version: str | None = None
44
+ method: Method | None = None
45
+ path: str | None = None
46
+ resource: str | None = None
47
+ scope: Scope | None = None
48
+ subresource: str | None = None
49
+ verb: Verb | None = None
50
+
51
+
52
+ class Scope(StrEnum):
53
+ ALL_NAMESPACES = "all_namespaces"
54
+ CLUSTER = "cluster"
55
+ NAMESPACED = "namespaced"
56
+
57
+
58
+ class Verb(StrEnum):
59
+ CONNECT = "connect"
60
+ CREATE = "create"
61
+ DELETE = "delete"
62
+ DELETECOLLECTION = "deletecollection"
63
+ GET = "get"
64
+ LIST = "list"
65
+ PATCH = "patch"
66
+ UPDATE = "update"
67
+ WATCH = "watch"
68
+
69
+
70
+ def kubernetes_api(*fields: KubernetesApiField) -> Declaration:
71
+ return Declaration()
72
+
73
+
74
+ __all__ = [
75
+ "Api",
76
+ "Declaration",
77
+ "KubernetesApiField",
78
+ "Method",
79
+ "Operations",
80
+ "OperationsItem",
81
+ "Scope",
82
+ "Verb",
83
+ "kubernetes_api",
84
+ ]