|
Camphor Networks Platform API
|
Public Member Functions | |
| def | runl (cls, cmd, retry=0, wait=3, timeout=0, ignore=False, debug=False, verbose=False, use_system=False, stderr=STDOUT, suppress_debug=False) |
| def | resolveK8Name (cls, name, namespace='', retry=10, wait=6, timeout=10) |
| def | apt_get (cls, cmd, repeat=30, wait=6, timeout=0, ignore=False, debug=False, verbose=False, use_system=False, stderr=STDOUT, ssh='') |
| tuple[str, int] | run (cls, cmd, retry=0, wait=3, timeout=0, ignore=False, debug=False, verbose=False, use_system=False, stderr=STDOUT, invert=False, expect=None, suppress_debug=False) |
| def | formNameSpace (cls, username='administrator', project='default') |
Definition at line 811 of file camphor_util.py.
| def runl | ( | cls, | |
| cmd, | |||
retry = 0, |
|||
wait = 3, |
|||
timeout = 0, |
|||
ignore = False, |
|||
debug = False, |
|||
verbose = False, |
|||
use_system = False, |
|||
stderr = STDOUT, |
|||
suppress_debug = False |
|||
| ) |
Definition at line 813 of file camphor_util.py.
References Sh.run(), and CamphorSingleNodeSetup.run().
Here is the call graph for this function:| def resolveK8Name | ( | cls, | |
| name, | |||
namespace = '', |
|||
retry = 10, |
|||
wait = 6, |
|||
timeout = 10 |
|||
| ) |
Definition at line 822 of file camphor_util.py.
| def apt_get | ( | cls, | |
| cmd, | |||
repeat = 30, |
|||
wait = 6, |
|||
timeout = 0, |
|||
ignore = False, |
|||
debug = False, |
|||
verbose = False, |
|||
use_system = False, |
|||
stderr = STDOUT, |
|||
ssh = '' |
|||
| ) |
Definition at line 832 of file camphor_util.py.
| tuple[str, int] run | ( | cls, | |
| cmd, | |||
retry = 0, |
|||
wait = 3, |
|||
timeout = 0, |
|||
ignore = False, |
|||
debug = False, |
|||
verbose = False, |
|||
use_system = False, |
|||
stderr = STDOUT, |
|||
invert = False, |
|||
expect = None, |
|||
suppress_debug = False |
|||
| ) |
Definition at line 841 of file camphor_util.py.
References camphor_api.camphor_util.CAMPHOR_LOG_DEBUG(), camphor_api.camphor_util.CAMPHOR_LOG_ERROR(), camphor_api.camphor_util.CAMPHOR_LOG_EXCEPTION(), camphor_api.camphor_util.CAMPHOR_LOG_INFO(), and camphor_api.camphor_util.sleep().
Referenced by Sh.runl().
Here is the call graph for this function:
Here is the caller graph for this function:| def formNameSpace | ( | cls, | |
username = 'administrator', |
|||
project = 'default' |
|||
| ) |
Definition at line 938 of file camphor_util.py.