Commit 752373b
committed
Test getting the returncode of execution in a pod
This tests demonstrate how to execute a command in a pod and
what behavior is expected. As discussed in the commit
bf367ed6ddc63369f76df0a07b248a6711328605 in python-base this
behavior would be familiar to Python users, as `subprocess.Popen`
has the same property.1 parent ceaf188 commit 752373b
2 files changed
+61
-20
lines changed- CONTRIBUTING.md+17-1
- config/__init__.py-2
- config/config_exception.py-2
- config/dateutil.py-2
- config/dateutil_test.py-2
- config/exec_provider.py-2
- config/exec_provider_test.py-2
- config/incluster_config.py-2
- config/incluster_config_test.py-2
- config/kube_config.py-2
- config/kube_config_test.py-2
- dynamic/__init__.py+15
- dynamic/client.py+282
- dynamic/discovery.py+418
- dynamic/exceptions.py+110
- dynamic/resource.py+385
- dynamic/test_client.py+362
- hack/boilerplate/boilerplate.py+8-4
- hack/boilerplate/boilerplate.py.txt-2
- stream/__init__.py-2
- stream/stream.py-2
- stream/ws_client.py+23-6
- stream/ws_client_test.py-2
- watch/__init__.py-2
- watch/watch.py-2
- watch/watch_test.py-2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
32 | 52 | | |
33 | 53 | | |
34 | 54 | | |
| |||
40 | 60 | | |
41 | 61 | | |
42 | 62 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
120 | 161 | | |
121 | 162 | | |
122 | 163 | | |
| |||
0 commit comments