Coverage for appr/platforms/helm.py : 0%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
from __future__ import absolute_import, division, print_function
__all__ = ['Helm']
class Helm(object): def action(self, cmd, package_path, helm_opts=None): cmd = [cmd] if helm_opts: cmd = cmd + helm_opts cmd.append(package_path) return self._call(cmd)
def _call(self, cmd): command = ['helm'] + cmd return subprocess.check_output(command, stderr=subprocess.STDOUT) |