kaqing 2.0.92__py3-none-any.whl → 2.0.94__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 kaqing might be problematic. Click here for more details.
- adam/apps.py +2 -2
- adam/batch.py +1 -1
- adam/checks/check_utils.py +4 -4
- adam/checks/compactionstats.py +1 -1
- adam/checks/cpu.py +2 -2
- adam/checks/disk.py +1 -1
- adam/checks/gossip.py +1 -1
- adam/checks/memory.py +3 -3
- adam/checks/status.py +1 -1
- adam/commands/bash.py +4 -3
- adam/commands/cd.py +3 -3
- adam/commands/cli_commands.py +3 -3
- adam/commands/commands_utils.py +3 -3
- adam/commands/cql/cql_utils.py +3 -3
- adam/commands/deploy/code_utils.py +2 -2
- adam/commands/deploy/deploy_pod.py +6 -6
- adam/commands/deploy/deploy_utils.py +2 -2
- adam/commands/deploy/undeploy_pod.py +4 -4
- adam/commands/logs.py +1 -1
- adam/commands/ls.py +4 -4
- adam/commands/medusa/medusa_backup.py +2 -2
- adam/commands/medusa/medusa_restore.py +2 -2
- adam/commands/medusa/medusa_show_backupjobs.py +2 -2
- adam/commands/medusa/medusa_show_restorejobs.py +2 -2
- adam/commands/nodetool.py +6 -14
- adam/commands/postgres/postgres_session.py +3 -3
- adam/commands/reaper/reaper_restart.py +1 -1
- adam/commands/reaper/reaper_session.py +1 -1
- adam/commands/repair/repair_log.py +1 -1
- adam/commands/repair/repair_run.py +2 -2
- adam/commands/repair/repair_scan.py +1 -1
- adam/commands/repair/repair_stop.py +1 -1
- adam/commands/restart.py +2 -2
- adam/commands/rollout.py +1 -1
- adam/commands/show/show_app_id.py +1 -1
- adam/commands/show/show_cassandra_status.py +3 -3
- adam/commands/show/show_cassandra_version.py +3 -3
- adam/commands/show/show_processes.py +1 -1
- adam/commands/show/show_repairs.py +2 -2
- adam/commands/show/show_storage.py +1 -1
- adam/commands/watch.py +1 -1
- adam/config.py +2 -1
- adam/repl.py +2 -2
- adam/repl_state.py +4 -4
- adam/sso/cred_cache.py +1 -1
- adam/sso/idp.py +1 -1
- adam/{k8s_utils → utils_k8s}/cassandra_clusters.py +1 -1
- adam/{k8s_utils → utils_k8s}/cassandra_nodes.py +10 -3
- adam/{k8s_utils → utils_k8s}/deployment.py +2 -2
- adam/{k8s_utils → utils_k8s}/pods.py +10 -4
- adam/version.py +1 -1
- {kaqing-2.0.92.dist-info → kaqing-2.0.94.dist-info}/METADATA +1 -1
- {kaqing-2.0.92.dist-info → kaqing-2.0.94.dist-info}/RECORD +67 -67
- /adam/{k8s_utils → utils_k8s}/__init__.py +0 -0
- /adam/{k8s_utils → utils_k8s}/config_maps.py +0 -0
- /adam/{k8s_utils → utils_k8s}/custom_resources.py +0 -0
- /adam/{k8s_utils → utils_k8s}/ingresses.py +0 -0
- /adam/{k8s_utils → utils_k8s}/jobs.py +0 -0
- /adam/{k8s_utils → utils_k8s}/kube_context.py +0 -0
- /adam/{k8s_utils → utils_k8s}/secrets.py +0 -0
- /adam/{k8s_utils → utils_k8s}/service_accounts.py +0 -0
- /adam/{k8s_utils → utils_k8s}/services.py +0 -0
- /adam/{k8s_utils → utils_k8s}/statefulsets.py +0 -0
- /adam/{k8s_utils → utils_k8s}/volumes.py +0 -0
- {kaqing-2.0.92.dist-info → kaqing-2.0.94.dist-info}/WHEEL +0 -0
- {kaqing-2.0.92.dist-info → kaqing-2.0.94.dist-info}/entry_points.txt +0 -0
- {kaqing-2.0.92.dist-info → kaqing-2.0.94.dist-info}/top_level.txt +0 -0
adam/apps.py
CHANGED
|
@@ -5,10 +5,10 @@ from typing import cast
|
|
|
5
5
|
import yaml
|
|
6
6
|
|
|
7
7
|
from adam.config import Config
|
|
8
|
-
from adam.
|
|
8
|
+
from adam.utils_k8s.ingresses import Ingresses
|
|
9
9
|
|
|
10
10
|
from . import __version__
|
|
11
|
-
from adam.
|
|
11
|
+
from adam.utils_k8s.services import Services
|
|
12
12
|
from adam.utils import copy_config_file
|
|
13
13
|
|
|
14
14
|
class AppAction:
|
adam/batch.py
CHANGED
|
@@ -25,7 +25,7 @@ from adam.commands.restart import Restart
|
|
|
25
25
|
from adam.commands.rollout import RollOut
|
|
26
26
|
from adam.commands.show.show import Show, ShowCommandHelper
|
|
27
27
|
from adam.commands.watch import Watch
|
|
28
|
-
from adam.
|
|
28
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
29
29
|
from adam.repl import enter_repl
|
|
30
30
|
from adam.repl_state import ReplState
|
|
31
31
|
from adam.cli_group import cli
|
adam/checks/check_utils.py
CHANGED
|
@@ -13,10 +13,10 @@ from adam.checks.issue import Issue
|
|
|
13
13
|
from adam.checks.memory import Memory
|
|
14
14
|
from adam.checks.status import Status
|
|
15
15
|
from adam.config import Config
|
|
16
|
-
from adam.
|
|
17
|
-
from adam.
|
|
18
|
-
from adam.
|
|
19
|
-
from adam.
|
|
16
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
17
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
18
|
+
from adam.utils_k8s.secrets import Secrets
|
|
19
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
20
20
|
from adam.utils import elapsed_time, log2
|
|
21
21
|
|
|
22
22
|
def all_checks() -> list[Check]:
|
adam/checks/compactionstats.py
CHANGED
|
@@ -5,7 +5,7 @@ from adam.checks.check_context import CheckContext
|
|
|
5
5
|
from adam.checks.check_result import CheckResult
|
|
6
6
|
from adam.checks.issue import Issue
|
|
7
7
|
from adam.config import Config
|
|
8
|
-
from adam.
|
|
8
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
9
9
|
|
|
10
10
|
class CompactionStats(Check):
|
|
11
11
|
def name(self):
|
adam/checks/cpu.py
CHANGED
|
@@ -5,8 +5,8 @@ from adam.checks.check_context import CheckContext
|
|
|
5
5
|
from adam.checks.check_result import CheckResult
|
|
6
6
|
from adam.checks.issue import Issue
|
|
7
7
|
from adam.config import Config
|
|
8
|
-
from adam.
|
|
9
|
-
from adam.
|
|
8
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
9
|
+
from adam.utils_k8s.custom_resources import CustomResources
|
|
10
10
|
|
|
11
11
|
class Cpu(Check):
|
|
12
12
|
def name(self):
|
adam/checks/disk.py
CHANGED
|
@@ -6,7 +6,7 @@ from adam.checks.check_context import CheckContext
|
|
|
6
6
|
from adam.checks.check_result import CheckResult
|
|
7
7
|
from adam.checks.issue import Issue
|
|
8
8
|
from adam.config import Config
|
|
9
|
-
from adam.
|
|
9
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
10
10
|
|
|
11
11
|
class Disk(Check):
|
|
12
12
|
def name(self):
|
adam/checks/gossip.py
CHANGED
|
@@ -4,7 +4,7 @@ from adam.checks.check import Check
|
|
|
4
4
|
from adam.checks.check_context import CheckContext
|
|
5
5
|
from adam.checks.check_result import CheckResult
|
|
6
6
|
from adam.checks.issue import Issue
|
|
7
|
-
from adam.
|
|
7
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
8
8
|
|
|
9
9
|
class Gossip(Check):
|
|
10
10
|
def name(self):
|
adam/checks/memory.py
CHANGED
|
@@ -2,9 +2,9 @@ from adam.checks.check import Check
|
|
|
2
2
|
from adam.checks.check_context import CheckContext
|
|
3
3
|
from adam.checks.check_result import CheckResult
|
|
4
4
|
from adam.checks.issue import Issue
|
|
5
|
-
from adam.
|
|
6
|
-
from adam.
|
|
7
|
-
from adam.
|
|
5
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
6
|
+
from adam.utils_k8s.custom_resources import CustomResources
|
|
7
|
+
from adam.utils_k8s.pods import Pods
|
|
8
8
|
|
|
9
9
|
class Memory(Check):
|
|
10
10
|
def name(self):
|
adam/checks/status.py
CHANGED
|
@@ -4,7 +4,7 @@ from adam.checks.check import Check
|
|
|
4
4
|
from adam.checks.check_context import CheckContext
|
|
5
5
|
from adam.checks.check_result import CheckResult
|
|
6
6
|
from adam.checks.issue import Issue
|
|
7
|
-
from adam.
|
|
7
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
8
8
|
|
|
9
9
|
class Status(Check):
|
|
10
10
|
def name(self):
|
adam/commands/bash.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
|
-
from adam.
|
|
3
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.cassandra_clusters import CassandraClusters
|
|
3
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
4
|
+
from adam.pod_exec_result import PodExecResult
|
|
4
5
|
from adam.repl_state import BashSession, ReplState, RequiredState
|
|
5
6
|
|
|
6
7
|
class Bash(Command):
|
|
@@ -51,7 +52,7 @@ class Bash(Command):
|
|
|
51
52
|
|
|
52
53
|
return state
|
|
53
54
|
|
|
54
|
-
def exec_with_dir(self, state: ReplState, args: list[str]):
|
|
55
|
+
def exec_with_dir(self, state: ReplState, args: list[str]) -> list[PodExecResult]:
|
|
55
56
|
session_just_created = False
|
|
56
57
|
if not args:
|
|
57
58
|
session_just_created = True
|
adam/commands/cd.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
2
|
from adam.commands.postgres.postgres_utils import pg_database_names
|
|
3
3
|
from adam.commands.postgres.postgres_session import PostgresSession
|
|
4
|
-
from adam.
|
|
5
|
-
from adam.
|
|
6
|
-
from adam.
|
|
4
|
+
from adam.utils_k8s.cassandra_clusters import CassandraClusters
|
|
5
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
6
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
7
7
|
from adam.repl_state import ReplState
|
|
8
8
|
from adam.utils import log2
|
|
9
9
|
from adam.apps import Apps
|
adam/commands/cli_commands.py
CHANGED
|
@@ -3,9 +3,9 @@ import re
|
|
|
3
3
|
|
|
4
4
|
from adam.commands.reaper.reaper_session import ReaperSession
|
|
5
5
|
from adam.config import Config
|
|
6
|
-
from adam.
|
|
7
|
-
from adam.
|
|
8
|
-
from adam.
|
|
6
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
7
|
+
from adam.utils_k8s.secrets import Secrets
|
|
8
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
9
9
|
from adam.repl_state import ReplState
|
|
10
10
|
|
|
11
11
|
class CliCommands:
|
adam/commands/commands_utils.py
CHANGED
|
@@ -6,9 +6,9 @@ from typing import List
|
|
|
6
6
|
from adam.checks.check_utils import run_checks
|
|
7
7
|
from adam.columns.columns import Columns, collect_checks
|
|
8
8
|
from adam.commands.issues import Issues
|
|
9
|
-
from adam.
|
|
10
|
-
from adam.
|
|
11
|
-
from adam.
|
|
9
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
10
|
+
from adam.utils_k8s.pods import Pods
|
|
11
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
12
12
|
from adam.repl_state import ReplState
|
|
13
13
|
from adam.utils import convert_seconds, duration, lines_to_tabular, log, log2
|
|
14
14
|
|
adam/commands/cql/cql_utils.py
CHANGED
|
@@ -2,9 +2,9 @@ import functools
|
|
|
2
2
|
import re
|
|
3
3
|
|
|
4
4
|
from adam.config import Config
|
|
5
|
-
from adam.
|
|
6
|
-
from adam.
|
|
7
|
-
from adam.
|
|
5
|
+
from adam.utils_k8s.cassandra_clusters import CassandraClusters
|
|
6
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
7
|
+
from adam.utils_k8s.secrets import Secrets
|
|
8
8
|
from adam.pod_exec_result import PodExecResult
|
|
9
9
|
from adam.repl_state import ReplState
|
|
10
10
|
from adam.utils import log2
|
|
@@ -5,8 +5,8 @@ import subprocess
|
|
|
5
5
|
|
|
6
6
|
from adam.apps import Apps
|
|
7
7
|
from adam.config import Config
|
|
8
|
-
from adam.
|
|
9
|
-
from adam.
|
|
8
|
+
from adam.utils_k8s.ingresses import Ingresses
|
|
9
|
+
from adam.utils_k8s.services import Services
|
|
10
10
|
from adam.utils import log2, random_alphanumeric
|
|
11
11
|
|
|
12
12
|
def start_user_code(namespace: str):
|
|
@@ -5,12 +5,12 @@ from adam.commands.command import Command
|
|
|
5
5
|
from adam.commands.deploy.deploy_utils import creating, deploy_frontend, gen_labels
|
|
6
6
|
from adam.commands.deploy.undeploy_pod import UndeployPod
|
|
7
7
|
from adam.config import Config
|
|
8
|
-
from adam.
|
|
9
|
-
from adam.
|
|
10
|
-
from adam.
|
|
11
|
-
from adam.
|
|
12
|
-
from adam.
|
|
13
|
-
from adam.
|
|
8
|
+
from adam.utils_k8s.config_maps import ConfigMaps
|
|
9
|
+
from adam.utils_k8s.deployment import Deployments
|
|
10
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
11
|
+
from adam.utils_k8s.pods import Pods
|
|
12
|
+
from adam.utils_k8s.service_accounts import ServiceAccounts
|
|
13
|
+
from adam.utils_k8s.volumes import ConfigMapMount
|
|
14
14
|
from adam.repl_state import ReplState, RequiredState
|
|
15
15
|
from adam.utils import log2
|
|
16
16
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from typing import Callable
|
|
2
2
|
from adam.app_session import AppSession
|
|
3
|
-
from adam.
|
|
4
|
-
from adam.
|
|
3
|
+
from adam.utils_k8s.ingresses import Ingresses
|
|
4
|
+
from adam.utils_k8s.services import Services
|
|
5
5
|
from adam.utils import log2
|
|
6
6
|
|
|
7
7
|
def deploy_frontend(name: str, namespace: str, label_selector: str):
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
2
|
from adam.commands.deploy.deploy_utils import undeploy_frontend, deleting
|
|
3
3
|
from adam.config import Config
|
|
4
|
-
from adam.
|
|
5
|
-
from adam.
|
|
6
|
-
from adam.
|
|
7
|
-
from adam.
|
|
4
|
+
from adam.utils_k8s.config_maps import ConfigMaps
|
|
5
|
+
from adam.utils_k8s.deployment import Deployments
|
|
6
|
+
from adam.utils_k8s.pods import Pods
|
|
7
|
+
from adam.utils_k8s.service_accounts import ServiceAccounts
|
|
8
8
|
from adam.repl_state import ReplState, RequiredState
|
|
9
9
|
|
|
10
10
|
class UndeployPod(Command):
|
adam/commands/logs.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
2
|
from adam.config import Config
|
|
3
|
-
from adam.
|
|
3
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
|
5
5
|
|
|
6
6
|
class Logs(Command):
|
adam/commands/ls.py
CHANGED
|
@@ -6,10 +6,10 @@ from adam.commands.cql.cqlsh import Cqlsh
|
|
|
6
6
|
from adam.commands.postgres.postgres_utils import pg_database_names, pg_table_names
|
|
7
7
|
from adam.commands.postgres.postgres_session import PostgresSession
|
|
8
8
|
from adam.config import Config
|
|
9
|
-
from adam.
|
|
10
|
-
from adam.
|
|
11
|
-
from adam.
|
|
12
|
-
from adam.
|
|
9
|
+
from adam.utils_k8s.custom_resources import CustomResources
|
|
10
|
+
from adam.utils_k8s.ingresses import Ingresses
|
|
11
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
12
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
13
13
|
from adam.pod_exec_result import PodExecResult
|
|
14
14
|
from adam.repl_state import ReplState
|
|
15
15
|
from adam.utils import lines_to_tabular, log, log2
|
|
@@ -2,9 +2,9 @@ from datetime import datetime
|
|
|
2
2
|
import re
|
|
3
3
|
|
|
4
4
|
from adam.commands.command import Command
|
|
5
|
-
from adam.
|
|
5
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
6
6
|
from adam.repl_state import ReplState, RequiredState
|
|
7
|
-
from adam.
|
|
7
|
+
from adam.utils_k8s.custom_resources import CustomResources
|
|
8
8
|
from adam.utils import log2
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
|
|
3
3
|
from adam.commands.command import Command
|
|
4
|
-
from adam.
|
|
4
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
5
5
|
from adam.repl_state import ReplState, RequiredState
|
|
6
|
-
from adam.
|
|
6
|
+
from adam.utils_k8s.custom_resources import CustomResources
|
|
7
7
|
from adam.config import Config
|
|
8
8
|
from adam.utils import lines_to_tabular, log2
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
3
3
|
from adam.repl_state import ReplState, RequiredState
|
|
4
|
-
from adam.
|
|
4
|
+
from adam.utils_k8s.custom_resources import CustomResources
|
|
5
5
|
from adam.utils import lines_to_tabular, log2
|
|
6
6
|
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
3
3
|
from adam.repl_state import ReplState, RequiredState
|
|
4
|
-
from adam.
|
|
4
|
+
from adam.utils_k8s.custom_resources import CustomResources
|
|
5
5
|
from adam.utils import lines_to_tabular, log2
|
|
6
6
|
|
|
7
7
|
class MedusaShowRestoreJobs(Command):
|
adam/commands/nodetool.py
CHANGED
|
@@ -4,12 +4,10 @@ from adam.commands.command import Command
|
|
|
4
4
|
from adam.commands.command_helpers import ClusterOrPodCommandHelper
|
|
5
5
|
from adam.commands.nodetool_commands import NODETOOL_COMMANDS
|
|
6
6
|
from adam.config import Config
|
|
7
|
-
from adam.
|
|
8
|
-
from adam.
|
|
9
|
-
from adam.pod_exec_result import PodExecResult
|
|
10
|
-
from adam.repl_session import ReplSession
|
|
7
|
+
from adam.utils_k8s.cassandra_clusters import CassandraClusters
|
|
8
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
11
9
|
from adam.repl_state import ReplState, RequiredState
|
|
12
|
-
from adam.utils import log
|
|
10
|
+
from adam.utils import log
|
|
13
11
|
|
|
14
12
|
class NodeTool(Command):
|
|
15
13
|
COMMAND = 'nodetool'
|
|
@@ -41,17 +39,11 @@ class NodeTool(Command):
|
|
|
41
39
|
command = f"nodetool -u {user} -pw {pw} {' '.join(args)}"
|
|
42
40
|
|
|
43
41
|
if state.pod:
|
|
44
|
-
|
|
45
|
-
if results and results.log_file and Config().get('repl.history.push-cat-remote-log-file', True):
|
|
46
|
-
ReplSession().prompt_session.history.append_string(f'bash cat {results.log_file}')
|
|
42
|
+
return CassandraNodes.exec(state.pod, state.namespace, command, show_out=True)
|
|
47
43
|
elif state.sts:
|
|
48
|
-
|
|
49
|
-
if results and Config().get('repl.history.push-cat-remote-log-file', True):
|
|
50
|
-
for result in results:
|
|
51
|
-
if result.log_file:
|
|
52
|
-
ReplSession().prompt_session.history.append_string(f'bash {result.pod} cat {result.log_file}')
|
|
44
|
+
return CassandraClusters.exec(state.sts, state.namespace, command, action='nodetool', show_out=True)
|
|
53
45
|
|
|
54
|
-
return
|
|
46
|
+
return state
|
|
55
47
|
|
|
56
48
|
def completion(self, state: ReplState):
|
|
57
49
|
if state.pod or state.sts:
|
|
@@ -3,9 +3,9 @@ import re
|
|
|
3
3
|
import subprocess
|
|
4
4
|
|
|
5
5
|
from adam.config import Config
|
|
6
|
-
from adam.
|
|
7
|
-
from adam.
|
|
8
|
-
from adam.
|
|
6
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
7
|
+
from adam.utils_k8s.pods import Pods
|
|
8
|
+
from adam.utils_k8s.secrets import Secrets
|
|
9
9
|
from adam.utils import log2
|
|
10
10
|
|
|
11
11
|
class PostgresSession:
|
|
@@ -7,7 +7,7 @@ import requests
|
|
|
7
7
|
from typing import List, cast
|
|
8
8
|
|
|
9
9
|
from adam.config import Config
|
|
10
|
-
from adam.
|
|
10
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
11
11
|
from adam.repl_state import ReplState
|
|
12
12
|
from adam.utils import lines_to_tabular, log2
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
|
-
from adam.
|
|
3
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.jobs import Jobs
|
|
3
|
+
from adam.utils_k8s.volumes import Volumes
|
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
|
5
5
|
from adam.config import Config
|
|
6
6
|
from adam.commands.reaper.reaper_session import ReaperSession
|
adam/commands/restart.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
|
-
from adam.
|
|
3
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.pods import Pods
|
|
3
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
|
5
5
|
from adam.utils import log2
|
|
6
6
|
|
adam/commands/rollout.py
CHANGED
|
@@ -4,7 +4,7 @@ from kubernetes.client.rest import ApiException
|
|
|
4
4
|
|
|
5
5
|
from adam.commands.command import Command
|
|
6
6
|
from adam.commands.watch import Watch
|
|
7
|
-
from adam.
|
|
7
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
8
8
|
from adam.config import Config
|
|
9
9
|
from adam.repl_state import ReplState, RequiredState
|
|
10
10
|
from adam.utils import duration, log2
|
|
@@ -8,9 +8,9 @@ from adam.columns.columns import Columns
|
|
|
8
8
|
from adam.commands.command import Command
|
|
9
9
|
from adam.commands.issues import Issues
|
|
10
10
|
from adam.config import Config
|
|
11
|
-
from adam.
|
|
12
|
-
from adam.
|
|
13
|
-
from adam.
|
|
11
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
12
|
+
from adam.utils_k8s.secrets import Secrets
|
|
13
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
14
14
|
from adam.repl_state import ReplState, RequiredState
|
|
15
15
|
from adam.utils import lines_to_tabular, log, log2
|
|
16
16
|
from adam.checks.status import parse_nodetool_status
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
|
-
from adam.
|
|
3
|
-
from adam.
|
|
4
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.cassandra_clusters import CassandraClusters
|
|
3
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
4
|
+
from adam.utils_k8s.secrets import Secrets
|
|
5
5
|
from adam.repl_state import ReplState, RequiredState
|
|
6
6
|
|
|
7
7
|
class ShowCassandraVersion(Command):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
2
|
from adam.commands.commands_utils import show_table
|
|
3
3
|
from adam.config import Config
|
|
4
|
-
from adam.
|
|
4
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
5
5
|
from adam.repl_state import ReplState, RequiredState
|
|
6
6
|
|
|
7
7
|
class ShowProcesses(Command):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
|
-
from adam.
|
|
3
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.cassandra_clusters import CassandraClusters
|
|
3
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
4
4
|
from adam.repl_state import ReplState, RequiredState
|
|
5
5
|
|
|
6
6
|
class ShowRepairs(Command):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from adam.commands.command import Command
|
|
2
2
|
from adam.commands.commands_utils import show_table
|
|
3
3
|
from adam.config import Config
|
|
4
|
-
from adam.
|
|
4
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
5
5
|
from adam.repl_state import ReplState, RequiredState
|
|
6
6
|
|
|
7
7
|
class ShowStorage(Command):
|
adam/commands/watch.py
CHANGED
|
@@ -6,7 +6,7 @@ from typing import List
|
|
|
6
6
|
from adam.commands.command import Command
|
|
7
7
|
from adam.commands.commands_utils import show_pods, show_rollout
|
|
8
8
|
from adam.config import Config
|
|
9
|
-
from adam.
|
|
9
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
10
10
|
from adam.repl_state import ReplState, RequiredState
|
|
11
11
|
from adam.utils import convert_seconds, log2
|
|
12
12
|
|
adam/config.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import os
|
|
1
2
|
from typing import TypeVar, cast
|
|
2
3
|
import yaml
|
|
3
4
|
|
|
@@ -38,7 +39,7 @@ class Config:
|
|
|
38
39
|
return get_deep_keys(self.params)
|
|
39
40
|
|
|
40
41
|
def is_debug(self):
|
|
41
|
-
return Config().get('debug', False)
|
|
42
|
+
return os.getenv('QING_DEV').lower() == 'true' or Config().get('debug', False)
|
|
42
43
|
|
|
43
44
|
def debug(self, s: None):
|
|
44
45
|
if self.is_debug():
|
adam/repl.py
CHANGED
|
@@ -15,8 +15,8 @@ from adam.commands.command_helpers import ClusterCommandHelper
|
|
|
15
15
|
from adam.commands.help import Help
|
|
16
16
|
from adam.commands.postgres.postgres_session import PostgresSession
|
|
17
17
|
from adam.config import Config
|
|
18
|
-
from adam.
|
|
19
|
-
from adam.
|
|
18
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
19
|
+
from adam.utils_k8s.statefulsets import StatefulSets
|
|
20
20
|
from adam.log import Log
|
|
21
21
|
from adam.repl_commands import ReplCommands
|
|
22
22
|
from adam.repl_session import ReplSession
|
adam/repl_state.py
CHANGED
|
@@ -3,10 +3,10 @@ from enum import Enum
|
|
|
3
3
|
import re
|
|
4
4
|
|
|
5
5
|
from adam.commands.postgres.postgres_session import PostgresSession
|
|
6
|
-
from adam.
|
|
7
|
-
from adam.
|
|
8
|
-
from adam.
|
|
9
|
-
from adam.
|
|
6
|
+
from adam.utils_k8s.cassandra_clusters import CassandraClusters
|
|
7
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
8
|
+
from adam.utils_k8s.kube_context import KubeContext
|
|
9
|
+
from adam.utils_k8s.secrets import Secrets
|
|
10
10
|
from adam.utils import display_help, log2, random_alphanumeric
|
|
11
11
|
|
|
12
12
|
class BashSession:
|
adam/sso/cred_cache.py
CHANGED
adam/sso/idp.py
CHANGED
|
@@ -2,7 +2,7 @@ from concurrent.futures import ThreadPoolExecutor
|
|
|
2
2
|
import sys
|
|
3
3
|
from typing import TypeVar
|
|
4
4
|
|
|
5
|
-
from adam.
|
|
5
|
+
from adam.utils_k8s.cassandra_nodes import CassandraNodes
|
|
6
6
|
from adam.pod_exec_result import PodExecResult
|
|
7
7
|
from adam.utils import log2
|
|
8
8
|
from .statefulsets import StatefulSets
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
from adam.config import Config
|
|
2
|
-
from adam.
|
|
3
|
-
from adam.
|
|
2
|
+
from adam.utils_k8s.pods import Pods
|
|
3
|
+
from adam.utils_k8s.secrets import Secrets
|
|
4
4
|
from adam.pod_exec_result import PodExecResult
|
|
5
|
+
from adam.repl_session import ReplSession
|
|
5
6
|
|
|
6
7
|
# utility collection on cassandra nodes; methods are all static
|
|
7
8
|
class CassandraNodes:
|
|
8
9
|
def exec(pod_name: str, namespace: str, command: str, show_out = True, throw_err = False, shell = '/bin/sh') -> PodExecResult:
|
|
9
|
-
|
|
10
|
+
r = Pods.exec(pod_name, "cassandra", namespace, command, show_out = show_out, throw_err = throw_err, shell = shell)
|
|
11
|
+
|
|
12
|
+
if r and Config().get('repl.history.push-cat-remote-log-file', True):
|
|
13
|
+
if r.log_file:
|
|
14
|
+
ReplSession().prompt_session.history.append_string(f'bash {r.pod} cat {r.log_file}')
|
|
15
|
+
|
|
16
|
+
return r
|
|
10
17
|
|
|
11
18
|
def get_host_id(pod_name: str, ns: str):
|
|
12
19
|
try:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from kubernetes import client
|
|
2
2
|
|
|
3
|
-
from adam.
|
|
4
|
-
from adam.
|
|
3
|
+
from adam.utils_k8s.pods import Pods
|
|
4
|
+
from adam.utils_k8s.volumes import ConfigMapMount
|
|
5
5
|
|
|
6
6
|
# utility collection on deployments; methods are all static
|
|
7
7
|
class Deployments:
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from collections.abc import Callable
|
|
2
2
|
from concurrent.futures import ThreadPoolExecutor, as_completed
|
|
3
|
+
from datetime import datetime
|
|
3
4
|
import sys
|
|
4
5
|
import time
|
|
5
6
|
from typing import TypeVar, cast
|
|
@@ -8,7 +9,7 @@ from kubernetes.stream import stream
|
|
|
8
9
|
from kubernetes.stream.ws_client import ERROR_CHANNEL
|
|
9
10
|
|
|
10
11
|
from adam.config import Config
|
|
11
|
-
from adam.
|
|
12
|
+
from adam.utils_k8s.volumes import ConfigMapMount
|
|
12
13
|
from adam.pod_exec_result import PodExecResult
|
|
13
14
|
from adam.utils import elapsed_time, log2, random_alphanumeric
|
|
14
15
|
from .kube_context import KubeContext
|
|
@@ -101,13 +102,18 @@ class Pods:
|
|
|
101
102
|
show_out = KubeContext.show_out(show_out)
|
|
102
103
|
|
|
103
104
|
api = client.CoreV1Api()
|
|
104
|
-
log_file = None
|
|
105
105
|
|
|
106
|
+
log_file = None
|
|
106
107
|
tty = True
|
|
107
108
|
exec_command = [shell, '-c', command]
|
|
108
109
|
if command.endswith(' &'):
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
command = command.strip(' &')
|
|
111
|
+
cmd_name = ''
|
|
112
|
+
if command.startswith('nodetool '):
|
|
113
|
+
cmd_name = f".{'_'.join(command.split(' ')[5:])}"
|
|
114
|
+
|
|
115
|
+
log_file = f'/tmp/qing-{datetime.now().strftime("%d%H%M%S")}{cmd_name}.log'
|
|
116
|
+
command = f"nohup {command} > {log_file} 2>&1 &"
|
|
111
117
|
exec_command = [shell, '-c', command]
|
|
112
118
|
# should be false for starting a backgroud process
|
|
113
119
|
tty = False
|
adam/version.py
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
adam/__init__.py,sha256=oVw1FNd9HZPJ7wm6BNn5ybyNGJLjJ8kopMeBiwgMaOI,59
|
|
2
2
|
adam/app_session.py,sha256=Klypm4JYHOlovaRCHAZ2P_Mj_nheMlcQgX403R0TJGk,6969
|
|
3
|
-
adam/apps.py,sha256=
|
|
4
|
-
adam/batch.py,sha256=
|
|
3
|
+
adam/apps.py,sha256=okYibOEiCVoM5zsPUKaLJZlwlnvWSHKL7U2J1Yk3-Aw,6701
|
|
4
|
+
adam/batch.py,sha256=zXLh_dlfJ1vsW3YUUlMW8NXi2SMg3db3xhZiHaldUKY,25251
|
|
5
5
|
adam/cli.py,sha256=03pIZdomAu7IL-GSP6Eun_PKwwISShRAmfx6eVRPGC0,458
|
|
6
6
|
adam/cli_group.py,sha256=W3zy1BghCtVcEXizq8fBH-93ZRVVwgAyGPzy0sHno1Y,593
|
|
7
|
-
adam/config.py,sha256=
|
|
7
|
+
adam/config.py,sha256=kUgxjrRB3USmRgQVEp9ROOT23Qya2nRIKNbyiWBUCpw,2871
|
|
8
8
|
adam/embedded_apps.py,sha256=lKPx63mKzJbNmwz0rgL4gF76M9fDGxraYTtNAIGnZ_s,419
|
|
9
9
|
adam/embedded_params.py,sha256=LObTQtC5A6sfRPjHNNcJZr2GUVYoQ1TNAR-zPmQoZRc,4930
|
|
10
10
|
adam/log.py,sha256=gg5DK52wLPc9cjykeh0WFHyAk1qI3HEpGaAK8W2dzXY,1146
|
|
11
11
|
adam/pod_exec_result.py,sha256=WBXJSvxzXp9TfsfXeHtIvgz8GvfMAAcH5M03GISLqzw,1046
|
|
12
|
-
adam/repl.py,sha256=
|
|
12
|
+
adam/repl.py,sha256=zvzHyAuU2XTyp5o7oKd0NBpUNgn-o24cIwR9s32de50,9559
|
|
13
13
|
adam/repl_commands.py,sha256=GKdpHm4e0it7qVwjzBrsIoa5szpvZC30kJmHbWCvooA,4691
|
|
14
14
|
adam/repl_session.py,sha256=uIogcvWBh7wd8QQ-p_JgLsyJ8YJgINw5vOd6JIsd7Vo,472
|
|
15
|
-
adam/repl_state.py,sha256=
|
|
15
|
+
adam/repl_state.py,sha256=VlQpV19Sg5vL8H3o8lQxZB5atyuTuN5iEQsd6xpSkQQ,8774
|
|
16
16
|
adam/utils.py,sha256=sbsNZP3qGJtb6fXCa4dDXHry5ay9ev583cCZIQzy07s,7382
|
|
17
17
|
adam/utils_athena.py,sha256=tU6Arg4g7eKV6ei9SLgakOJJqxKgSCsII-7a68OI7_g,3199
|
|
18
18
|
adam/utils_net.py,sha256=65fhBnWMCkhGtyHqz95qcHaCo35q-WX1RBkkXG8dKpI,416
|
|
19
|
-
adam/version.py,sha256=
|
|
19
|
+
adam/version.py,sha256=ReUVXcGktIMxyKbTuYBaSJNNFvh4zcn67ln883F8x-g,139
|
|
20
20
|
adam/checks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
adam/checks/check.py,sha256=Qopr3huYcMu2bzQgb99dEUYjFzkjKHRI76S6KA9b9Rk,702
|
|
22
22
|
adam/checks/check_context.py,sha256=FEHkQ32jY1EDopQ2uYWqy9v7aEEX1orLpJWhopwAlh4,402
|
|
23
23
|
adam/checks/check_result.py,sha256=5_DVNgkCC9t7xFJYNsjd9bfXA1I4vYb6K3kmN8cdMrA,669
|
|
24
|
-
adam/checks/check_utils.py,sha256=
|
|
25
|
-
adam/checks/compactionstats.py,sha256=
|
|
26
|
-
adam/checks/cpu.py,sha256=
|
|
27
|
-
adam/checks/disk.py,sha256=
|
|
28
|
-
adam/checks/gossip.py,sha256=
|
|
24
|
+
adam/checks/check_utils.py,sha256=z6MqlCZg1YMJZgDe0GGq4sYBaQ2w0_wXsbTLjlAEz1Q,3772
|
|
25
|
+
adam/checks/compactionstats.py,sha256=NFi9RcRImZqCJBZs3LH851RHmlu4BO0s_QOsvkdUxKQ,2304
|
|
26
|
+
adam/checks/cpu.py,sha256=5KK-t1_2TSbT0lX6syEBRF1kZPoFQMOr1EJejFFq5gs,2666
|
|
27
|
+
adam/checks/disk.py,sha256=y0gwfh-MuEx0Ot7EXf8d7Q0ovbkThFMS1yWrIeeVe84,5214
|
|
28
|
+
adam/checks/gossip.py,sha256=60PeVkhtMWziiYILPwMKfesFjOanIn-nxeZZL5nUHQs,3119
|
|
29
29
|
adam/checks/issue.py,sha256=u3E6yCpDGGJiveKXdpkrKq7HQRTrG7aR2XLCoO-ys7U,498
|
|
30
|
-
adam/checks/memory.py,sha256=
|
|
31
|
-
adam/checks/status.py,sha256=
|
|
30
|
+
adam/checks/memory.py,sha256=1TPoC_eL7QmMMJfaclW3hoSxudsUc4qvrzzb0Z4f5Kw,3056
|
|
31
|
+
adam/checks/status.py,sha256=4IFCesrovCbGKgbJxLr0VxjGGWmmF23ZQNfHUFb5Kyg,2140
|
|
32
32
|
adam/columns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
33
|
adam/columns/column.py,sha256=O_5ptfx136BKdLo8enDvSL3HlId1dkjMM2XUumg1tNA,956
|
|
34
34
|
adam/columns/columns.py,sha256=AzovFIwOhBDQHc4bFEbhMoxxuOCIbxIzXfp6fQyiRYk,1645
|
|
@@ -52,53 +52,53 @@ adam/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
52
52
|
adam/commands/alter_tables.py,sha256=Q5vXHE4_1_6v6wtYwqST7_QwpXINb1xq0Sm448Z2Y7Q,3582
|
|
53
53
|
adam/commands/app.py,sha256=7alV8wK801t67_rUe6EmhtHJTl-6K7fGCm6Uz1dDgpM,1963
|
|
54
54
|
adam/commands/app_ping.py,sha256=Xk7cfefphXM2w-UvpnhNUTZ3BU38f0deehUb2FEyLCI,1337
|
|
55
|
-
adam/commands/bash.py,sha256=
|
|
56
|
-
adam/commands/cd.py,sha256=
|
|
55
|
+
adam/commands/bash.py,sha256=XKmbH0oWPHbzCuI54nrvSW901gUP9KWb3-NBMwBBMQk,2979
|
|
56
|
+
adam/commands/cd.py,sha256=Te4ri6ouT6whmBsOa9G751eB39C8Pi7Susa0KE9cuGQ,4728
|
|
57
57
|
adam/commands/check.py,sha256=853FPfgTMGxQXI_5UaPAtzaSWB_BvEVm48EkJhsHe4w,2181
|
|
58
|
-
adam/commands/cli_commands.py,sha256=
|
|
58
|
+
adam/commands/cli_commands.py,sha256=vZMgXBQpTfiJ9E4v9yHB6WwcJgO6UcqWF3NuRspicq8,3620
|
|
59
59
|
adam/commands/command.py,sha256=PCnEOZqZP6lHONOz2HhoJqNhBfOckhgEauFjZq_mgHc,4112
|
|
60
60
|
adam/commands/command_helpers.py,sha256=leOJJK1UXczNTJHN9TGMCbIpUpmpreULvQ-TvnsYS7w,1134
|
|
61
|
-
adam/commands/commands_utils.py,sha256=
|
|
61
|
+
adam/commands/commands_utils.py,sha256=jkNCI7ZpkdF3HGGF_v7kyUjiHO4zrzrYIWja1sQesH0,3122
|
|
62
62
|
adam/commands/cp.py,sha256=dyQViRDPNqsKRkxPb7WyEVIBNw7YB6IfYa2q3VtfzyA,3107
|
|
63
63
|
adam/commands/devices.py,sha256=ygpvjYa_NcezM_hctGOAAuBEHiDJtLtJNlOcLGvFJAc,3184
|
|
64
64
|
adam/commands/exit.py,sha256=5MWUAmzYBlsrp0CoiTDB13SUkX9Ya18UlGeOIPia6TA,798
|
|
65
65
|
adam/commands/help.py,sha256=4IzR4p8UiXr00o1TaymHWm8957EWbWRyuvhrJzZzvc0,1734
|
|
66
66
|
adam/commands/issues.py,sha256=VS-PC7e-2lywsa-lbmoUX8IY77OPGzFudwbw1g8XmQc,2599
|
|
67
67
|
adam/commands/login.py,sha256=bj95WWIF7mJDJhnyS9T8xvaZUGL37dj7GlH8TgmODbk,1877
|
|
68
|
-
adam/commands/logs.py,sha256=
|
|
69
|
-
adam/commands/ls.py,sha256=
|
|
70
|
-
adam/commands/nodetool.py,sha256=
|
|
68
|
+
adam/commands/logs.py,sha256=GBVztFlCQfd4jfMtqydPjWS9xsB5mV4Aj4ohSQFm6i0,1165
|
|
69
|
+
adam/commands/ls.py,sha256=qrtlYTfJG3_p7jrMkB2mv4V8fHf8MLr24V9bJXRPHNA,5766
|
|
70
|
+
adam/commands/nodetool.py,sha256=j_DS5Tqe_NLpq2d0kTCC9IyNcl9krEHsB-URwBPeHVU,2356
|
|
71
71
|
adam/commands/nodetool_commands.py,sha256=5IgWC3rmeDD1cgwqQjiiWzi-wJpJ3n_8pAzz_9phXuk,2635
|
|
72
72
|
adam/commands/param_get.py,sha256=kPAAppK2T0tEFRnSIVFLDPIIGHhgLA7drJhn8TRyvvE,1305
|
|
73
73
|
adam/commands/param_set.py,sha256=QDIuqfU80aWCB16OK49yf7XRaRTWwiLkwMsJuVikq9I,1271
|
|
74
74
|
adam/commands/preview_table.py,sha256=5im47Uk6RclgkZD-Ci0lBs1eosnfvBtKt2lgsb_bohs,3068
|
|
75
75
|
adam/commands/pwd.py,sha256=izzMhIcbHjky2VA-84w5pt4nQDDUqahg3t34qy5yxMM,2446
|
|
76
76
|
adam/commands/report.py,sha256=Ky45LIzSlB_X4V12JZWjU3SA2u4_FKRencRTq7psOWU,1944
|
|
77
|
-
adam/commands/restart.py,sha256=
|
|
78
|
-
adam/commands/rollout.py,sha256=
|
|
77
|
+
adam/commands/restart.py,sha256=SAxWHvglTckQJ0tJe5t-HWsVerbreNMM-7Nb9PAqno4,2044
|
|
78
|
+
adam/commands/rollout.py,sha256=Db9P4Owd3aPcRLIGhwyEElBNm_2Ke54KbiXyVKmztcE,2959
|
|
79
79
|
adam/commands/shell.py,sha256=wY_PIx7Lt6vuxhFArlfxdEnBbrouCJ3yNHhFn17DEqw,848
|
|
80
|
-
adam/commands/watch.py,sha256=
|
|
80
|
+
adam/commands/watch.py,sha256=fU2LGll-Igl08HpUQALOnh8l3s3AMGFX26NCLhqbfcw,2438
|
|
81
81
|
adam/commands/audit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
82
82
|
adam/commands/audit/audit.py,sha256=uXyzGRRW4mfg4AAjxMe6yrTrC3UNQnZh9_8n7-Y3EVE,2324
|
|
83
83
|
adam/commands/audit/audit_repair_tables.py,sha256=5Glsy29md3KH_4_smuVBeu6c4zygICPK8Jiv-fNRC38,1186
|
|
84
84
|
adam/commands/cql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
85
|
adam/commands/cql/cql_completions.py,sha256=dXe51NTWEJis76587IWSn9Av-cjC0J6KMaxlBKfF4wM,411
|
|
86
86
|
adam/commands/cql/cql_table_completer.py,sha256=Tth6lmZ1eCEbJeAVZojTx594ttQeeVf-OjhhkSLyRnI,312
|
|
87
|
-
adam/commands/cql/cql_utils.py,sha256=
|
|
87
|
+
adam/commands/cql/cql_utils.py,sha256=ywooEd5jQrqlhUxA0H6sPqNoGz384fSkrQhQPgLjdYg,4005
|
|
88
88
|
adam/commands/cql/cqlsh.py,sha256=qEQufaDVi9FXkvruum6OHQDfLX01DVWVDnWsAjyCZYQ,2661
|
|
89
89
|
adam/commands/deploy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
90
90
|
adam/commands/deploy/code_start.py,sha256=-iH8HThTNM83IfBxT_LqTByuHVatV9d-Il4OYOfrwLI,1370
|
|
91
91
|
adam/commands/deploy/code_stop.py,sha256=ch7ZMgosvTHsGaIcDwQY5XYh_5HYrUjBkZFOI-d2gOU,1696
|
|
92
|
-
adam/commands/deploy/code_utils.py,sha256=
|
|
92
|
+
adam/commands/deploy/code_utils.py,sha256=cRvktxpAB2-QBX7-eYt9O57uio58X763uXWotTci3mc,3296
|
|
93
93
|
adam/commands/deploy/deploy.py,sha256=lDuOb460Wm8RkkX811SPGYv59wP0uc9LgCsVG-71bDI,1254
|
|
94
94
|
adam/commands/deploy/deploy_frontend.py,sha256=S3SvJD4JZQ9kDOOP_mrTnZFDl54AHhio5xxNgIUBZVk,1704
|
|
95
95
|
adam/commands/deploy/deploy_pg_agent.py,sha256=VlOplID4MBABzuXeueyjKOTZjlQlQWLwvLSxpii4FHU,1203
|
|
96
|
-
adam/commands/deploy/deploy_pod.py,sha256=
|
|
97
|
-
adam/commands/deploy/deploy_utils.py,sha256=
|
|
96
|
+
adam/commands/deploy/deploy_pod.py,sha256=QvNeBoTa_d3ERXQA7OcQm1awLi5ixj_nS94pqktYMb0,4663
|
|
97
|
+
adam/commands/deploy/deploy_utils.py,sha256=uQEl0gMOJw2TNjP0Q3pv5nrZYjAsoACtep0a15M0DCE,1524
|
|
98
98
|
adam/commands/deploy/undeploy.py,sha256=hLrkliNVL7YBQ9sSpJgGeSZiSx7cqkWlv6Y_T3NqR5Y,1308
|
|
99
99
|
adam/commands/deploy/undeploy_frontend.py,sha256=gHekPn7l19JgVbhneKpQ7ModNoDFmzWRMyQv9v4FBxo,1261
|
|
100
100
|
adam/commands/deploy/undeploy_pg_agent.py,sha256=RYME8no1FT94WpVg-HXDGL1NmLlpE1I9R4htitjaxpo,1319
|
|
101
|
-
adam/commands/deploy/undeploy_pod.py,sha256=
|
|
101
|
+
adam/commands/deploy/undeploy_pod.py,sha256=I-pNfdcfBGLJ5YssTjSHoM4miygqoiGN233wUSIUG9Y,1905
|
|
102
102
|
adam/commands/describe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
103
|
adam/commands/describe/describe.py,sha256=isRQ1z3lrFtaSkeWPndLGvaIbZivlBxI8D1X8ywNe1E,1510
|
|
104
104
|
adam/commands/describe/describe_keyspace.py,sha256=ug2xqddB-2VST8PdlEIc_tLE-8dqe2GMQk30t68ymm0,1931
|
|
@@ -107,15 +107,15 @@ adam/commands/describe/describe_table.py,sha256=k4cbVkHkpCuFD3grne58sDPFZFG7e21D
|
|
|
107
107
|
adam/commands/describe/describe_tables.py,sha256=vIs4lKz4nHBJumOlR4wBhR1QxXTFqzXCq-DNOO04CVE,1557
|
|
108
108
|
adam/commands/medusa/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
109
109
|
adam/commands/medusa/medusa.py,sha256=KNFjStvilIuOJt3wTtcWmKvdm8FdCnrDY2ltEWbratk,1402
|
|
110
|
-
adam/commands/medusa/medusa_backup.py,sha256=
|
|
111
|
-
adam/commands/medusa/medusa_restore.py,sha256=
|
|
112
|
-
adam/commands/medusa/medusa_show_backupjobs.py,sha256=
|
|
113
|
-
adam/commands/medusa/medusa_show_restorejobs.py,sha256=
|
|
110
|
+
adam/commands/medusa/medusa_backup.py,sha256=Tns-nBbqTnry8zoCFtXCisco3ipcOgArQbN5rc7SRGY,1801
|
|
111
|
+
adam/commands/medusa/medusa_restore.py,sha256=yvqMZtGsZHlFfBNAfcvzfcCbe1NQdlP3H4JQfsQ0WvU,3274
|
|
112
|
+
adam/commands/medusa/medusa_show_backupjobs.py,sha256=9wMauYGmpgELaULLuDClTLc_2cJa3U1YVs7ry7GCiaA,1756
|
|
113
|
+
adam/commands/medusa/medusa_show_restorejobs.py,sha256=bj7afDJ7tgvssazOcxru9rCmcwPoDaTAgkYdvHKWhjI,1651
|
|
114
114
|
adam/commands/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
115
|
adam/commands/postgres/postgres.py,sha256=TiJwXGa4faPZ7DI8698SwgjnUXsIaVgG-R_-eXVPhwk,3142
|
|
116
116
|
adam/commands/postgres/postgres_ls.py,sha256=HwZTgwGKXUqHX33S8aQPF6FqCrLqtoz4cLyJV2SpoE0,1186
|
|
117
117
|
adam/commands/postgres/postgres_preview.py,sha256=MLzdEc4mvNj6V1Q8jO5OPznXyYELJHgd35_eQgLlNIU,1274
|
|
118
|
-
adam/commands/postgres/postgres_session.py,sha256=
|
|
118
|
+
adam/commands/postgres/postgres_session.py,sha256=X8YOAxt6EXsUJ_QxIYr-5pmhaSiAX4lm0FXwQPCgXbw,9305
|
|
119
119
|
adam/commands/postgres/postgres_utils.py,sha256=mC5PZXrfxzqZt6n_HYASwe6Y-OyAK3QwEtDeVb_TKrA,877
|
|
120
120
|
adam/commands/postgres/psql_completions.py,sha256=IHcSy-fh028_rYw2gcXaPuf_4TidP5a2hPrl63N643M,322
|
|
121
121
|
adam/commands/postgres/psql_table_completer.py,sha256=WI9VvnI2w6U8HZOdPPiacpf4ShPjHuunHnOtrx7LYG8,509
|
|
@@ -123,7 +123,7 @@ adam/commands/reaper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
123
123
|
adam/commands/reaper/reaper.py,sha256=83R0ZRitEwaYKKssfKxn3zAzLnWIP9QKd1mA6awceS8,1908
|
|
124
124
|
adam/commands/reaper/reaper_forward.py,sha256=mUp409MzT91cVXGxoPfBGceaR3qZ0rVdWKGdyzPNzSA,3177
|
|
125
125
|
adam/commands/reaper/reaper_forward_stop.py,sha256=mllxBGxOUkFYMvF0eaFbL5VGMVAiFuT5KY8rKWTIiOE,1384
|
|
126
|
-
adam/commands/reaper/reaper_restart.py,sha256=
|
|
126
|
+
adam/commands/reaper/reaper_restart.py,sha256=vqPm-8aY0PnIELxmWF-th3wQFE3f0-8DoJrgRIjb8xc,1290
|
|
127
127
|
adam/commands/reaper/reaper_run_abort.py,sha256=vp69f1zoNodwqx61N0CQaevYoR7qF2rccrzjJuF47qY,1858
|
|
128
128
|
adam/commands/reaper/reaper_runs.py,sha256=uVfAK3Pca_N10XKZ1aeMTrCCM8vDExXBWo84_2UmSqo,3253
|
|
129
129
|
adam/commands/reaper/reaper_runs_abort.py,sha256=HZm8Re66XwgURgd0sJtIF2UIwrdozHQJf1O_ZAsLy-I,2538
|
|
@@ -131,44 +131,29 @@ adam/commands/reaper/reaper_schedule_activate.py,sha256=HbwaSeKaDoR2qgiWgglwM5gm
|
|
|
131
131
|
adam/commands/reaper/reaper_schedule_start.py,sha256=oDwH99QVyeKgu-jk5-pB7BzUH_rablCbtumNHXjBnpU,1940
|
|
132
132
|
adam/commands/reaper/reaper_schedule_stop.py,sha256=_Ld5BRX5pqfIis5i1KG8yif0q5u9RTaFBmmQwkZuOMY,1929
|
|
133
133
|
adam/commands/reaper/reaper_schedules.py,sha256=-b7eKl0wJT7zMru8qKcLqG5JF0-LfeTcNmlxut9t93E,1263
|
|
134
|
-
adam/commands/reaper/reaper_session.py,sha256=
|
|
134
|
+
adam/commands/reaper/reaper_session.py,sha256=bZyknDtsqlGc2JPMfUg0EXA7fOi_fEIzGiVn5x0HwNs,6650
|
|
135
135
|
adam/commands/reaper/reaper_status.py,sha256=g3Uep1AVYOThAaZoFjn4bWTKHElZnCleJyYYHP9HayY,1967
|
|
136
136
|
adam/commands/repair/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
137
137
|
adam/commands/repair/repair.py,sha256=Z284AKjUupQ-Uul5xDVr_ljfiXJ0VmAXsrlhLPjRp5A,1315
|
|
138
|
-
adam/commands/repair/repair_log.py,sha256=
|
|
139
|
-
adam/commands/repair/repair_run.py,sha256=
|
|
140
|
-
adam/commands/repair/repair_scan.py,sha256=
|
|
141
|
-
adam/commands/repair/repair_stop.py,sha256=
|
|
138
|
+
adam/commands/repair/repair_log.py,sha256=CZTOfNoJdrmimktZlvzr4Mk3h6ldrtyjsf2aGo7w5oA,1159
|
|
139
|
+
adam/commands/repair/repair_run.py,sha256=JMSr17C_1KanbaL-vtHVhz69fOXzuXAiCRenQVmws9s,2598
|
|
140
|
+
adam/commands/repair/repair_scan.py,sha256=WC79lE4TOw6M7TdG2Zdfswuq9gRejJWoL_B4YWBOm8c,2439
|
|
141
|
+
adam/commands/repair/repair_stop.py,sha256=OJAPeWYmaW7MzoAE4un_qGyegSIJlmykdFaqtGV-k64,1193
|
|
142
142
|
adam/commands/show/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
143
143
|
adam/commands/show/show.py,sha256=JQn1j9XQ8xZVl_TtI_qFzYBcsUZd3JMNrPgKx5XKUqU,2043
|
|
144
144
|
adam/commands/show/show_adam.py,sha256=osuafMipN2My4O7bLdukBLsDHtTKguDfTagmgz7aZvw,1314
|
|
145
145
|
adam/commands/show/show_app_actions.py,sha256=3knASTOIecvdLEJusbsGEGXVxeCpqHozbnFAEq_2pqY,1925
|
|
146
|
-
adam/commands/show/show_app_id.py,sha256
|
|
146
|
+
adam/commands/show/show_app_id.py,sha256=h2ezkJiu18dyDTIYA9F6crUGyelgOevsJuxh3jOUelg,1384
|
|
147
147
|
adam/commands/show/show_app_queues.py,sha256=GvVbyFbdFegHQFTHhn-fl0NaxHgJqPc44fc981HvRbM,1371
|
|
148
|
-
adam/commands/show/show_cassandra_status.py,sha256=
|
|
149
|
-
adam/commands/show/show_cassandra_version.py,sha256=
|
|
148
|
+
adam/commands/show/show_cassandra_status.py,sha256=j2kr0asSYQ-VTAsJW3Ikqkk2R6ltM-az3HXcACUM4rU,5157
|
|
149
|
+
adam/commands/show/show_cassandra_version.py,sha256=vq9F1O03tkYMlqENxEYFXXh8RnK30lXrFYVIgN4hP_I,1633
|
|
150
150
|
adam/commands/show/show_commands.py,sha256=ivjY3u3Ph969zOh0dYi0KjAfm7ClUGdQpkJLJAvpeUc,1893
|
|
151
151
|
adam/commands/show/show_host.py,sha256=nJZdk3guvHNZqoy5QDW9xff9bmqPgYVVpteXBp9RE8U,877
|
|
152
152
|
adam/commands/show/show_login.py,sha256=-sF93qA9LmRNWehz1pEXdhxWvHrWAD_ZDalqQsXJhyQ,1868
|
|
153
153
|
adam/commands/show/show_params.py,sha256=LoBj_ScmtsPrXSUH59p3IYAlmL-0Q_Gb01bp_7zrwQA,1008
|
|
154
|
-
adam/commands/show/show_processes.py,sha256=
|
|
155
|
-
adam/commands/show/show_repairs.py,sha256=
|
|
156
|
-
adam/commands/show/show_storage.py,sha256=
|
|
157
|
-
adam/k8s_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
158
|
-
adam/k8s_utils/cassandra_clusters.py,sha256=JAUTix4fxDn3AJ64Nayxs7QVTu4lZhJ5-7G8h-ufJvs,1400
|
|
159
|
-
adam/k8s_utils/cassandra_nodes.py,sha256=R1sBxetbA2zQlVBWgfRnvF8onQ1Ug3h3yrHl_K_pJR4,1176
|
|
160
|
-
adam/k8s_utils/config_maps.py,sha256=vc9A-2D1-1mindCMFL1wuysDOXb0RCl4BdjC6B6usXI,1194
|
|
161
|
-
adam/k8s_utils/custom_resources.py,sha256=cIeaZRQET2DelTGU2f5QsMckh7TddPpWZDFeNK3txeQ,7647
|
|
162
|
-
adam/k8s_utils/deployment.py,sha256=3oZPfPgQfqtAQaxEFL4daUfRSieRAhysmuaWMzUYgXk,2921
|
|
163
|
-
adam/k8s_utils/ingresses.py,sha256=ul3Z6fDGc_Cxcn-ExP0vXhZatoShCUZFtpwtCY4Qx7o,3460
|
|
164
|
-
adam/k8s_utils/jobs.py,sha256=gJpBpjcZ_FlkWJJIlavbHC_bqdmvv-GMVo8UZVh0sOQ,2610
|
|
165
|
-
adam/k8s_utils/kube_context.py,sha256=xJF_72vUJu-X9MpIYzOIfnj7KEWU7a_sLBR-H3994Y0,3311
|
|
166
|
-
adam/k8s_utils/pods.py,sha256=w8KyYryRi7LHjRP1yCxYYawe4zkmwRffg6uJgtZTTEw,10993
|
|
167
|
-
adam/k8s_utils/secrets.py,sha256=tBSKLknHlwdwyTzqvtJ2YS-y9x4gvW57Ug9sOkK_U50,2413
|
|
168
|
-
adam/k8s_utils/service_accounts.py,sha256=v2oQSqCrNvt2uRnKlNwR3fjtpUG7oF5nqgzEB7NnT-U,6349
|
|
169
|
-
adam/k8s_utils/services.py,sha256=EOJJGACVbbRvu5T3rMKqIJqgYic1_MSJ17EA0TJ6UOk,3156
|
|
170
|
-
adam/k8s_utils/statefulsets.py,sha256=5g7KxGRHgEewT8rnZneDTaJDylUf-dHH2edWJEoorr8,4667
|
|
171
|
-
adam/k8s_utils/volumes.py,sha256=RIBmlOSWM3V3QVXLCFT0owVOyh4rGG1ETp521a-6ndo,1137
|
|
154
|
+
adam/commands/show/show_processes.py,sha256=K7sBSyvCukp3bfoi0SBaqMV5a4Af8paEQXVZJT-gqgE,1770
|
|
155
|
+
adam/commands/show/show_repairs.py,sha256=m82ukc6YxjvJc9rdKXsiJLtXrEUCiaE-VPqgxDsIOeM,1477
|
|
156
|
+
adam/commands/show/show_storage.py,sha256=WuBB5AEFm4g7oBz_YCbtkrF2GEeJ-J2tqCVmvzwmwuI,1837
|
|
172
157
|
adam/sql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
173
158
|
adam/sql/sql_completer.py,sha256=zH2I-WLc7aZmdIg0PlHPVLdxemI8oN8YTCnG7qxcYqA,2907
|
|
174
159
|
adam/sql/state_machine.py,sha256=3QMs13F6dDr6FHYkZP7l8TP0P6wkS__Q6CoD0seBDug,25598
|
|
@@ -177,14 +162,29 @@ adam/sso/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
177
162
|
adam/sso/authenticator.py,sha256=BCm16L9zf5aLU47-sTCnudn2zLPwd8M2wwRminJfsqw,615
|
|
178
163
|
adam/sso/authn_ad.py,sha256=fDW8UR3WWykny5Awa5dQjjBUSFzIDz4aMn-lwXoABl8,5857
|
|
179
164
|
adam/sso/authn_okta.py,sha256=TV5vg7OEQPGFG_DSUQnWn37nbMX_qszZB0GRuQl6kGM,4529
|
|
180
|
-
adam/sso/cred_cache.py,sha256=
|
|
165
|
+
adam/sso/cred_cache.py,sha256=Y86PDrTsuzoZSd8iae14SAv-YVEnxeaf6LukX35iTnw,2099
|
|
181
166
|
adam/sso/id_token.py,sha256=wmVZ8S0sjScnOxmSvOKlIEKgnvdWqhsgq9XjFe355O4,744
|
|
182
|
-
adam/sso/idp.py,sha256=
|
|
167
|
+
adam/sso/idp.py,sha256=tt6SjpZ2ix_zgfi3hQS9UUis9fvUWl6b4RLaEJ--ruY,5804
|
|
183
168
|
adam/sso/idp_login.py,sha256=QAtCUeDTVWliJy40RK_oac8Vgybr13xH8wzeBoxPaa8,1754
|
|
184
169
|
adam/sso/idp_session.py,sha256=9BUHNRf70u4rVKrVY1HKPOEmOviXvkjam8WJxmXSKIM,1735
|
|
185
170
|
adam/sso/sso_config.py,sha256=5N8WZgIJQBtHUy585XLRWKjpU87_v6QluyNK9E27D5s,2459
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
171
|
+
adam/utils_k8s/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
172
|
+
adam/utils_k8s/cassandra_clusters.py,sha256=qUi50MZkk5Rhce0-7s7KSbqe3mCxzcN5bA8Y866WR5E,1400
|
|
173
|
+
adam/utils_k8s/cassandra_nodes.py,sha256=itxmhzanBC7OsNOVb7z6zH0VA5F6HvXR5VKAqWBwbho,1440
|
|
174
|
+
adam/utils_k8s/config_maps.py,sha256=vc9A-2D1-1mindCMFL1wuysDOXb0RCl4BdjC6B6usXI,1194
|
|
175
|
+
adam/utils_k8s/custom_resources.py,sha256=cIeaZRQET2DelTGU2f5QsMckh7TddPpWZDFeNK3txeQ,7647
|
|
176
|
+
adam/utils_k8s/deployment.py,sha256=SLhnMm5GMXwEldj2OupSFBUsvNjynwSNrv5tIDvLMrc,2921
|
|
177
|
+
adam/utils_k8s/ingresses.py,sha256=ul3Z6fDGc_Cxcn-ExP0vXhZatoShCUZFtpwtCY4Qx7o,3460
|
|
178
|
+
adam/utils_k8s/jobs.py,sha256=gJpBpjcZ_FlkWJJIlavbHC_bqdmvv-GMVo8UZVh0sOQ,2610
|
|
179
|
+
adam/utils_k8s/kube_context.py,sha256=xJF_72vUJu-X9MpIYzOIfnj7KEWU7a_sLBR-H3994Y0,3311
|
|
180
|
+
adam/utils_k8s/pods.py,sha256=3lfHfyIYg5tI4O544aww2k-LsvMfPGTESYXCjcfKb6Y,11217
|
|
181
|
+
adam/utils_k8s/secrets.py,sha256=tBSKLknHlwdwyTzqvtJ2YS-y9x4gvW57Ug9sOkK_U50,2413
|
|
182
|
+
adam/utils_k8s/service_accounts.py,sha256=v2oQSqCrNvt2uRnKlNwR3fjtpUG7oF5nqgzEB7NnT-U,6349
|
|
183
|
+
adam/utils_k8s/services.py,sha256=EOJJGACVbbRvu5T3rMKqIJqgYic1_MSJ17EA0TJ6UOk,3156
|
|
184
|
+
adam/utils_k8s/statefulsets.py,sha256=5g7KxGRHgEewT8rnZneDTaJDylUf-dHH2edWJEoorr8,4667
|
|
185
|
+
adam/utils_k8s/volumes.py,sha256=RIBmlOSWM3V3QVXLCFT0owVOyh4rGG1ETp521a-6ndo,1137
|
|
186
|
+
kaqing-2.0.94.dist-info/METADATA,sha256=6pfzONIF7eW7jS-zkyDJSzYe9ups6XXoZh-fqHen5a0,132
|
|
187
|
+
kaqing-2.0.94.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
188
|
+
kaqing-2.0.94.dist-info/entry_points.txt,sha256=SkzhuQJUWsXOzHeZ5TgQ2c3_g53UGK23zzJU_JTZOZI,39
|
|
189
|
+
kaqing-2.0.94.dist-info/top_level.txt,sha256=8_2PZkwBb-xDcnc8a2rAbQeJhXKXskc7zTP7pSPa1fw,5
|
|
190
|
+
kaqing-2.0.94.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|