xpk 0.17.1__py3-none-any.whl → 0.17.3__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.
- xpk/commands/cluster.py +0 -22
- xpk/commands/cluster_gcluster.py +1 -13
- xpk/commands/cluster_gcluster_test.py +0 -10
- xpk/commands/cluster_test.py +0 -4
- xpk/commands/kind.py +0 -21
- xpk/commands/storage.py +0 -25
- xpk/core/cluster.py +1 -3
- xpk/core/config.py +0 -15
- xpk/core/system_characteristics.py +1 -16
- xpk/core/workload_decorators/rdma_decorator.py +0 -15
- xpk/core/workload_decorators/tcpx_decorator.py +0 -8
- xpk/core/workload_decorators/tcpx_decorator_test.py +0 -78
- xpk/core/workload_decorators/tcpxo_decorator.py +0 -16
- xpk/parser/common.py +0 -151
- xpk/parser/core.py +0 -31
- xpk/utils/validation.py +0 -8
- {xpk-0.17.1.dist-info → xpk-0.17.3.dist-info}/METADATA +1 -1
- {xpk-0.17.1.dist-info → xpk-0.17.3.dist-info}/RECORD +22 -33
- xpk/commands/batch.py +0 -144
- xpk/commands/job.py +0 -244
- xpk/commands/kjob_common.py +0 -60
- xpk/commands/run.py +0 -140
- xpk/commands/shell.py +0 -142
- xpk/core/kjob.py +0 -473
- xpk/parser/batch.py +0 -43
- xpk/parser/job.py +0 -147
- xpk/parser/run.py +0 -47
- xpk/parser/shell.py +0 -59
- xpk/templates/volume_bundle.yaml +0 -7
- {xpk-0.17.1.dist-info → xpk-0.17.3.dist-info}/WHEEL +0 -0
- {xpk-0.17.1.dist-info → xpk-0.17.3.dist-info}/entry_points.txt +0 -0
- {xpk-0.17.1.dist-info → xpk-0.17.3.dist-info}/licenses/LICENSE +0 -0
- {xpk-0.17.1.dist-info → xpk-0.17.3.dist-info}/top_level.txt +0 -0
xpk/parser/shell.py
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Copyright 2024 Google LLC
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
from ..commands.shell import shell, shell_stop
|
|
18
|
-
from .common import (
|
|
19
|
-
add_shared_arguments,
|
|
20
|
-
add_cluster_arguments,
|
|
21
|
-
add_kind_cluster_arguments,
|
|
22
|
-
)
|
|
23
|
-
import argparse
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
def set_shell_parser(shell_parser: argparse.ArgumentParser) -> None:
|
|
27
|
-
shell_optional_arguments = shell_parser.add_argument_group(
|
|
28
|
-
'Optional Arguments', 'Arguments optional for shell.'
|
|
29
|
-
)
|
|
30
|
-
add_shared_arguments(shell_optional_arguments)
|
|
31
|
-
shell_parser.set_defaults(func=shell)
|
|
32
|
-
|
|
33
|
-
add_cluster_arguments(shell_optional_arguments)
|
|
34
|
-
add_kind_cluster_arguments(shell_optional_arguments)
|
|
35
|
-
|
|
36
|
-
shell_subcommands = shell_parser.add_subparsers(
|
|
37
|
-
title='shell subcommands',
|
|
38
|
-
dest='xpk_shell_subcommands',
|
|
39
|
-
help=(
|
|
40
|
-
'These are commands related to interactive shell. Look at help for'
|
|
41
|
-
' specific subcommands for more details.'
|
|
42
|
-
),
|
|
43
|
-
)
|
|
44
|
-
|
|
45
|
-
set_shell_stop_parser(
|
|
46
|
-
shell_stop_parser=shell_subcommands.add_parser(
|
|
47
|
-
name='stop', help='Stop the running shell.'
|
|
48
|
-
)
|
|
49
|
-
)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def set_shell_stop_parser(shell_stop_parser: argparse.ArgumentParser):
|
|
53
|
-
shell_stop_optional_arguments = shell_stop_parser.add_argument_group(
|
|
54
|
-
'Optional Arguments', 'Arguments optional for shell stop.'
|
|
55
|
-
)
|
|
56
|
-
add_shared_arguments(shell_stop_optional_arguments)
|
|
57
|
-
shell_stop_parser.set_defaults(func=shell_stop)
|
|
58
|
-
add_cluster_arguments(shell_stop_parser)
|
|
59
|
-
add_kind_cluster_arguments(shell_stop_optional_arguments)
|
xpk/templates/volume_bundle.yaml
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|