mrok 0.6.0__py3-none-any.whl → 0.7.0__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.
- mrok/agent/devtools/inspector/__main__.py +2 -24
- mrok/agent/devtools/inspector/app.py +407 -112
- mrok/agent/devtools/inspector/utils.py +149 -0
- mrok/cli/main.py +17 -1
- mrok/constants.py +21 -0
- mrok/logging.py +0 -22
- mrok/proxy/middleware.py +7 -8
- mrok/proxy/models.py +36 -10
- mrok/proxy/ziticorn.py +8 -17
- mrok/ziti/api.py +1 -1
- mrok/ziti/bootstrap.py +0 -5
- mrok/ziti/identities.py +10 -9
- {mrok-0.6.0.dist-info → mrok-0.7.0.dist-info}/METADATA +8 -2
- {mrok-0.6.0.dist-info → mrok-0.7.0.dist-info}/RECORD +17 -20
- mrok/agent/devtools/__main__.py +0 -34
- mrok/cli/commands/agent/utils.py +0 -5
- mrok/proxy/constants.py +0 -22
- mrok/proxy/utils.py +0 -90
- {mrok-0.6.0.dist-info → mrok-0.7.0.dist-info}/WHEEL +0 -0
- {mrok-0.6.0.dist-info → mrok-0.7.0.dist-info}/entry_points.txt +0 -0
- {mrok-0.6.0.dist-info → mrok-0.7.0.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
from typing import Any
|
|
1
|
+
from mrok.agent.devtools.inspector.app import module_main
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
def run(port: int) -> None:
|
|
8
|
-
app = InspectorApp(port)
|
|
9
|
-
app.run()
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def main(argv: Any = None) -> None:
|
|
13
|
-
parser = argparse.ArgumentParser(description="mrok devtools agent")
|
|
14
|
-
parser.add_argument(
|
|
15
|
-
"-p",
|
|
16
|
-
"--subscriber-port",
|
|
17
|
-
type=int,
|
|
18
|
-
default=50001,
|
|
19
|
-
help="Port for subscriber (default: 50001)",
|
|
20
|
-
)
|
|
21
|
-
args = parser.parse_args(argv)
|
|
22
|
-
run(args.subscriber_port)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
main()
|
|
3
|
+
module_main()
|