kaqing 2.0.50__py3-none-any.whl → 2.0.110__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 +11 -15
- 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/alter_tables.py +3 -14
- adam/commands/app.py +2 -2
- adam/commands/app_ping.py +2 -2
- adam/commands/audit/audit.py +85 -0
- adam/commands/audit/audit_repair_tables.py +76 -0
- adam/commands/audit/audit_run.py +57 -0
- adam/commands/audit/show_last10.py +50 -0
- adam/commands/audit/show_slow10.py +49 -0
- adam/commands/audit/show_top10.py +48 -0
- adam/commands/audit/utils_show_top10.py +59 -0
- adam/commands/bash.py +76 -13
- adam/commands/cd.py +22 -13
- adam/commands/check.py +6 -0
- adam/commands/cli_commands.py +3 -3
- adam/commands/command.py +15 -11
- adam/commands/commands_utils.py +4 -5
- adam/commands/cql/cql_completions.py +7 -5
- adam/commands/cql/cql_utils.py +13 -10
- adam/commands/cql/cqlsh.py +6 -3
- adam/commands/deploy/code_utils.py +2 -2
- adam/commands/deploy/deploy.py +7 -1
- adam/commands/deploy/deploy_pg_agent.py +2 -2
- adam/commands/deploy/deploy_pod.py +6 -6
- adam/commands/deploy/deploy_utils.py +2 -2
- adam/commands/deploy/undeploy.py +7 -1
- adam/commands/deploy/undeploy_pg_agent.py +2 -2
- adam/commands/deploy/undeploy_pod.py +4 -4
- adam/commands/devices.py +29 -0
- adam/commands/help.py +10 -7
- adam/commands/issues.py +6 -0
- adam/commands/login.py +6 -3
- adam/commands/logs.py +2 -1
- adam/commands/ls.py +30 -24
- adam/commands/medusa/medusa_backup.py +2 -2
- adam/commands/medusa/medusa_restore.py +2 -2
- adam/commands/medusa/medusa_show_backupjobs.py +3 -2
- adam/commands/medusa/medusa_show_restorejobs.py +2 -2
- adam/commands/nodetool.py +5 -3
- adam/commands/postgres/postgres.py +3 -3
- adam/commands/postgres/{postgres_session.py → postgres_context.py} +29 -30
- adam/commands/postgres/postgres_utils.py +5 -5
- adam/commands/postgres/psql_completions.py +2 -3
- adam/commands/preview_table.py +17 -32
- adam/commands/pwd.py +5 -2
- adam/commands/reaper/reaper.py +3 -0
- adam/commands/reaper/reaper_restart.py +1 -1
- adam/commands/reaper/reaper_session.py +1 -1
- adam/commands/repair/repair.py +3 -3
- 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/report.py +6 -0
- adam/commands/restart.py +2 -2
- adam/commands/rollout.py +1 -1
- adam/commands/show/show.py +5 -2
- adam/commands/show/show_app_actions.py +3 -0
- adam/commands/show/show_app_id.py +1 -1
- adam/commands/show/show_app_queues.py +3 -2
- adam/commands/show/show_cassandra_status.py +3 -3
- adam/commands/show/show_cassandra_version.py +3 -3
- adam/commands/show/show_host.py +33 -0
- adam/commands/show/show_login.py +3 -0
- 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/embedded_params.py +1 -1
- adam/pod_exec_result.py +7 -2
- adam/repl.py +141 -89
- adam/repl_commands.py +21 -20
- adam/repl_state.py +167 -39
- adam/sql/sql_completer.py +89 -49
- adam/sql/sql_state_machine.py +518 -0
- adam/sql/term_completer.py +76 -0
- adam/sso/cred_cache.py +1 -1
- adam/sso/idp.py +1 -1
- adam/utils.py +0 -1
- adam/utils_audits.py +193 -0
- adam/{k8s_utils → utils_k8s}/cassandra_clusters.py +6 -8
- adam/{k8s_utils → utils_k8s}/cassandra_nodes.py +11 -4
- adam/{k8s_utils → utils_k8s}/deployment.py +2 -2
- adam/{k8s_utils → utils_k8s}/pods.py +33 -9
- adam/{k8s_utils → utils_k8s}/secrets.py +4 -0
- adam/{k8s_utils → utils_k8s}/statefulsets.py +4 -4
- adam/utils_net.py +24 -0
- adam/version.py +1 -1
- {kaqing-2.0.50.dist-info → kaqing-2.0.110.dist-info}/METADATA +1 -1
- kaqing-2.0.110.dist-info/RECORD +187 -0
- adam/commands/cql/cql_table_completer.py +0 -16
- adam/commands/describe/describe.py +0 -46
- adam/commands/describe/describe_keyspace.py +0 -60
- adam/commands/describe/describe_keyspaces.py +0 -50
- adam/commands/describe/describe_table.py +0 -60
- adam/commands/describe/describe_tables.py +0 -50
- adam/commands/postgres/psql_table_completer.py +0 -18
- adam/sql/any_completer.py +0 -84
- adam/sql/sql_utils.py +0 -5
- adam/sql/table_name_completer.py +0 -17
- kaqing-2.0.50.dist-info/RECORD +0 -185
- /adam/commands/{describe → audit}/__init__.py +0 -0
- /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}/service_accounts.py +0 -0
- /adam/{k8s_utils → utils_k8s}/services.py +0 -0
- /adam/{k8s_utils → utils_k8s}/volumes.py +0 -0
- {kaqing-2.0.50.dist-info → kaqing-2.0.110.dist-info}/WHEEL +0 -0
- {kaqing-2.0.50.dist-info → kaqing-2.0.110.dist-info}/entry_points.txt +0 -0
- {kaqing-2.0.50.dist-info → kaqing-2.0.110.dist-info}/top_level.txt +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
from adam.sql.table_name_completer import NestedDict, TableNameCompleter
|
|
2
|
-
|
|
3
|
-
class CqlTableNameCompleter(TableNameCompleter):
|
|
4
|
-
def __init__(self, tables: list[str], nested_dict: NestedDict = {}, ignore_case: bool = True):
|
|
5
|
-
self._tables = tables
|
|
6
|
-
self.ignore_case = ignore_case
|
|
7
|
-
self.append_nested_dict(nested_dict)
|
|
8
|
-
|
|
9
|
-
def __repr__(self) -> str:
|
|
10
|
-
return "CqlTableCompleter(%r)" % (len(self._tables))
|
|
11
|
-
|
|
12
|
-
def nested(self, data: NestedDict) -> 'TableNameCompleter':
|
|
13
|
-
return CqlTableNameCompleter(self._tables).append_nested_dict(data)
|
|
14
|
-
|
|
15
|
-
def tables(self) -> list[str]:
|
|
16
|
-
return self._tables
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import click
|
|
2
|
-
|
|
3
|
-
from adam.commands.command import Command
|
|
4
|
-
from adam.commands.describe.describe_keyspace import DescribeKeyspace
|
|
5
|
-
from adam.commands.describe.describe_keyspaces import DescribeKeyspaces
|
|
6
|
-
from adam.commands.describe.describe_table import DescribeTable
|
|
7
|
-
from adam.commands.describe.describe_tables import DescribeTables
|
|
8
|
-
from adam.repl_state import ReplState, RequiredState
|
|
9
|
-
|
|
10
|
-
class Describe(Command):
|
|
11
|
-
COMMAND = 'describe'
|
|
12
|
-
reaper_login = None
|
|
13
|
-
|
|
14
|
-
# the singleton pattern
|
|
15
|
-
def __new__(cls, *args, **kwargs):
|
|
16
|
-
if not hasattr(cls, 'instance'): cls.instance = super(Describe, cls).__new__(cls)
|
|
17
|
-
|
|
18
|
-
return cls.instance
|
|
19
|
-
|
|
20
|
-
def __init__(self, successor: Command=None):
|
|
21
|
-
super().__init__(successor)
|
|
22
|
-
|
|
23
|
-
def required(self):
|
|
24
|
-
return RequiredState.CLUSTER
|
|
25
|
-
|
|
26
|
-
def command(self):
|
|
27
|
-
return Describe.COMMAND
|
|
28
|
-
|
|
29
|
-
def run(self, cmd: str, state: ReplState):
|
|
30
|
-
if not(args := self.args(cmd)):
|
|
31
|
-
return super().run(cmd, state)
|
|
32
|
-
|
|
33
|
-
return super().intermediate_run(cmd, state, args, Describe.cmd_list())
|
|
34
|
-
|
|
35
|
-
def cmd_list():
|
|
36
|
-
return [DescribeKeyspace(), DescribeKeyspaces(), DescribeTable(), DescribeTables()]
|
|
37
|
-
|
|
38
|
-
def completion(self, state: ReplState):
|
|
39
|
-
if state.sts:
|
|
40
|
-
return super().completion(state)
|
|
41
|
-
|
|
42
|
-
return {}
|
|
43
|
-
|
|
44
|
-
class DescribeCommandHelper(click.Command):
|
|
45
|
-
def get_help(self, ctx: click.Context):
|
|
46
|
-
Command.intermediate_help(super().get_help(ctx), Describe.COMMAND, Describe.cmd_list(), show_cluster_help=True)
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
from adam.commands.command import Command
|
|
2
|
-
from adam.commands.cql.cql_utils import keyspaces, run_cql
|
|
3
|
-
from adam.pod_exec_result import PodExecResult
|
|
4
|
-
from adam.repl_state import ReplState, RequiredState
|
|
5
|
-
from adam.utils import log2
|
|
6
|
-
|
|
7
|
-
class DescribeKeyspace(Command):
|
|
8
|
-
COMMAND = 'describe keyspace'
|
|
9
|
-
|
|
10
|
-
# the singleton pattern
|
|
11
|
-
def __new__(cls, *args, **kwargs):
|
|
12
|
-
if not hasattr(cls, 'instance'): cls.instance = super(DescribeKeyspace, cls).__new__(cls)
|
|
13
|
-
|
|
14
|
-
return cls.instance
|
|
15
|
-
|
|
16
|
-
def __init__(self, successor: Command=None):
|
|
17
|
-
super().__init__(successor)
|
|
18
|
-
|
|
19
|
-
def required(self):
|
|
20
|
-
return RequiredState.CLUSTER
|
|
21
|
-
|
|
22
|
-
def command(self):
|
|
23
|
-
return DescribeKeyspace.COMMAND
|
|
24
|
-
|
|
25
|
-
def run(self, cmd: str, state: ReplState):
|
|
26
|
-
if not(args := self.args(cmd)):
|
|
27
|
-
return super().run(cmd, state)
|
|
28
|
-
|
|
29
|
-
state, args = self.apply_state(args, state)
|
|
30
|
-
if not self.validate_state(state):
|
|
31
|
-
return state
|
|
32
|
-
|
|
33
|
-
args, all_nodes = Command.extract_options(args, '--all-nodes')
|
|
34
|
-
|
|
35
|
-
if not args:
|
|
36
|
-
if state.in_repl:
|
|
37
|
-
log2('Please enter keyspace name')
|
|
38
|
-
else:
|
|
39
|
-
log2('* keyspace name is missing.')
|
|
40
|
-
log2()
|
|
41
|
-
Command.display_help()
|
|
42
|
-
|
|
43
|
-
return 'missing-keyspace'
|
|
44
|
-
|
|
45
|
-
r: list[PodExecResult] = run_cql(state, f'describe keyspace {args[0]}', show_out=True, on_any=not all_nodes)
|
|
46
|
-
if not r:
|
|
47
|
-
log2('No pod is available')
|
|
48
|
-
return 'no-pod'
|
|
49
|
-
|
|
50
|
-
# do not continue to cql route
|
|
51
|
-
return state
|
|
52
|
-
|
|
53
|
-
def completion(self, state: ReplState) -> dict[str, any]:
|
|
54
|
-
if state.sts:
|
|
55
|
-
return super().completion(state, {ks: {'--all-nodes': None} for ks in keyspaces(state, on_any=True)})
|
|
56
|
-
|
|
57
|
-
return {}
|
|
58
|
-
|
|
59
|
-
def help(self, _: ReplState) -> str:
|
|
60
|
-
return f'{DescribeKeyspace.COMMAND} <keyspace-name> [--all-nodes]\t describe Cassandra keyspace'
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
from adam.commands.command import Command
|
|
2
|
-
from adam.commands.cql.cql_utils import run_cql
|
|
3
|
-
from adam.pod_exec_result import PodExecResult
|
|
4
|
-
from adam.repl_state import ReplState, RequiredState
|
|
5
|
-
from adam.utils import log2
|
|
6
|
-
|
|
7
|
-
class DescribeKeyspaces(Command):
|
|
8
|
-
COMMAND = 'describe keyspaces'
|
|
9
|
-
|
|
10
|
-
# the singleton pattern
|
|
11
|
-
def __new__(cls, *args, **kwargs):
|
|
12
|
-
if not hasattr(cls, 'instance'): cls.instance = super(DescribeKeyspaces, cls).__new__(cls)
|
|
13
|
-
|
|
14
|
-
return cls.instance
|
|
15
|
-
|
|
16
|
-
def __init__(self, successor: Command=None):
|
|
17
|
-
super().__init__(successor)
|
|
18
|
-
|
|
19
|
-
def required(self):
|
|
20
|
-
return RequiredState.CLUSTER
|
|
21
|
-
|
|
22
|
-
def command(self):
|
|
23
|
-
return DescribeKeyspaces.COMMAND
|
|
24
|
-
|
|
25
|
-
def run(self, cmd: str, state: ReplState):
|
|
26
|
-
if not(args := self.args(cmd)):
|
|
27
|
-
return super().run(cmd, state)
|
|
28
|
-
|
|
29
|
-
state, args = self.apply_state(args, state)
|
|
30
|
-
if not self.validate_state(state):
|
|
31
|
-
return state
|
|
32
|
-
|
|
33
|
-
_, all_nodes = Command.extract_options(args, '--all-nodes')
|
|
34
|
-
|
|
35
|
-
r: list[PodExecResult] = run_cql(state, f'describe keyspaces', show_out=True, on_any=not all_nodes)
|
|
36
|
-
if not r:
|
|
37
|
-
log2('No pod is available')
|
|
38
|
-
return 'no-pod'
|
|
39
|
-
|
|
40
|
-
# do not continue to cql route
|
|
41
|
-
return state
|
|
42
|
-
|
|
43
|
-
def completion(self, state: ReplState) -> dict[str, any]:
|
|
44
|
-
if state.sts:
|
|
45
|
-
return super().completion(state, {'--all-nodes': None})
|
|
46
|
-
|
|
47
|
-
return {}
|
|
48
|
-
|
|
49
|
-
def help(self, _: ReplState) -> str:
|
|
50
|
-
return f'{DescribeKeyspaces.COMMAND} [--all-nodes]\t describe Cassandra keyspaces'
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
from adam.commands.command import Command
|
|
2
|
-
from adam.commands.cql.cql_utils import run_cql, table_names
|
|
3
|
-
from adam.pod_exec_result import PodExecResult
|
|
4
|
-
from adam.repl_state import ReplState, RequiredState
|
|
5
|
-
from adam.utils import log2
|
|
6
|
-
|
|
7
|
-
class DescribeTable(Command):
|
|
8
|
-
COMMAND = 'describe table'
|
|
9
|
-
|
|
10
|
-
# the singleton pattern
|
|
11
|
-
def __new__(cls, *args, **kwargs):
|
|
12
|
-
if not hasattr(cls, 'instance'): cls.instance = super(DescribeTable, cls).__new__(cls)
|
|
13
|
-
|
|
14
|
-
return cls.instance
|
|
15
|
-
|
|
16
|
-
def __init__(self, successor: Command=None):
|
|
17
|
-
super().__init__(successor)
|
|
18
|
-
|
|
19
|
-
def required(self):
|
|
20
|
-
return RequiredState.CLUSTER
|
|
21
|
-
|
|
22
|
-
def command(self):
|
|
23
|
-
return DescribeTable.COMMAND
|
|
24
|
-
|
|
25
|
-
def run(self, cmd: str, state: ReplState):
|
|
26
|
-
if not(args := self.args(cmd)):
|
|
27
|
-
return super().run(cmd, state)
|
|
28
|
-
|
|
29
|
-
state, args = self.apply_state(args, state)
|
|
30
|
-
if not self.validate_state(state):
|
|
31
|
-
return state
|
|
32
|
-
|
|
33
|
-
args, all_nodes = Command.extract_options(args, '--all-nodes')
|
|
34
|
-
|
|
35
|
-
if not args:
|
|
36
|
-
if state.in_repl:
|
|
37
|
-
log2('Please enter table name')
|
|
38
|
-
else:
|
|
39
|
-
log2('* table name is missing.')
|
|
40
|
-
log2()
|
|
41
|
-
Command.display_help()
|
|
42
|
-
|
|
43
|
-
return 'missing-table'
|
|
44
|
-
|
|
45
|
-
r: list[PodExecResult] = run_cql(state, f'describe table {args[0]}', show_out=True, on_any=not all_nodes)
|
|
46
|
-
if not r:
|
|
47
|
-
log2('No pod is available')
|
|
48
|
-
return 'no-pod'
|
|
49
|
-
|
|
50
|
-
# do not continue to cql route
|
|
51
|
-
return state
|
|
52
|
-
|
|
53
|
-
def completion(self, state: ReplState) -> dict[str, any]:
|
|
54
|
-
if state.sts:
|
|
55
|
-
return super().completion(state, {t: {'--all-nodes': None} for t in table_names(state)})
|
|
56
|
-
|
|
57
|
-
return {}
|
|
58
|
-
|
|
59
|
-
def help(self, _: ReplState) -> str:
|
|
60
|
-
return f'{DescribeTable.COMMAND} <table-name> [--all-nodes]\t describe Cassandra table'
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
from adam.commands.command import Command
|
|
2
|
-
from adam.commands.cql.cql_utils import run_cql
|
|
3
|
-
from adam.pod_exec_result import PodExecResult
|
|
4
|
-
from adam.repl_state import ReplState, RequiredState
|
|
5
|
-
from adam.utils import log2
|
|
6
|
-
|
|
7
|
-
class DescribeTables(Command):
|
|
8
|
-
COMMAND = 'describe tables'
|
|
9
|
-
|
|
10
|
-
# the singleton pattern
|
|
11
|
-
def __new__(cls, *args, **kwargs):
|
|
12
|
-
if not hasattr(cls, 'instance'): cls.instance = super(DescribeTables, cls).__new__(cls)
|
|
13
|
-
|
|
14
|
-
return cls.instance
|
|
15
|
-
|
|
16
|
-
def __init__(self, successor: Command=None):
|
|
17
|
-
super().__init__(successor)
|
|
18
|
-
|
|
19
|
-
def required(self):
|
|
20
|
-
return RequiredState.CLUSTER
|
|
21
|
-
|
|
22
|
-
def command(self):
|
|
23
|
-
return DescribeTables.COMMAND
|
|
24
|
-
|
|
25
|
-
def run(self, cmd: str, state: ReplState):
|
|
26
|
-
if not(args := self.args(cmd)):
|
|
27
|
-
return super().run(cmd, state)
|
|
28
|
-
|
|
29
|
-
state, args = self.apply_state(args, state)
|
|
30
|
-
if not self.validate_state(state):
|
|
31
|
-
return state
|
|
32
|
-
|
|
33
|
-
_, all_nodes = Command.extract_options(args, '--all-nodes')
|
|
34
|
-
|
|
35
|
-
r: list[PodExecResult] = run_cql(state, f'describe tables', show_out=True, on_any=not all_nodes)
|
|
36
|
-
if not r:
|
|
37
|
-
log2('No pod is available')
|
|
38
|
-
return 'no-pod'
|
|
39
|
-
|
|
40
|
-
# do not continue to cql route
|
|
41
|
-
return state
|
|
42
|
-
|
|
43
|
-
def completion(self, state: ReplState) -> dict[str, any]:
|
|
44
|
-
if state.sts:
|
|
45
|
-
return super().completion(state, {'--all-nodes': None})
|
|
46
|
-
|
|
47
|
-
return {}
|
|
48
|
-
|
|
49
|
-
def help(self, _: ReplState) -> str:
|
|
50
|
-
return f'{DescribeTables.COMMAND} [--all-nodes]\t describe Cassandra tables'
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
from adam.commands.postgres.postgres_utils import pg_table_names
|
|
2
|
-
from adam.sql.table_name_completer import NestedDict, TableNameCompleter
|
|
3
|
-
|
|
4
|
-
class PsqlTableNameCompleter(TableNameCompleter):
|
|
5
|
-
def __init__(self, namespace: str, pg_path: str, nested_dict: NestedDict = {}, ignore_case: bool = True):
|
|
6
|
-
self.namespace = namespace
|
|
7
|
-
self.pg_path = pg_path
|
|
8
|
-
self.ignore_case = ignore_case
|
|
9
|
-
self.append_nested_dict(nested_dict)
|
|
10
|
-
|
|
11
|
-
def __repr__(self) -> str:
|
|
12
|
-
return "PsqlTableCompleter(%r, pg_path=%r)" % (self.namespace, self.pg_path)
|
|
13
|
-
|
|
14
|
-
def nested(self, data: NestedDict) -> 'TableNameCompleter':
|
|
15
|
-
return PsqlTableNameCompleter(self.namespace, self.pg_path).append_nested_dict(data)
|
|
16
|
-
|
|
17
|
-
def tables(self) -> list[str]:
|
|
18
|
-
return pg_table_names(self.namespace, self.pg_path)
|
adam/sql/any_completer.py
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
from typing import Any, Dict, Iterable, Mapping, Optional, Set, Union
|
|
2
|
-
from prompt_toolkit.completion import CompleteEvent, Completer, Completion, NestedCompleter, WordCompleter
|
|
3
|
-
from prompt_toolkit.document import Document
|
|
4
|
-
|
|
5
|
-
from adam.sql.sql_utils import safe_terms
|
|
6
|
-
|
|
7
|
-
NestedDict = Mapping[str, Union[Any, Set[str], None, Completer]]
|
|
8
|
-
|
|
9
|
-
class AnyCompleter(Completer):
|
|
10
|
-
def __init__(self, default: str = None, nested_dict: NestedDict = {}, ignore_case: bool = True):
|
|
11
|
-
self.default = default
|
|
12
|
-
self.ignore_case = ignore_case
|
|
13
|
-
self.append_nested_dict(nested_dict)
|
|
14
|
-
|
|
15
|
-
def append_nested_dict(self, data: NestedDict) -> "AnyCompleter":
|
|
16
|
-
options: Dict[str, Optional[Completer]] = {}
|
|
17
|
-
for key, value in data.items():
|
|
18
|
-
if isinstance(value, Completer):
|
|
19
|
-
options[key] = value
|
|
20
|
-
elif isinstance(value, dict):
|
|
21
|
-
options[key] = NestedCompleter.from_nested_dict(value)
|
|
22
|
-
elif isinstance(value, set):
|
|
23
|
-
options[key] = NestedCompleter.from_nested_dict({item: None for item in value})
|
|
24
|
-
else:
|
|
25
|
-
assert value is None
|
|
26
|
-
options[key] = None
|
|
27
|
-
|
|
28
|
-
self.options = options
|
|
29
|
-
|
|
30
|
-
return self
|
|
31
|
-
|
|
32
|
-
def get_completions(
|
|
33
|
-
self, document: Document, complete_event: CompleteEvent
|
|
34
|
-
) -> Iterable[Completion]:
|
|
35
|
-
text = document.text_before_cursor.lstrip()
|
|
36
|
-
stripped_len = len(document.text_before_cursor) - len(text)
|
|
37
|
-
|
|
38
|
-
terms, has_space = safe_terms(text)
|
|
39
|
-
if has_space:
|
|
40
|
-
second_term = None
|
|
41
|
-
if len(terms) > 1:
|
|
42
|
-
second_term = terms[1]
|
|
43
|
-
|
|
44
|
-
yielded = False
|
|
45
|
-
if second_term:
|
|
46
|
-
completer = self.options.get(second_term)
|
|
47
|
-
|
|
48
|
-
if completer is not None:
|
|
49
|
-
first_term = terms[0]
|
|
50
|
-
remaining_text = text[len(first_term) :].lstrip()
|
|
51
|
-
move_cursor = len(text) - len(remaining_text) + stripped_len
|
|
52
|
-
|
|
53
|
-
remaining_text = remaining_text[len(second_term) :].lstrip()
|
|
54
|
-
move_cursor = len(text) - len(remaining_text) + stripped_len
|
|
55
|
-
|
|
56
|
-
new_document = Document(
|
|
57
|
-
remaining_text,
|
|
58
|
-
cursor_position=document.cursor_position - move_cursor,
|
|
59
|
-
)
|
|
60
|
-
|
|
61
|
-
for c in completer.get_completions(new_document, complete_event):
|
|
62
|
-
yield c
|
|
63
|
-
yielded = True
|
|
64
|
-
|
|
65
|
-
if not yielded:
|
|
66
|
-
completer = WordCompleter(
|
|
67
|
-
list(self.options.keys()), ignore_case=self.ignore_case
|
|
68
|
-
)
|
|
69
|
-
for c in completer.get_completions(document, complete_event):
|
|
70
|
-
yield c
|
|
71
|
-
elif words := self.words():
|
|
72
|
-
for c in words.get_completions(document, complete_event):
|
|
73
|
-
yield c
|
|
74
|
-
|
|
75
|
-
def words(self):
|
|
76
|
-
if not self.default:
|
|
77
|
-
return None
|
|
78
|
-
|
|
79
|
-
return WordCompleter(
|
|
80
|
-
[self.default], ignore_case=self.ignore_case
|
|
81
|
-
)
|
|
82
|
-
|
|
83
|
-
def nested(self, data: NestedDict) -> 'AnyCompleter':
|
|
84
|
-
return AnyCompleter(self.default).append_nested_dict(data)
|
adam/sql/sql_utils.py
DELETED
adam/sql/table_name_completer.py
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
from abc import abstractmethod
|
|
2
|
-
from prompt_toolkit.completion import WordCompleter
|
|
3
|
-
|
|
4
|
-
from .any_completer import AnyCompleter, NestedDict
|
|
5
|
-
|
|
6
|
-
class TableNameCompleter(AnyCompleter):
|
|
7
|
-
def __init__(self, nested_dict: NestedDict = {}, ignore_case: bool = True):
|
|
8
|
-
super().__init__(nested_dict=nested_dict, ignore_case=ignore_case)
|
|
9
|
-
|
|
10
|
-
def words(self):
|
|
11
|
-
return WordCompleter(
|
|
12
|
-
self.tables(), ignore_case=self.ignore_case
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
@abstractmethod
|
|
16
|
-
def tables(self) -> list[str]:
|
|
17
|
-
pass
|
kaqing-2.0.50.dist-info/RECORD
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
adam/__init__.py,sha256=oVw1FNd9HZPJ7wm6BNn5ybyNGJLjJ8kopMeBiwgMaOI,59
|
|
2
|
-
adam/app_session.py,sha256=Klypm4JYHOlovaRCHAZ2P_Mj_nheMlcQgX403R0TJGk,6969
|
|
3
|
-
adam/apps.py,sha256=UTpUJBAMRFvR8kJZwileGC0UmPvsOjJ_AgvWoGmnIFI,6701
|
|
4
|
-
adam/batch.py,sha256=F2FmdYj9bgNAIwT_L9ugafVCBj7j45IHNtbzF3b3zjg,24507
|
|
5
|
-
adam/cli.py,sha256=03pIZdomAu7IL-GSP6Eun_PKwwISShRAmfx6eVRPGC0,458
|
|
6
|
-
adam/cli_group.py,sha256=W3zy1BghCtVcEXizq8fBH-93ZRVVwgAyGPzy0sHno1Y,593
|
|
7
|
-
adam/config.py,sha256=hDxd86MbKVVKoHhTT077L3YRKYcr0i6xVADLlnoE684,2818
|
|
8
|
-
adam/embedded_apps.py,sha256=lKPx63mKzJbNmwz0rgL4gF76M9fDGxraYTtNAIGnZ_s,419
|
|
9
|
-
adam/embedded_params.py,sha256=_9tBKpkSzBfzm-s3tUgZs8DcSVBnPA1iumG0ZRCbZIs,4586
|
|
10
|
-
adam/log.py,sha256=gg5DK52wLPc9cjykeh0WFHyAk1qI3HEpGaAK8W2dzXY,1146
|
|
11
|
-
adam/pod_exec_result.py,sha256=nq0xnCNOpUGBSijGF0H-YNrwBc9vUQs4DkvLMIFS5LQ,951
|
|
12
|
-
adam/repl.py,sha256=ACIBgqitFt5z6lKFSeF4JOXbnCa3seZHWxFiMJ5Q9zw,7373
|
|
13
|
-
adam/repl_commands.py,sha256=WA90Rl27Juctzr3U3kfCDk5N-oYMKlfWbZeafUgk7k0,4723
|
|
14
|
-
adam/repl_session.py,sha256=uIogcvWBh7wd8QQ-p_JgLsyJ8YJgINw5vOd6JIsd7Vo,472
|
|
15
|
-
adam/repl_state.py,sha256=591d7gV6uQSFtm7IWdlIYAHjfAzs9bdvIkwlIAeKddE,7540
|
|
16
|
-
adam/utils.py,sha256=2DoWsrcaioFFH0-RjT30qelVRPUJqCGTfz_ucfE7F8g,7406
|
|
17
|
-
adam/version.py,sha256=LFuTm_lavjxHMfAJnqFwLX9zL3RVjQ6n-Au9M0IztXo,139
|
|
18
|
-
adam/checks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
adam/checks/check.py,sha256=Qopr3huYcMu2bzQgb99dEUYjFzkjKHRI76S6KA9b9Rk,702
|
|
20
|
-
adam/checks/check_context.py,sha256=FEHkQ32jY1EDopQ2uYWqy9v7aEEX1orLpJWhopwAlh4,402
|
|
21
|
-
adam/checks/check_result.py,sha256=5_DVNgkCC9t7xFJYNsjd9bfXA1I4vYb6K3kmN8cdMrA,669
|
|
22
|
-
adam/checks/check_utils.py,sha256=xDwPO2WLVDk6h4Lvnhu5UKNxrAR4qhNiRRac2MXFmmQ,3772
|
|
23
|
-
adam/checks/compactionstats.py,sha256=JXi2Trl6JBLgEKSR0K3_dKrLBlEthqjZ2K2D-EO84Fg,2304
|
|
24
|
-
adam/checks/cpu.py,sha256=UqnBNhof1SO8Oo2qYoLQGsrqb00W41wddDYPLB2fbwc,2666
|
|
25
|
-
adam/checks/disk.py,sha256=_3bm5928Mplxqx6GV-K_p7D4UDR8CBS1A85N9_FtGQE,5214
|
|
26
|
-
adam/checks/gossip.py,sha256=ANrJ0p0YndPzSZWg6tXXA_NJsWL9RVE_fBHDkYUBvec,3119
|
|
27
|
-
adam/checks/issue.py,sha256=u3E6yCpDGGJiveKXdpkrKq7HQRTrG7aR2XLCoO-ys7U,498
|
|
28
|
-
adam/checks/memory.py,sha256=t0H9hGe4m6JMr8MHnnpMMFJz8IJY2qLZdA7eo6CUjz0,3056
|
|
29
|
-
adam/checks/status.py,sha256=2e1AcEw3-WQ3j9EI4sdKjw4a-7F9rdOz59_zHlHIdcY,2140
|
|
30
|
-
adam/columns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
|
-
adam/columns/column.py,sha256=O_5ptfx136BKdLo8enDvSL3HlId1dkjMM2XUumg1tNA,956
|
|
32
|
-
adam/columns/columns.py,sha256=AzovFIwOhBDQHc4bFEbhMoxxuOCIbxIzXfp6fQyiRYk,1645
|
|
33
|
-
adam/columns/compactions.py,sha256=ybIEYTkDuRTBLIUNurGhu1jhVnf1UEpJ0abo3GTgmKw,928
|
|
34
|
-
adam/columns/cpu.py,sha256=rPb4pOFNZDOplggaUmSZbpCPgZxyWVXO_JXLcE4YPlM,493
|
|
35
|
-
adam/columns/dir_data.py,sha256=gDLcrwMZ6dEVTmpvc35yX3iNY97mQ5q0eQojm8tZ2so,545
|
|
36
|
-
adam/columns/dir_snapshots.py,sha256=OSseuf7gAvT-_ujLvGt43jF-q7QVJNDcvqOK47QSJbk,451
|
|
37
|
-
adam/columns/gossip.py,sha256=KKUycFG-8YxMh9VYUrYOFwPVvnh-0i19k---DrpW93g,656
|
|
38
|
-
adam/columns/host_id.py,sha256=oqesvFCzUu0utkcH5mhYg0vx7lAW2EIDoezgY_CCP_Y,350
|
|
39
|
-
adam/columns/memory.py,sha256=GinntQroWK6kxn6PrumkJd9ok2skTWXLepM1U6lzc4g,701
|
|
40
|
-
adam/columns/node_address.py,sha256=PqSm2FtR0NAhc-R17sPRJJ3c6eWlJLHPctu8RsCslcM,355
|
|
41
|
-
adam/columns/node_load.py,sha256=Oc-kdfezYBP5eWDug-ijgM48x6XRNjwxxoQDZt_MbQc,349
|
|
42
|
-
adam/columns/node_owns.py,sha256=Iv5FDYV0m3ZM2JK05Fl485ZxDgOxZHDIN9KYNJc6Zdg,349
|
|
43
|
-
adam/columns/node_status.py,sha256=im52GfdETXVJVM00fU5OjJM2FvLZrgqpLkWKCwWhjAs,353
|
|
44
|
-
adam/columns/node_tokens.py,sha256=38D9xJ3uA48gzEYBtIiIUbZJcteM1H4KryzJNn01uZ8,353
|
|
45
|
-
adam/columns/node_utils.py,sha256=ql2StXmASC7equuabZVZEQ_BPTu2KkS99gY_3JXpIvU,774
|
|
46
|
-
adam/columns/pod_name.py,sha256=IYw0ZKA7Fb9LaGXENqzZTiTgL98tahwFRtfy0KkKh2Q,280
|
|
47
|
-
adam/columns/volume_cassandra.py,sha256=9KRNOzjNYganI9avN6zaA5_-7yxD4rV-KNxro9CSUg4,753
|
|
48
|
-
adam/columns/volume_root.py,sha256=29ujLoCAf9LO75u62LxEaPD58s6ihV-tcK17OeLSOM0,556
|
|
49
|
-
adam/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
|
-
adam/commands/alter_tables.py,sha256=Q5vXHE4_1_6v6wtYwqST7_QwpXINb1xq0Sm448Z2Y7Q,3582
|
|
51
|
-
adam/commands/app.py,sha256=7alV8wK801t67_rUe6EmhtHJTl-6K7fGCm6Uz1dDgpM,1963
|
|
52
|
-
adam/commands/app_ping.py,sha256=Xk7cfefphXM2w-UvpnhNUTZ3BU38f0deehUb2FEyLCI,1337
|
|
53
|
-
adam/commands/bash.py,sha256=1O9cCl9JHQdttqNAgdB44rO0NjCqHzHv4psAEQMJcjw,2714
|
|
54
|
-
adam/commands/cd.py,sha256=wJdfCzA2939PpGx4xKsfDxiu-64OC9SecgPDb7nd4O0,4582
|
|
55
|
-
adam/commands/check.py,sha256=853FPfgTMGxQXI_5UaPAtzaSWB_BvEVm48EkJhsHe4w,2181
|
|
56
|
-
adam/commands/cli_commands.py,sha256=PEEyrG9yz7RAEZwHbbuFpyE3fVi8vrIWbr0d1H0Gp9o,3620
|
|
57
|
-
adam/commands/command.py,sha256=Ph7IduCTGQ04dcwNegl1ekYbqCzOwAOYeWZVIRWnKyU,3958
|
|
58
|
-
adam/commands/command_helpers.py,sha256=leOJJK1UXczNTJHN9TGMCbIpUpmpreULvQ-TvnsYS7w,1134
|
|
59
|
-
adam/commands/commands_utils.py,sha256=ShUcxtDSd9B3NM0GDj3NBvKdmjCGY8qXgeUJpzNF63E,3122
|
|
60
|
-
adam/commands/cp.py,sha256=dyQViRDPNqsKRkxPb7WyEVIBNw7YB6IfYa2q3VtfzyA,3107
|
|
61
|
-
adam/commands/devices.py,sha256=_f8j6aQzTL8_pFlWYawRuG2Ju1zPjYSPcRIlLnZng10,2397
|
|
62
|
-
adam/commands/exit.py,sha256=5MWUAmzYBlsrp0CoiTDB13SUkX9Ya18UlGeOIPia6TA,798
|
|
63
|
-
adam/commands/help.py,sha256=Ey3R1X8w_CMhdADI0t8dSQ28euhDHheJm7NermiGni4,1645
|
|
64
|
-
adam/commands/issues.py,sha256=VS-PC7e-2lywsa-lbmoUX8IY77OPGzFudwbw1g8XmQc,2599
|
|
65
|
-
adam/commands/login.py,sha256=bj95WWIF7mJDJhnyS9T8xvaZUGL37dj7GlH8TgmODbk,1877
|
|
66
|
-
adam/commands/logs.py,sha256=T-O9DYXmWEm4G1I5SM6MwyeRwq2aT-WMqNW0XA2MWmo,1165
|
|
67
|
-
adam/commands/ls.py,sha256=ZOhY_vEjOEbvI5n8c9ha-SqmJwK2b7sF94G1gDoQ5Y0,5576
|
|
68
|
-
adam/commands/nodetool.py,sha256=HV9yDzMhRjS4lw6UfV7Hc1pcmeSx5a1jU6cAEKSZ1Bg,2334
|
|
69
|
-
adam/commands/nodetool_commands.py,sha256=5IgWC3rmeDD1cgwqQjiiWzi-wJpJ3n_8pAzz_9phXuk,2635
|
|
70
|
-
adam/commands/param_get.py,sha256=kPAAppK2T0tEFRnSIVFLDPIIGHhgLA7drJhn8TRyvvE,1305
|
|
71
|
-
adam/commands/param_set.py,sha256=QDIuqfU80aWCB16OK49yf7XRaRTWwiLkwMsJuVikq9I,1271
|
|
72
|
-
adam/commands/preview_table.py,sha256=EJZms-8sXqwDDNjix92z2tpU9823-WKv6y-Z3A7ucao,3068
|
|
73
|
-
adam/commands/pwd.py,sha256=VlgFjxFl66I7Df1YI6cuiEeY6Q13lEavMKfrzHLESKo,2340
|
|
74
|
-
adam/commands/report.py,sha256=Ky45LIzSlB_X4V12JZWjU3SA2u4_FKRencRTq7psOWU,1944
|
|
75
|
-
adam/commands/restart.py,sha256=Hik1t5rjH2ATZv4tzwrGB3e44b3dNuATgY327_Nb8Bs,2044
|
|
76
|
-
adam/commands/rollout.py,sha256=52_4ijna3v-8Oug12et43DRHFDNhiN34p6xLTQmhdbQ,2959
|
|
77
|
-
adam/commands/shell.py,sha256=wY_PIx7Lt6vuxhFArlfxdEnBbrouCJ3yNHhFn17DEqw,848
|
|
78
|
-
adam/commands/watch.py,sha256=mmBFpB8T1V7zrNs5b2YNyDDztMym_ILPDdkrbdAXTas,2438
|
|
79
|
-
adam/commands/cql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
80
|
-
adam/commands/cql/cql_completions.py,sha256=BfaBlLMBdSSbuYmuyVMhOcJ7IgELvYKJroq4qOjoZWc,529
|
|
81
|
-
adam/commands/cql/cql_table_completer.py,sha256=ktTXC_Ii8NhxRbvUebc_Rg__Z7v2faQJBt3mR-5LPoI,633
|
|
82
|
-
adam/commands/cql/cql_utils.py,sha256=q5hzAUVh7h8iVVH2s0M4E76zWqaMUDXULMn412mfHII,3893
|
|
83
|
-
adam/commands/cql/cqlsh.py,sha256=qEQufaDVi9FXkvruum6OHQDfLX01DVWVDnWsAjyCZYQ,2661
|
|
84
|
-
adam/commands/deploy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
|
-
adam/commands/deploy/code_start.py,sha256=-iH8HThTNM83IfBxT_LqTByuHVatV9d-Il4OYOfrwLI,1370
|
|
86
|
-
adam/commands/deploy/code_stop.py,sha256=ch7ZMgosvTHsGaIcDwQY5XYh_5HYrUjBkZFOI-d2gOU,1696
|
|
87
|
-
adam/commands/deploy/code_utils.py,sha256=5Gp4U8HzKpPkbkHDU7whlvGOK-wWaAbCIIGzVoN9hio,3296
|
|
88
|
-
adam/commands/deploy/deploy.py,sha256=lDuOb460Wm8RkkX811SPGYv59wP0uc9LgCsVG-71bDI,1254
|
|
89
|
-
adam/commands/deploy/deploy_frontend.py,sha256=S3SvJD4JZQ9kDOOP_mrTnZFDl54AHhio5xxNgIUBZVk,1704
|
|
90
|
-
adam/commands/deploy/deploy_pg_agent.py,sha256=VlOplID4MBABzuXeueyjKOTZjlQlQWLwvLSxpii4FHU,1203
|
|
91
|
-
adam/commands/deploy/deploy_pod.py,sha256=YamltqBcxDpM3Bqhq-pFHxzZDxmEXGmkP5HXlJjRs8o,4663
|
|
92
|
-
adam/commands/deploy/deploy_utils.py,sha256=daJhX2kCg5aGt4ZLQdz5AbR-AS7q2y-bZNVxHzP708c,1524
|
|
93
|
-
adam/commands/deploy/undeploy.py,sha256=hLrkliNVL7YBQ9sSpJgGeSZiSx7cqkWlv6Y_T3NqR5Y,1308
|
|
94
|
-
adam/commands/deploy/undeploy_frontend.py,sha256=gHekPn7l19JgVbhneKpQ7ModNoDFmzWRMyQv9v4FBxo,1261
|
|
95
|
-
adam/commands/deploy/undeploy_pg_agent.py,sha256=RYME8no1FT94WpVg-HXDGL1NmLlpE1I9R4htitjaxpo,1319
|
|
96
|
-
adam/commands/deploy/undeploy_pod.py,sha256=hTcL8cAh7xYPcSm9sgiVFCxPh3SskefBfTmla310oUA,1905
|
|
97
|
-
adam/commands/describe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
|
-
adam/commands/describe/describe.py,sha256=isRQ1z3lrFtaSkeWPndLGvaIbZivlBxI8D1X8ywNe1E,1510
|
|
99
|
-
adam/commands/describe/describe_keyspace.py,sha256=ug2xqddB-2VST8PdlEIc_tLE-8dqe2GMQk30t68ymm0,1931
|
|
100
|
-
adam/commands/describe/describe_keyspaces.py,sha256=P3AbUIxm-KiuM98DjK7I2MGjj8bjZwOm5qN1-Y4tHzA,1578
|
|
101
|
-
adam/commands/describe/describe_table.py,sha256=k4cbVkHkpCuFD3grne58sDPFZFG7e21DWtxAg2b_uUw,1887
|
|
102
|
-
adam/commands/describe/describe_tables.py,sha256=vIs4lKz4nHBJumOlR4wBhR1QxXTFqzXCq-DNOO04CVE,1557
|
|
103
|
-
adam/commands/medusa/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
|
-
adam/commands/medusa/medusa.py,sha256=KNFjStvilIuOJt3wTtcWmKvdm8FdCnrDY2ltEWbratk,1402
|
|
105
|
-
adam/commands/medusa/medusa_backup.py,sha256=j4DTVWFT-4rzs4gG_pBvjE-JuPsVCJIsnyQjIzJ4EbA,1801
|
|
106
|
-
adam/commands/medusa/medusa_restore.py,sha256=GSjwsZYCqRA-XmJ1f6VELzX9cKXh5NDwxyBoGEiqUXY,3274
|
|
107
|
-
adam/commands/medusa/medusa_show_backupjobs.py,sha256=QekHpKezVJdgfa9hOxfgyx-y4D08tmHzyu_AAa8QPR0,1756
|
|
108
|
-
adam/commands/medusa/medusa_show_restorejobs.py,sha256=wgPonSmC6buDIp3k3WUY-Yu2MyP1xyE3Q_XhvAwpnx4,1651
|
|
109
|
-
adam/commands/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
|
-
adam/commands/postgres/postgres.py,sha256=TiJwXGa4faPZ7DI8698SwgjnUXsIaVgG-R_-eXVPhwk,3142
|
|
111
|
-
adam/commands/postgres/postgres_ls.py,sha256=HwZTgwGKXUqHX33S8aQPF6FqCrLqtoz4cLyJV2SpoE0,1186
|
|
112
|
-
adam/commands/postgres/postgres_preview.py,sha256=MLzdEc4mvNj6V1Q8jO5OPznXyYELJHgd35_eQgLlNIU,1274
|
|
113
|
-
adam/commands/postgres/postgres_session.py,sha256=RcqkCgtA78M-9LKTwG6pp8n9JwjmURXgf1FknIIPl9g,9305
|
|
114
|
-
adam/commands/postgres/postgres_utils.py,sha256=mC5PZXrfxzqZt6n_HYASwe6Y-OyAK3QwEtDeVb_TKrA,877
|
|
115
|
-
adam/commands/postgres/psql_completions.py,sha256=huEvqYTjBk_3CY_Tu1dDeUlaNwPIMLagnv9QuSWCB5U,392
|
|
116
|
-
adam/commands/postgres/psql_table_completer.py,sha256=8-4flf-PEtQGOSjTdA_93ht1EoZGZ4-dAbrXtyVblS4,819
|
|
117
|
-
adam/commands/reaper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
118
|
-
adam/commands/reaper/reaper.py,sha256=83R0ZRitEwaYKKssfKxn3zAzLnWIP9QKd1mA6awceS8,1908
|
|
119
|
-
adam/commands/reaper/reaper_forward.py,sha256=mUp409MzT91cVXGxoPfBGceaR3qZ0rVdWKGdyzPNzSA,3177
|
|
120
|
-
adam/commands/reaper/reaper_forward_stop.py,sha256=mllxBGxOUkFYMvF0eaFbL5VGMVAiFuT5KY8rKWTIiOE,1384
|
|
121
|
-
adam/commands/reaper/reaper_restart.py,sha256=fX_ywBBKMo_5I0h2IDb0u7NeCN0Gk6OZeaZELrKb9I4,1290
|
|
122
|
-
adam/commands/reaper/reaper_run_abort.py,sha256=vp69f1zoNodwqx61N0CQaevYoR7qF2rccrzjJuF47qY,1858
|
|
123
|
-
adam/commands/reaper/reaper_runs.py,sha256=uVfAK3Pca_N10XKZ1aeMTrCCM8vDExXBWo84_2UmSqo,3253
|
|
124
|
-
adam/commands/reaper/reaper_runs_abort.py,sha256=HZm8Re66XwgURgd0sJtIF2UIwrdozHQJf1O_ZAsLy-I,2538
|
|
125
|
-
adam/commands/reaper/reaper_schedule_activate.py,sha256=HbwaSeKaDoR2qgiWgglwM5gm-4iTN2xKofiOlhUpvrQ,1952
|
|
126
|
-
adam/commands/reaper/reaper_schedule_start.py,sha256=oDwH99QVyeKgu-jk5-pB7BzUH_rablCbtumNHXjBnpU,1940
|
|
127
|
-
adam/commands/reaper/reaper_schedule_stop.py,sha256=_Ld5BRX5pqfIis5i1KG8yif0q5u9RTaFBmmQwkZuOMY,1929
|
|
128
|
-
adam/commands/reaper/reaper_schedules.py,sha256=-b7eKl0wJT7zMru8qKcLqG5JF0-LfeTcNmlxut9t93E,1263
|
|
129
|
-
adam/commands/reaper/reaper_session.py,sha256=LfPbE9Czr3bwBnnk4Pvf4btnuqEzPbDw2GPDKYp_2dI,6650
|
|
130
|
-
adam/commands/reaper/reaper_status.py,sha256=g3Uep1AVYOThAaZoFjn4bWTKHElZnCleJyYYHP9HayY,1967
|
|
131
|
-
adam/commands/repair/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
132
|
-
adam/commands/repair/repair.py,sha256=Z284AKjUupQ-Uul5xDVr_ljfiXJ0VmAXsrlhLPjRp5A,1315
|
|
133
|
-
adam/commands/repair/repair_log.py,sha256=c7TI9hblpqn1tn7lTxj7VkIQKdNigYIIX-nxiFRZkns,1159
|
|
134
|
-
adam/commands/repair/repair_run.py,sha256=C9F86ia46rBCwkP8BFM5nw-AJ05jm4Bx9wnMnyZXR04,2598
|
|
135
|
-
adam/commands/repair/repair_scan.py,sha256=m6PErrbuQgryCMm_2pbGAwQdKNQvXLahcHXFfNKoU-s,2439
|
|
136
|
-
adam/commands/repair/repair_stop.py,sha256=on3jHmOwtWOL7SJlFd8ryBflzqDsxwJNwtAbhDjYUNc,1193
|
|
137
|
-
adam/commands/show/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
138
|
-
adam/commands/show/show.py,sha256=rPhozvl8Yb7sBRNg_byw15jLRVLeN-mbms3wKyl78xI,1981
|
|
139
|
-
adam/commands/show/show_adam.py,sha256=osuafMipN2My4O7bLdukBLsDHtTKguDfTagmgz7aZvw,1314
|
|
140
|
-
adam/commands/show/show_app_actions.py,sha256=3knASTOIecvdLEJusbsGEGXVxeCpqHozbnFAEq_2pqY,1925
|
|
141
|
-
adam/commands/show/show_app_id.py,sha256=-2hxOUv_Rm_j6d6PWVcHW-w-_alfGrOB4chmVQS48Bs,1384
|
|
142
|
-
adam/commands/show/show_app_queues.py,sha256=GvVbyFbdFegHQFTHhn-fl0NaxHgJqPc44fc981HvRbM,1371
|
|
143
|
-
adam/commands/show/show_cassandra_status.py,sha256=cIHHvbAPZAUcMJGsQnUSGvlSspSjlPgdligWTsAQZVU,5157
|
|
144
|
-
adam/commands/show/show_cassandra_version.py,sha256=R22f8zIk_WvvrDP4DkPcqlTx1MVboeyQHDvv1dScUcc,1633
|
|
145
|
-
adam/commands/show/show_commands.py,sha256=ivjY3u3Ph969zOh0dYi0KjAfm7ClUGdQpkJLJAvpeUc,1893
|
|
146
|
-
adam/commands/show/show_login.py,sha256=-sF93qA9LmRNWehz1pEXdhxWvHrWAD_ZDalqQsXJhyQ,1868
|
|
147
|
-
adam/commands/show/show_params.py,sha256=LoBj_ScmtsPrXSUH59p3IYAlmL-0Q_Gb01bp_7zrwQA,1008
|
|
148
|
-
adam/commands/show/show_processes.py,sha256=jAesWDD_l0T6ql6LawnGpev-Glz21tFkegtCbYDCTdc,1770
|
|
149
|
-
adam/commands/show/show_repairs.py,sha256=qpbyeRyLPyBWmn_4yxFu8KIjfd58HGry5pvqNyMwn5I,1477
|
|
150
|
-
adam/commands/show/show_storage.py,sha256=LUTkH_qnc1d9s4jKsps8jhB4rkUuN7ifMlHSwFqd8_c,1837
|
|
151
|
-
adam/k8s_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
152
|
-
adam/k8s_utils/cassandra_clusters.py,sha256=CBn2GgN2N9voY04gSnZxgXttDxexgvEnSE_cXnHD4fs,1430
|
|
153
|
-
adam/k8s_utils/cassandra_nodes.py,sha256=Fr0PxjaVxkIhNMxzpNDD4bNeJ4xSE66pVHMbpBd8mzU,1119
|
|
154
|
-
adam/k8s_utils/config_maps.py,sha256=vc9A-2D1-1mindCMFL1wuysDOXb0RCl4BdjC6B6usXI,1194
|
|
155
|
-
adam/k8s_utils/custom_resources.py,sha256=cIeaZRQET2DelTGU2f5QsMckh7TddPpWZDFeNK3txeQ,7647
|
|
156
|
-
adam/k8s_utils/deployment.py,sha256=3oZPfPgQfqtAQaxEFL4daUfRSieRAhysmuaWMzUYgXk,2921
|
|
157
|
-
adam/k8s_utils/ingresses.py,sha256=ul3Z6fDGc_Cxcn-ExP0vXhZatoShCUZFtpwtCY4Qx7o,3460
|
|
158
|
-
adam/k8s_utils/jobs.py,sha256=gJpBpjcZ_FlkWJJIlavbHC_bqdmvv-GMVo8UZVh0sOQ,2610
|
|
159
|
-
adam/k8s_utils/kube_context.py,sha256=xJF_72vUJu-X9MpIYzOIfnj7KEWU7a_sLBR-H3994Y0,3311
|
|
160
|
-
adam/k8s_utils/pods.py,sha256=ljn5tB-j8bdof6X_YWS9Hf5cjAzwmYw61I9_0bwIjCc,10540
|
|
161
|
-
adam/k8s_utils/secrets.py,sha256=pYaVKXTpx3-QgFtBjznWFq0N6ZcBdxnx21FRe5nBCCo,2305
|
|
162
|
-
adam/k8s_utils/service_accounts.py,sha256=v2oQSqCrNvt2uRnKlNwR3fjtpUG7oF5nqgzEB7NnT-U,6349
|
|
163
|
-
adam/k8s_utils/services.py,sha256=EOJJGACVbbRvu5T3rMKqIJqgYic1_MSJ17EA0TJ6UOk,3156
|
|
164
|
-
adam/k8s_utils/statefulsets.py,sha256=hiBOmJZ3KTI6_naAFzNoW1NoYnnBG35BZ7RMdPhNC6o,4664
|
|
165
|
-
adam/k8s_utils/volumes.py,sha256=RIBmlOSWM3V3QVXLCFT0owVOyh4rGG1ETp521a-6ndo,1137
|
|
166
|
-
adam/sql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
167
|
-
adam/sql/any_completer.py,sha256=hPnhqAyWIk1-gyZsna1X7AJ8po23cYR-MvYY-7iBn3w,3184
|
|
168
|
-
adam/sql/sql_completer.py,sha256=9JSZj-Rv5aag720xuQLgq9WlseLtPEAcQXx6OH-pFP8,2160
|
|
169
|
-
adam/sql/sql_utils.py,sha256=MLoxB9h22WZiANu0SZzmBJcY2gtb6f_D4jnoJEjLgPc,171
|
|
170
|
-
adam/sql/table_name_completer.py,sha256=n_vJbsfM4XYN0tCjov1l-4skFYO3xaLcyOVcZ77mteo,519
|
|
171
|
-
adam/sso/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
172
|
-
adam/sso/authenticator.py,sha256=BCm16L9zf5aLU47-sTCnudn2zLPwd8M2wwRminJfsqw,615
|
|
173
|
-
adam/sso/authn_ad.py,sha256=fDW8UR3WWykny5Awa5dQjjBUSFzIDz4aMn-lwXoABl8,5857
|
|
174
|
-
adam/sso/authn_okta.py,sha256=TV5vg7OEQPGFG_DSUQnWn37nbMX_qszZB0GRuQl6kGM,4529
|
|
175
|
-
adam/sso/cred_cache.py,sha256=7WA5rIy1wlr_GCF-Z6xRb6LzRu-Cvou-IkY7hWC3Zpc,2099
|
|
176
|
-
adam/sso/id_token.py,sha256=wmVZ8S0sjScnOxmSvOKlIEKgnvdWqhsgq9XjFe355O4,744
|
|
177
|
-
adam/sso/idp.py,sha256=fvcwUw_URTgsO6ySaqTIw0zQT2qRO1IPSGhf6rPtybo,5804
|
|
178
|
-
adam/sso/idp_login.py,sha256=QAtCUeDTVWliJy40RK_oac8Vgybr13xH8wzeBoxPaa8,1754
|
|
179
|
-
adam/sso/idp_session.py,sha256=9BUHNRf70u4rVKrVY1HKPOEmOviXvkjam8WJxmXSKIM,1735
|
|
180
|
-
adam/sso/sso_config.py,sha256=5N8WZgIJQBtHUy585XLRWKjpU87_v6QluyNK9E27D5s,2459
|
|
181
|
-
kaqing-2.0.50.dist-info/METADATA,sha256=6cRmIvrJppOAGCWN23OkycCXqvwVuUh8CMOcImdjjxs,132
|
|
182
|
-
kaqing-2.0.50.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
183
|
-
kaqing-2.0.50.dist-info/entry_points.txt,sha256=SkzhuQJUWsXOzHeZ5TgQ2c3_g53UGK23zzJU_JTZOZI,39
|
|
184
|
-
kaqing-2.0.50.dist-info/top_level.txt,sha256=8_2PZkwBb-xDcnc8a2rAbQeJhXKXskc7zTP7pSPa1fw,5
|
|
185
|
-
kaqing-2.0.50.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
|