MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / env_kubectl

Function env_kubectl

misc/python/materialize/cli/orchestratord.py:418–425  ·  view source on GitHub ↗
(*cmd_args: str, **subprocess_args)

Source from the content-addressed store, hash-verified

416
417def make_env_kubectl(args: argparse.Namespace, namespace: str | None = None):
418 def env_kubectl(*cmd_args: str, **subprocess_args):
419 return kubectl(
420 "-n",
421 namespace or args.namespace,
422 *cmd_args,
423 cluster=args.kind_cluster_name,
424 **subprocess_args,
425 )
426
427 return env_kubectl
428

Callers 5

resetFunction · 0.85
root_psqlFunction · 0.85
environmentFunction · 0.85
port_forwardFunction · 0.85
try_get_resource_idFunction · 0.85

Calls 1

kubectlFunction · 0.85

Tested by

no test coverage detected