Skip to content

Commit d7dcb04

Browse files
committed
Add initial CDK8s application setup with Python support, including main application logic and configuration files for dependencies and deployment.
1 parent f2b1a65 commit d7dcb04

File tree

8 files changed

+151532
-0
lines changed

8 files changed

+151532
-0
lines changed

Pipfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[requires]
7+
python_version = "3"
8+
9+
[packages]
10+
constructs = "~=10.4.2"
11+
cdk8s = "~=2.69.54"
12+
cdk8s-plus-28 = "~=2.5.6"
13+
pyyaml = "~=6.0.2"
14+
pydantic = "~=2.10.6"
15+
pydantic-settings = "~=2.8.1"
16+
17+
[dev-packages]
18+
19+
[pipenv]
20+
allow_prereleases = true

Pipfile.lock

Lines changed: 319 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cdk8s.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
language: python
2+
app: pipenv run python main.py

imports/io/argoproj/__init__.py

Lines changed: 150654 additions & 0 deletions
Large diffs are not rendered by default.

imports/io/argoproj/_jsii/__init__.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
from pkgutil import extend_path
2+
__path__ = extend_path(__path__, __name__)
3+
4+
import abc
5+
import builtins
6+
import datetime
7+
import enum
8+
import typing
9+
10+
import jsii
11+
import publication
12+
import typing_extensions
13+
14+
import typeguard
15+
from importlib.metadata import version as _metadata_package_version
16+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17+
18+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19+
if TYPEGUARD_MAJOR_VERSION <= 2:
20+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21+
else:
22+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23+
pass
24+
else:
25+
if TYPEGUARD_MAJOR_VERSION == 3:
26+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28+
else:
29+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
30+
31+
import cdk8s._jsii
32+
import constructs._jsii
33+
34+
__jsii_assembly__ = jsii.JSIIAssembly.load(
35+
"ioargoproj", "0.0.0", __name__[0:-6], "[email protected]"
36+
)
37+
38+
__all__ = [
39+
"__jsii_assembly__",
40+
]
41+
42+
publication.publish()
564 KB
Binary file not shown.

imports/io/argoproj/py.typed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)