MCPcopy Create free account
hub / github.com/ceph/ceph / toolbox

Function toolbox

qa/tasks/ceph_manager.py:57–67  ·  view source on GitHub ↗
(ctx, cluster_name, args, **kwargs)

Source from the content-addressed store, hash-verified

55
56# this is for rook clusters
57def toolbox(ctx, cluster_name, args, **kwargs):
58 return ctx.rook[cluster_name].remote.run(
59 args=[
60 'kubectl',
61 '-n', 'rook-ceph',
62 'exec',
63 ctx.rook[cluster_name].toolbox,
64 '--',
65 ] + args,
66 **kwargs
67 )
68
69
70def write_conf(ctx, conf_path=DEFAULT_CONF_PATH, cluster='ceph'):

Callers 1

run_cluster_cmdMethod · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected