Repository: devopsspiral/KubeLibrary (language: python)

Issue:
Added kw for handling kubectl exec command.
Added kubectl exec command keyword

Simple keyword added for such cmd

Fixes #102

Before merge following needs to be applied:
- [x] At least one example testcase added in testcases/
- [x] Library Documentation regenerated according to [Generate docs](https://github.com/devopsspiral/KubeLibrary#generate-docs)
- [x] PR entry added in CHANGELOG.md in **In progress** section
- [x] All new testcases tagged as **prerelease** along other tags to exclude it from execution until released on PyPI
- [x] Coverage threshold increased in [.coveragerc](https://github.com/devopsspiral/KubeLibrary/blob/master/.coveragerc) if new coverage is higher than actual, see the lint-and-coverage step in CI
```
fail_under = 67
```



Discussion / hints:

Fix patch:
diff --git a/.coveragerc b/.coveragerc
index 2a61e750..8877579d 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -3,4 +3,4 @@ command_line = -m unittest discover
 source =
     src/
 [report]
-fail_under = 85
+fail_under = 86
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 606ed984..f65b8c7c 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -11,5 +11,5 @@ Before merge following needs to be applied:
 - [ ] All new testcases tagged as **prerelease** along other tags to exclude it from execution until released on PyPI
 - [ ] Coverage threshold increased in [.coveragerc](https://github.com/devopsspiral/KubeLibrary/blob/master/.coveragerc) if new coverage is higher than actual, see the lint-and-coverage step in CI
 ```
-fail_under = 67
+fail_under = 86
 ```
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2712bf93..c319a4e6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
 ## In progress
+- Added keyword for handling kubectl exec [#102](https://github.com/devopsspiral/KubeLibrary/pull/101) by [@MarcinMaciaszek](https://github.com/MarcinMaciaszek)
 
 ## [0.6.2] - 2022-02-25
 
diff --git a/docs/index.html b/docs/index.html
index ee1f7f06..dee8404d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -6,7 +6,7 @@
 <meta http-equiv="Pragma" content="no-cache">
 <meta http-equiv="Expires" content="-1">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta content="Robot Framework 4.1.2 (Python 3.8.12 on darwin)" name="Generator">
+<meta content="Robot Framework 4.1.2 (Python 3.7.4 on darwin)" name="Generator">
 <link rel="icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKcAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAqAAAAAAAAAAAAAAAAAAAALIAAAD/AAAA4AAAANwAAADcAAAA3AAAANwAAADcAAAA3AAAANwAAADcAAAA4AAAAP8AAACxAAAAAAAAAKYAAAD/AAAAuwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC/AAAA/wAAAKkAAAD6AAAAzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN8AAAD/AAAA+gAAAMMAAAAAAAAAAgAAAGsAAABrAAAAawAAAGsAAABrAAAAawAAAGsAAABrAAAADAAAAAAAAADaAAAA/wAAAPoAAADDAAAAAAAAAIsAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAANEAAAAAAAAA2gAAAP8AAAD6AAAAwwAAAAAAAAAAAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAFAAAAAAAAANoAAAD/AAAA+gAAAMMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADaAAAA/wAAAPoAAADDAAAAAAAAADwAAAB8AAAAAAAAAGAAAABcAAAAAAAAAH8AAABKAAAAAAAAAAAAAAAAAAAA2gAAAP8AAAD6AAAAwwAAAAAAAADCAAAA/wAAACkAAADqAAAA4QAAAAAAAAD7AAAA/wAAALAAAAAGAAAAAAAAANoAAAD/AAAA+gAAAMMAAAAAAAAAIwAAAP4AAAD/AAAA/wAAAGAAAAAAAAAAAAAAAMkAAAD/AAAAigAAAAAAAADaAAAA/wAAAPoAAADDAAAAAAAAAAAAAAAIAAAAcAAAABkAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAAAAAAAAAAAA2gAAAP8AAAD7AAAAywAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN4AAAD/AAAAqwAAAP8AAACvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALIAAAD/AAAAsgAAAAAAAAC5AAAA/wAAAMoAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMkAAAD/AAAAvAAAAAAAAAAAAAAAAAAAAKwAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAArQAAAAAAAAAAwAMAAIABAAAf+AAAP/wAAD/8AAAgBAAAP/wAAD/8AAA//AAAJIwAADHEAAA//AAAP/wAAB/4AACAAQAAwAMAAA==">
 <style media="all" type="text/css">
 :root {
@@ -1102,7 +1102,7 @@
 jQuery.extend({highlight:function(e,t,n,r){if(e.nodeType===3){var i=e.data.match(t);if(i){var s=document.createElement(n||"span");s.className=r||"highlight";var o=e.splitText(i.index);o.splitText(i[0].length);var u=o.cloneNode(true);s.appendChild(u);o.parentNode.replaceChild(s,o);return 1}}else if(e.nodeType===1&&e.childNodes&&!/(script|style)/i.test(e.tagName)&&!(e.tagName===n.toUpperCase()&&e.className===r)){for(var a=0;a<e.childNodes.length;a++){a+=jQuery.highlight(e.childNodes[a],t,n,r)}}return 0}});jQuery.fn.unhighlight=function(e){var t={className:"highlight",element:"span"};jQuery.extend(t,e);return this.find(t.element+"."+t.className).each(function(){var e=this.parentNode;e.replaceChild(this.firstChild,this);e.normalize()}).end()};jQuery.fn.highlight=function(e,t){var n={className:"highlight",element:"span",caseSensitive:false,wordsOnly:false};jQuery.extend(n,t);if(e.constructor===String){e=[e]}e=jQuery.grep(e,function(e,t){return e!=""});e=jQuery.map(e,function(e,t){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")});if(e.length==0){return this}var r=n.caseSensitive?"":"i";var i="("+e.join("|")+")";if(n.wordsOnly){i="\\b"+i+"\\b"}var s=new RegExp(i,r);return this.each(function(){jQuery.highlight(this,s,n.element,n.className)})}
 </script>
 <script type="text/javascript">
-libdoc = {"name": "KubeLibrary", "doc": "<p>KubeLibrary is a Robot Framework test library for Kubernetes.</p>\n<p>The approach taken by this library is to provide easy to access kubernetes objects representation that can be then accessed to define highlevel keywords for tests.</p>\n<h2 id=\"Kubeconfigs\">Kubeconfigs</h2>\n<p>By default ~/.kube/config is used. Kubeconfig location can also be passed by setting KUBECONFIG environment variable or as Library argument.</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          /path/to/kubeconfig\n</pre>\n<h2 id=\"Context\">Context</h2>\n<p>By default current context from kubeconfig is used. Setting multiple contexts in different test suites allows working on multiple clusters.</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          context=k3d-k3d-cluster2\n</pre>\n<h2 id=\"Bearer token authentication\">Bearer token authentication</h2>\n<p>It is possible to authenticate using bearer token by passing API url, bearer token and optionally CA certificate.</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          api_url=%{K8S_API_URL}    bearer_token=%{K8S_TOKEN}    ca_cert=%{K8S_CA_CRT}\n</pre>\n<h2 id=\"In cluster execution\">In cluster execution</h2>\n<p>If tests are supposed to be executed from within cluster, KubeLibrary can be configured to use standard token authentication. Just set incluster parameter to True.</p>\n<h2 id=\"Auth methods precedence\">Auth methods precedence</h2>\n<p>If enabled, auth methods takes precedence in following order: 1. Incluster 2. Bearer Token 3. Kubeconfig</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          None    True\n</pre>", "version": "", "generated": "2021-11-29 09:28:46", "type": "LIBRARY", "scope": "TEST", "docFormat": "HTML", "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 29, "tags": [], "inits": [{"name": "Init", "args": [{"name": "kube_config", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "kube_config=None"}, {"name": "context", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "context=None"}, {"name": "api_url", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "api_url=None"}, {"name": "bearer_token", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "bearer_token=None"}, {"name": "ca_cert", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "ca_cert=None"}, {"name": "incluster", "types": [], "defaultValue": "False", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "incluster=False"}, {"name": "cert_validation", "types": [], "defaultValue": "True", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "cert_validation=True"}], "doc": "<p>KubeLibrary can be configured with several optional arguments.</p>\n<ul>\n<li><code>kube_config</code>: Path pointing to kubeconfig of target Kubernetes cluster.</li>\n<li><code>context</code>: Active context. If None current_context from kubeconfig is used.</li>\n<li><code>api_url</code>: K8s API url, used for bearer token authenticaiton.</li>\n<li><code>bearer_token</code>: Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix.</li>\n<li><code>ca_cert</code>: Optional CA certificate file path, used for bearer token authenticaiton.</li>\n<li><code>incuster</code>: Default False. Indicates if used from within k8s cluster. Overrides kubeconfig.</li>\n<li><code>cert_validation</code>: Default True. Can be set to False for self-signed certificates.</li>\n</ul>", "shortdoc": "KubeLibrary can be configured with several optional arguments. - ``kube_config``:   Path pointing to kubeconfig of target Kubernetes cluster. - ``context``:   Active context. If None current_context from kubeconfig is used. - ``api_url``:   K8s API url, used for bearer token authenticaiton. - ``bearer_token``:   Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix. - ``ca_cert``:   Optional CA certificate file path, used for bearer token authenticaiton. - ``incuster``:   Default False. Indicates if used from within k8s cluster. Overrides kubeconfig. - ``cert_validation``:   Default True. Can be set to False for self-signed certificates.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 74}], "keywords": [{"name": "Assert Container Has Env Vars", "args": [{"name": "container", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "container"}, {"name": "env_vars_json", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "env_vars_json"}], "doc": "<p>Assert container has env vars.</p>\n<p>Returns True/False</p>\n<ul>\n<li><code>container</code>: Container object.</li>\n<li><code>env_var_json</code>: JSON representing env vars i.e.: {\"EXAMPLE_VAR\": \"examplevalue\"}</li>\n</ul>", "shortdoc": "Assert container has env vars.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 820}, {"name": "Assert Pod Has Annotations", "args": [{"name": "pod", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pod"}, {"name": "annotations_json", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "annotations_json"}], "doc": "<p>Assert pod has annotations.</p>\n<p>Returns True/False</p>\n<ul>\n<li><code>pod</code>: Pod object.</li>\n<li><code>annotations_json</code>: JSON representing annotations</li>\n</ul>", "shortdoc": "Assert pod has annotations.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 795}, {"name": "Assert Pod Has Labels", "args": [{"name": "pod", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pod"}, {"name": "labels_json", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "labels_json"}], "doc": "<p>Assert pod has labels.</p>\n<p>Returns True/False</p>\n<ul>\n<li><code>pod</code>: Pod object.</li>\n<li><code>labels_json</code>: JSON representing labels</li>\n</ul>", "shortdoc": "Assert pod has labels.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 770}, {"name": "Create", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Creates resource instances based on the provided configuration.</p>\n<p>If the resource is namespaced (ie, not cluster-level), then one of <code>namespace</code>, <code>label_selector</code>, or <code>field_selector</code> is required. If the resource is cluster-level, then one of <code>name</code>, <code>label_selector</code>, or <code>field_selector</code> is required. Can be optionally given a kubernetes manifest (<code>body</code>) which respects the above considerations.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Creates resource instances based on the provided configuration.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 150}, {"name": "Create Cron Job In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use create_namespaced_cron_job.</p>\n<p>Creates cron_job in a namespace</p>\n<p>Returns created cron_job</p>\n<ul>\n<li><code>body</code>: Cron_job object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use create_namespaced_cron_job.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1520}, {"name": "Create Namespaced Cron Job", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p>Creates cron_job in a namespace</p>\n<p>Returns created cron_job</p>\n<ul>\n<li><code>body</code>: Cron_job object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Creates cron_job in a namespace", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1508}, {"name": "Create Namespaced Service Account", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p>Creates service account in a namespace</p>\n<p>Returns created service account</p>\n<ul>\n<li><code>body</code>: Service Account object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Creates service account in a namespace", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1071}, {"name": "Create Service Account In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use create_namespaced_service_account.</p>\n<p>Creates service account in a namespace</p>\n<p>Returns created service account</p>\n<ul>\n<li><code>body</code>: Service Account object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use create_namespaced_service_account.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1084}, {"name": "Delete", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Deletes resource instances based on the provided configuration.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Deletes resource instances based on the provided configuration.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 167}, {"name": "Delete Cron Job In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use delete_namespaced_cron_job.</p>\n<p>Deletes cron_job in a namespace</p>\n<p>Returns V1 status</p>\n<ul>\n<li><code>name</code>: Cron Job name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use delete_namespaced_cron_job.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1546}, {"name": "Delete Namespaced Cron Job", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Deletes cron_job in a namespace</p>\n<p>Returns V1 status</p>\n<ul>\n<li><code>name</code>: Cron Job name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Deletes cron_job in a namespace", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1534}, {"name": "Delete Namespaced Service Account", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Deletes service account in a namespace</p>\n<p>Returns V1status</p>\n<ul>\n<li><code>name</code>: Service Account name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Deletes service account in a namespace", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1099}, {"name": "Delete Service Account In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use delete_namespaced_service_account.</p>\n<p>Deletes service account in a namespace</p>\n<p>Returns V1status</p>\n<ul>\n<li><code>name</code>: Service Account name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use delete_namespaced_service_account.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1113}, {"name": "Evaluate Callable From K8s Client", "args": [{"name": "attr_name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "attr_name"}, {"name": "args", "types": [], "defaultValue": null, "kind": "VAR_POSITIONAL", "required": false, "repr": "*args"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Evaluates a callable from kubernetes client.</p>\n<p>Returns the output of the client callable.</p>\n<ul>\n<li><code>attr_name</code>: Callable name</li>\n<li><code>*args</code>: Positional arguments for argument forwarding</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Evaluates a callable from kubernetes client.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 107}, {"name": "Filter By Key", "args": [{"name": "objects", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "objects"}, {"name": "key", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "key"}, {"name": "match", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "match"}], "doc": "<p>Filter object with key matching value for list of k8s objects.</p>\n<p>Returns list of objects.</p>\n<ul>\n<li><code>objects</code>: List of k8s objects</li>\n<li><code>key</code>: Key to match</li>\n<li><code>match</code>: Value of the key based on which objects will be included</li>\n</ul>", "shortdoc": "Filter object with key matching value for list of k8s objects.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 627}, {"name": "Filter Configmap Names", "args": [{"name": "configmaps", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "configmaps"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Filter configmap  names for list of configmaps. Returns list of strings.</p>\n<ul>\n<li><code>configmaps</code>: List of configmap objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Filter configmap  names for list of configmaps. Returns list of strings. - ``configmaps``:   List of configmap objects", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 679}, {"name": "Filter Containers Images", "args": [{"name": "containers", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "containers"}], "doc": "<p>Filters container images for given lists of containers.</p>\n<p>Returns list of images.</p>\n<ul>\n<li><code>containers</code>: List of containers</li>\n</ul>", "shortdoc": "Filters container images for given lists of containers.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 712}, {"name": "Filter Containers Resources", "args": [{"name": "containers", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "containers"}], "doc": "<p>Filters container resources for given lists of containers.</p>\n<p>Returns list of resources.</p>\n<ul>\n<li><code>containers</code>: List of containers</li>\n</ul>", "shortdoc": "Filters container resources for given lists of containers.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 722}, {"name": "Filter Deployments Names", "args": [{"name": "deployments", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "deployments"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Returns list of strings.</p>\n<ul>\n<li><code>deployments</code>: List of deployments objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Returns list of strings. - ``deployments``:   List of deployments objects", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 641}, {"name": "Filter Endpoints Names", "args": [{"name": "endpoints", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "endpoints"}], "doc": "<p>Filter endpoints names for list of endpoints. Returns list of strings.</p>\n<ul>\n<li><code>endpoints</code>:</li>\n</ul>\n<p>List of endpoint objects</p>", "shortdoc": "Filter endpoints names for list of endpoints. Returns list of strings. - ``endpoints``: List of endpoint objects", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 688}, {"name": "Filter Names", "args": [{"name": "objects", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "objects"}], "doc": "<p>Filter .metadata.name for list of k8s objects.</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>objects</code>: List of k8s objects</li>\n</ul>", "shortdoc": "Filter .metadata.name for list of k8s objects.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 617}, {"name": "Filter Pods Containers By Name", "args": [{"name": "pods", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pods"}, {"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}], "doc": "<p>Filters pods containers by name for given list of pods.</p>\n<p>Returns lists of containers (flattens).</p>\n<ul>\n<li><code>pods</code>: List of pods objects</li>\n</ul>", "shortdoc": "Filters pods containers by name for given list of pods.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 696}, {"name": "Filter Pods Containers Statuses By Name", "args": [{"name": "pods", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pods"}, {"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}], "doc": "<p>Filters pods containers statuses by container name for given list of pods.</p>\n<p>Returns lists of containers statuses.</p>\n<ul>\n<li><code>pods</code>: List of pods objects</li>\n</ul>", "shortdoc": "Filters pods containers statuses by container name for given list of pods.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 732}, {"name": "Filter Pods Names", "args": [{"name": "pods", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pods"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Filter pod names for list of pods.</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>pods</code>: List of pods objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Filter pod names for list of pods.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 657}, {"name": "Filter Replicasets Names", "args": [{"name": "replicasets", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "replicasets"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Returns list of strings.</p>\n<ul>\n<li><code>replicasets</code>: List of replicasets objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Returns list of strings. - ``replicasets``:   List of replicasets objects", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 649}, {"name": "Filter Service Accounts Names", "args": [{"name": "service_accounts", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "service_accounts"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Filter service accounts names for list of service accounts.</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>service_accounts</code>: List of service accounts objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Filter service accounts names for list of service accounts.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 668}, {"name": "Generate Alphanumeric Str", "args": [{"name": "size", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "size"}], "doc": "<p>Generates a random alphanumeric string with given size.</p>\n<p>Returns a string.</p>\n<ul>\n<li><code>size</code>: Desired size of the output string</li>\n</ul>", "shortdoc": "Generates a random alphanumeric string with given size.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 96}, {"name": "Get", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Retrieves resource instances based on the provided parameters.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<p>Returns a resource list.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Retrieves resource instances based on the provided parameters.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 133}, {"name": "Get Cluster Custom Object", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}, {"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}], "doc": "<p>Get cluster level custom object.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'scheduling.k8s.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>plural</code>: e.g. 'priorityclasses'</li>\n<li><code>name</code>: e.g. 'system-node-critical'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/{plural}/{name}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "Get cluster level custom object.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1442}, {"name": "Get Cluster Role Bindings", "args": [], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_cluster_role_binding.</p>\n<p>Gets a list of cluster_role_bindings.</p>\n<p>Returns list of cluster_role_bindings.</p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_cluster_role_binding.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1346}, {"name": "Get Cluster Roles", "args": [], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_cluster_role.</p>\n<p>Gets a list of cluster_roles.</p>\n<p>Returns list of cluster_roles.</p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_cluster_role.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1328}, {"name": "Get Configmaps In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_config_map_by_pattern. Gets configmaps matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of configmaps.</p>\n<ul>\n<li><code>name_pattern</code>: configmap name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_config_map_by_pattern. Gets configmaps matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 424}, {"name": "Get Cron Job Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_cron_job.</p>\n<p>Gets cron job details in given namespace.</p>\n<p>Returns Cron job object representation.</p>\n<ul>\n<li><code>name</code>: Name of cron job.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_cron_job.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1249}, {"name": "Get Cron Jobs In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_cron_job.</p>\n<p>Gets cron jobs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_cron_job.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1221}, {"name": "Get Custom Object In Namespace", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}, {"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use get_namespaced_custom_object.</p>\n<p>Get custom object in namespace.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>namespace</code>: Namespace, e.g. 'default'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n<li><code>name</code>: e.g. 'my-network'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use get_namespaced_custom_object.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1484}, {"name": "Get Daemonset Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_daemon_set.</p>\n<p>Gets deamonset details in given namespace.</p>\n<p>Returns daemonset object representation.</p>\n<ul>\n<li><code>name</code>: Name of the daemonset</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_daemon_set.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1305}, {"name": "Get Daemonsets In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_daemon_set.</p>\n<p>Gets a list of available daemonsets.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deaemonsets.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_daemon_set.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1277}, {"name": "Get Deployments In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_deployment_by_pattern. Gets deployments matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deployments.</p>\n<ul>\n<li><code>name_pattern</code>: deployment name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_deployment_by_pattern. Gets deployments matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 494}, {"name": "Get Dynamic Resource", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}], "doc": "<p>Returns a dynamic resource based on the provided api version and kind.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n</ul>", "shortdoc": "Returns a dynamic resource based on the provided api version and kind.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 123}, {"name": "Get Endpoints In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_endpoints.</p>\n<p>Gets endpoint details in given namespace.</p>\n<p>Returns Endpoint object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Match</td>\n<td>${endpoint_details.subsets[0].addresses[0].target_ref.name}</td>\n<td>pod-name-123456</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of endpoint.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_endpoints.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 984}, {"name": "Get Healthcheck", "args": [{"name": "endpoint", "types": [], "defaultValue": "/readyz", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "endpoint=/readyz"}, {"name": "verbose", "types": [], "defaultValue": "False", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "verbose=False"}], "doc": "<p>Performs GET on /readyz or /livez for simple health check.</p>\n<p>Can be used to verify the readiness/current status of the API server Returns tuple of (response data, response status and response headers)</p>\n<ul>\n<li><code>endpoint</code>: /readyz, /livez or induvidual endpoints like '/livez/etcd'. defaults to /readyz</li>\n<li><code>verbose</code>: More detailed output.</li>\n</ul>\n<p><a href=\"https://kubernetes.io/docs/reference/using-api/health-checks\">https://kubernetes.io/docs/reference/using-api/health-checks</a></p>", "shortdoc": "Performs GET on /readyz or /livez for simple health check.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1129}, {"name": "Get Healthy Nodes Count", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Counts node with KubeletReady and status True.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Can be used to check number of healthy nodes. Can be used as prerequisite in tests.</p>", "shortdoc": "Counts node with KubeletReady and status True.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 309}, {"name": "Get Hpa Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.</p>\n<p>Gets Horizontal Pod Autoscaler details in given namespace.</p>\n<p>Returns Horizontal Pod Autoscaler object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${hpa_details.spec.target_cpu_utilization_percentage}</td>\n<td>50</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of Horizontal Pod Autoscaler</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 952}, {"name": "Get Hpas In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.</p>\n<p>Gets Horizontal Pod Autoscalers in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 922}, {"name": "Get Ingress Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_ingress.</p>\n<p>Gets ingress details in given namespace.</p>\n<p>Returns Ingress object representation. Name of ingress.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_ingress.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1195}, {"name": "Get Ingresses In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_ingress.</p>\n<p>Gets ingresses in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_ingress.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1171}, {"name": "Get Jobs In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_job_by_pattern. Gets jobs matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of jobs.</p>\n<ul>\n<li><code>name_pattern</code>: job name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_job_by_pattern. Gets jobs matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 564}, {"name": "Get Kubelet Version", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets list of kubelet versions on each node.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>", "shortdoc": "Gets list of kubelet versions on each node.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1061}, {"name": "Get Namespaced Custom Object", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}, {"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}], "doc": "<p>Get custom object in namespace.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>namespace</code>: Namespace, e.g. 'default'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n<li><code>name</code>: e.g. 'my-network'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "Get custom object in namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1462}, {"name": "Get Namespaces", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespace. Gets a list of available namespaces.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of namespaces names.</p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespace. Gets a list of available namespaces.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 299}, {"name": "Get Pod Logs", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "container", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "container"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_pod_log. Gets container logs of given pod in given namespace.</p>\n<p>Returns logs.</p>\n<ul>\n<li><code>name</code>: Pod name to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n<li><code>container</code>: Container to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_pod_log. Gets container logs of given pod in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 391}, {"name": "Get Pod Names In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pod name matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>name_pattern</code>: Pod name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pod name matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 324}, {"name": "Get Pod Status In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_pod_status.</p>\n<ul>\n<li><code>name</code>: Name of pod.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_pod_status.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 759}, {"name": "Get Pods In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pods matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of pods.</p>\n<ul>\n<li><code>name_pattern</code>: Pod name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pods matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 358}, {"name": "Get Pvc Capacity", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_persistent_volume_claim.</p>\n<p>Gets PVC details in given namespace.</p>\n<p>Returns PVC object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As strings</td>\n<td>${pvc.status.capacity.storage}</td>\n<td>1Gi</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of PVC.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_persistent_volume_claim.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1044}, {"name": "Get Pvc In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_persistent_volume_claim.</p>\n<p>Gets pvcs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_persistent_volume_claim.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1014}, {"name": "Get Replicasets In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_replica_set_by_pattern. Gets replicasets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of  replicasets.</p>\n<ul>\n<li><code>name_pattern</code>: replicaset name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_replica_set_by_pattern. Gets replicasets matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 529}, {"name": "Get Role Bindings In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_role_binding.</p>\n<p>Gets role_bindings in given namespace.</p>\n<p>Returns list of role_bindings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_role_binding.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1391}, {"name": "Get Roles In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_role.</p>\n<p>Gets roles in given namespace.</p>\n<p>Returns list of roles.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_role.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1367}, {"name": "Get Secrets In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_secret_by_pattern. Gets secrets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of secrets.</p>\n<ul>\n<li><code>name_pattern</code>: secret name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_secret_by_pattern. Gets secrets matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 599}, {"name": "Get Service Accounts In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_service_account_by_pattern. Gets service accounts matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of service accounts.</p>\n<ul>\n<li><code>name_pattern</code>: Service Account name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_service_account_by_pattern. Gets service accounts matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 459}, {"name": "Get Service Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_service.</p>\n<p>Gets service details in given namespace.</p>\n<p>Returns Service object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${service_details.spec.ports[0].port}</td>\n<td>8080</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of service.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_service.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 892}, {"name": "Get Services In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_service.</p>\n<p>Gets services in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_service.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 862}, {"name": "K8s Api Ping", "args": [], "doc": "<p>Performs GET on /api/v1/ for simple check of API availability.</p>\n<p>Returns tuple of (response data, response status, response headers). Can be used as prerequisite in tests.</p>", "shortdoc": "Performs GET on /api/v1/ for simple check of API availability.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 270}, {"name": "List Cluster Custom Object", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}], "doc": "<p>Lists cluster level custom objects.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/{plural}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "Lists cluster level custom objects.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1404}, {"name": "List Cluster Custom Objects", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_cluster_custom_object.</p>\n<p>Lists cluster level custom objects.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/{plural}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_cluster_custom_object.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1422}, {"name": "List Cluster Role", "args": [], "doc": "<p>Gets a list of cluster_roles.</p>\n<p>Returns list of cluster_roles.</p>", "shortdoc": "Gets a list of cluster_roles.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1320}, {"name": "List Cluster Role Binding", "args": [], "doc": "<p>Gets a list of cluster_role_bindings.</p>\n<p>Returns list of cluster_role_bindings.</p>", "shortdoc": "Gets a list of cluster_role_bindings.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1338}, {"name": "List Namespace", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists available namespaces.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of namespaces.</p>", "shortdoc": "Lists available namespaces.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 289}, {"name": "List Namespaced Config Map By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists configmaps matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of configmaps.</p>\n<ul>\n<li><code>name_pattern</code>: configmap name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists configmaps matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 407}, {"name": "List Namespaced Cron Job", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets cron jobs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets cron jobs in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1208}, {"name": "List Namespaced Daemon Set", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets a list of available daemonsets.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deaemonsets.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets a list of available daemonsets.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1264}, {"name": "List Namespaced Deployment By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets deployments matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deployments.</p>\n<ul>\n<li><code>name_pattern</code>: deployment name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets deployments matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 477}, {"name": "List Namespaced Horizontal Pod Autoscaler", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets Horizontal Pod Autoscalers in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets Horizontal Pod Autoscalers in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 909}, {"name": "List Namespaced Ingress", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets ingresses in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets ingresses in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1160}, {"name": "List Namespaced Job By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets jobs matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of jobs.</p>\n<ul>\n<li><code>name_pattern</code>: job name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets jobs matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 547}, {"name": "List Namespaced Persistent Volume Claim", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets pvcs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets pvcs in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1001}, {"name": "List Namespaced Pod By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>List pods matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of pods.</p>\n<ul>\n<li><code>name_pattern</code>: Pod name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "List pods matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 341}, {"name": "List Namespaced Replica Set By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists replicasets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of  replicasets.</p>\n<ul>\n<li><code>name_pattern</code>: replicaset name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists replicasets matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 512}, {"name": "List Namespaced Role", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets roles in given namespace.</p>\n<p>Returns list of roles.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets roles in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1356}, {"name": "List Namespaced Role Binding", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets role_bindings in given namespace.</p>\n<p>Returns list of role_bindings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets role_bindings in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1380}, {"name": "List Namespaced Secret By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists secrets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of secrets.</p>\n<ul>\n<li><code>name_pattern</code>: secret name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists secrets matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 582}, {"name": "List Namespaced Service", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets services in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets services in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 849}, {"name": "List Namespaced Service Account By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists service accounts matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of service accounts.</p>\n<ul>\n<li><code>name_pattern</code>: Service Account name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists service accounts matching pattern in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 442}, {"name": "Patch", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Patches resource instances based on the provided parameters.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Patches resource instances based on the provided parameters.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 182}, {"name": "Read Namespaced Cron Job", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets cron job details in given namespace.</p>\n<p>Returns Cron job object representation.</p>\n<ul>\n<li><code>name</code>: Name of cron job.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets cron job details in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1236}, {"name": "Read Namespaced Daemon Set", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets deamonset details in given namespace.</p>\n<p>Returns daemonset object representation.</p>\n<ul>\n<li><code>name</code>: Name of the daemonset</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets deamonset details in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1292}, {"name": "Read Namespaced Endpoints", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets endpoint details in given namespace.</p>\n<p>Returns Endpoint object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Match</td>\n<td>${endpoint_details.subsets[0].addresses[0].target_ref.name}</td>\n<td>pod-name-123456</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of endpoint.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets endpoint details in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 969}, {"name": "Read Namespaced Horizontal Pod Autoscaler", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets Horizontal Pod Autoscaler details in given namespace.</p>\n<p>Returns Horizontal Pod Autoscaler object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${hpa_details.spec.target_cpu_utilization_percentage}</td>\n<td>50</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of Horizontal Pod Autoscaler</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets Horizontal Pod Autoscaler details in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 937}, {"name": "Read Namespaced Ingress", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets ingress details in given namespace.</p>\n<p>Returns Ingress object representation. Name of ingress.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets ingress details in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1184}, {"name": "Read Namespaced Persistent Volume Claim", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets PVC details in given namespace.</p>\n<p>Returns PVC object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As strings</td>\n<td>${pvc.status.capacity.storage}</td>\n<td>1Gi</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of PVC.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets PVC details in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 1029}, {"name": "Read Namespaced Pod Log", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "container", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "container"}], "doc": "<p>Gets container logs of given pod in given namespace.</p>\n<p>Returns logs.</p>\n<ul>\n<li><code>name</code>: Pod name to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n<li><code>container</code>: Container to check</li>\n</ul>", "shortdoc": "Gets container logs of given pod in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 376}, {"name": "Read Namespaced Pod Status", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Reads pod status in given namespace.</p>\n<ul>\n<li><code>name</code>: Name of pod.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Reads pod status in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 748}, {"name": "Read Namespaced Service", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets service details in given namespace.</p>\n<p>Returns Service object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${service_details.spec.ports[0].port}</td>\n<td>8080</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of service.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets service details in given namespace.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 877}, {"name": "Reload Config", "args": [{"name": "kube_config", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "kube_config=None"}, {"name": "context", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "context=None"}, {"name": "api_url", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "api_url=None"}, {"name": "bearer_token", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "bearer_token=None"}, {"name": "ca_cert", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "ca_cert=None"}, {"name": "incluster", "types": [], "defaultValue": "False", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "incluster=False"}, {"name": "cert_validation", "types": [], "defaultValue": "True", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "cert_validation=True"}], "doc": "<p>Reload the KubeLibrary to be configured with different optional arguments. This can be used to connect to a different cluster during the same test.</p>\n<ul>\n<li><code>kube_config</code>: Path pointing to kubeconfig of target Kubernetes cluster.</li>\n<li><code>context</code>: Active context. If None current_context from kubeconfig is used.</li>\n<li><code>api_url</code>: K8s API url, used for bearer token authenticaiton.</li>\n<li><code>bearer_token</code>: Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix.</li>\n<li><code>ca_cert</code>: Optional CA certificate file path, used for bearer token authenticaiton.</li>\n<li><code>incuster</code>: Default False. Indicates if used from within k8s cluster. Overrides kubeconfig.</li>\n<li><code>cert_validation</code>: Default True. Can be set to False for self-signed certificates.</li>\n</ul>", "shortdoc": "Reload the KubeLibrary to be configured with different optional arguments.    This can be used to connect to a different cluster during the same test. - ``kube_config``:   Path pointing to kubeconfig of target Kubernetes cluster. - ``context``:   Active context. If None current_context from kubeconfig is used. - ``api_url``:   K8s API url, used for bearer token authenticaiton. - ``bearer_token``:   Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix. - ``ca_cert``:   Optional CA certificate file path, used for bearer token authenticaiton. - ``incuster``:   Default False. Indicates if used from within k8s cluster. Overrides kubeconfig. - ``cert_validation``:   Default True. Can be set to False for self-signed certificates.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 212}, {"name": "Replace", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Replaces resource instances based on the provided parameters.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Replaces resource instances based on the provided parameters.", "tags": [], "source": "/Users/mwcislo/git/KubeLibrary/src/KubeLibrary/KubeLibrary.py", "lineno": 197}], "dataTypes": {"enums": [], "typedDicts": []}}
+libdoc = {"name": "KubeLibrary", "doc": "<p>KubeLibrary is a Robot Framework test library for Kubernetes.</p>\n<p>The approach taken by this library is to provide easy to access kubernetes objects representation that can be then accessed to define highlevel keywords for tests.</p>\n<h2 id=\"Kubeconfigs\">Kubeconfigs</h2>\n<p>By default ~/.kube/config is used. Kubeconfig location can also be passed by setting KUBECONFIG environment variable or as Library argument.</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          /path/to/kubeconfig\n</pre>\n<h2 id=\"Context\">Context</h2>\n<p>By default current context from kubeconfig is used. Setting multiple contexts in different test suites allows working on multiple clusters.</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          context=k3d-k3d-cluster2\n</pre>\n<h2 id=\"Bearer token authentication\">Bearer token authentication</h2>\n<p>It is possible to authenticate using bearer token by passing API url, bearer token and optionally CA certificate.</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          api_url=%{K8S_API_URL}    bearer_token=%{K8S_TOKEN}    ca_cert=%{K8S_CA_CRT}\n</pre>\n<h2 id=\"In cluster execution\">In cluster execution</h2>\n<p>If tests are supposed to be executed from within cluster, KubeLibrary can be configured to use standard token authentication. Just set incluster parameter to True.</p>\n<h2 id=\"Auth methods precedence\">Auth methods precedence</h2>\n<p>If enabled, auth methods takes precedence in following order: 1. Incluster 2. Bearer Token 3. Kubeconfig</p>\n<pre>\n<b>***</b> Settings <b>***</b>\nLibrary           KubeLibrary          None    True\n</pre>", "version": "0.6.2", "generated": "2022-03-25 11:25:39", "type": "LIBRARY", "scope": "GLOBAL", "docFormat": "HTML", "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 27, "tags": [], "inits": [{"name": "Init", "args": [{"name": "kube_config", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "kube_config=None"}, {"name": "context", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "context=None"}, {"name": "api_url", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "api_url=None"}, {"name": "bearer_token", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "bearer_token=None"}, {"name": "ca_cert", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "ca_cert=None"}, {"name": "incluster", "types": [], "defaultValue": "False", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "incluster=False"}, {"name": "cert_validation", "types": [], "defaultValue": "True", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "cert_validation=True"}], "doc": "<p>KubeLibrary can be configured with several optional arguments.</p>\n<ul>\n<li><code>kube_config</code>: Path pointing to kubeconfig of target Kubernetes cluster.</li>\n<li><code>context</code>: Active context. If None current_context from kubeconfig is used.</li>\n<li><code>api_url</code>: K8s API url, used for bearer token authenticaiton.</li>\n<li><code>bearer_token</code>: Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix.</li>\n<li><code>ca_cert</code>: Optional CA certificate file path, used for bearer token authenticaiton.</li>\n<li><code>incuster</code>: Default False. Indicates if used from within k8s cluster. Overrides kubeconfig.</li>\n<li><code>cert_validation</code>: Default True. Can be set to False for self-signed certificates.</li>\n</ul>\n<p>Environment variables:</p>\n<ul>\n<li>INIT_FOR_LIBDOC_ONLY: Set to '1' to generate keyword documentation and skip to load a kube config..</li>\n</ul>", "shortdoc": "KubeLibrary can be configured with several optional arguments. - ``kube_config``:   Path pointing to kubeconfig of target Kubernetes cluster. - ``context``:   Active context. If None current_context from kubeconfig is used. - ``api_url``:   K8s API url, used for bearer token authenticaiton. - ``bearer_token``:   Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix. - ``ca_cert``:   Optional CA certificate file path, used for bearer token authenticaiton. - ``incuster``:   Default False. Indicates if used from within k8s cluster. Overrides kubeconfig. - ``cert_validation``:   Default True. Can be set to False for self-signed certificates.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 72}], "keywords": [{"name": "Assert Container Has Env Vars", "args": [{"name": "container", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "container"}, {"name": "env_vars_json", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "env_vars_json"}], "doc": "<p>Assert container has env vars.</p>\n<p>Returns True/False</p>\n<ul>\n<li><code>container</code>: Container object.</li>\n<li><code>env_var_json</code>: JSON representing env vars i.e.: {\"EXAMPLE_VAR\": \"examplevalue\"}</li>\n</ul>", "shortdoc": "Assert container has env vars.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 870}, {"name": "Assert Pod Has Annotations", "args": [{"name": "pod", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pod"}, {"name": "annotations_json", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "annotations_json"}], "doc": "<p>Assert pod has annotations.</p>\n<p>Returns True/False</p>\n<ul>\n<li><code>pod</code>: Pod object.</li>\n<li><code>annotations_json</code>: JSON representing annotations</li>\n</ul>", "shortdoc": "Assert pod has annotations.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 844}, {"name": "Assert Pod Has Labels", "args": [{"name": "pod", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pod"}, {"name": "labels_json", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "labels_json"}], "doc": "<p>Assert pod has labels.</p>\n<p>Returns True/False</p>\n<ul>\n<li><code>pod</code>: Pod object.</li>\n<li><code>labels_json</code>: JSON representing labels</li>\n</ul>", "shortdoc": "Assert pod has labels.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 818}, {"name": "Create", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Creates resource instances based on the provided configuration.</p>\n<p>If the resource is namespaced (ie, not cluster-level), then one of <code>namespace</code>, <code>label_selector</code>, or <code>field_selector</code> is required. If the resource is cluster-level, then one of <code>name</code>, <code>label_selector</code>, or <code>field_selector</code> is required. Can be optionally given a kubernetes manifest (<code>body</code>) which respects the above considerations.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Creates resource instances based on the provided configuration.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 154}, {"name": "Create Cron Job In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use create_namespaced_cron_job.</p>\n<p>Creates cron_job in a namespace</p>\n<p>Returns created cron_job</p>\n<ul>\n<li><code>body</code>: Cron_job object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use create_namespaced_cron_job.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1570}, {"name": "Create Namespaced Cron Job", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p>Creates cron_job in a namespace</p>\n<p>Returns created cron_job</p>\n<ul>\n<li><code>body</code>: Cron_job object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Creates cron_job in a namespace", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1558}, {"name": "Create Namespaced Service Account", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p>Creates service account in a namespace</p>\n<p>Returns created service account</p>\n<ul>\n<li><code>body</code>: Service Account object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Creates service account in a namespace", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1121}, {"name": "Create Service Account In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "body", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "body"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use create_namespaced_service_account.</p>\n<p>Creates service account in a namespace</p>\n<p>Returns created service account</p>\n<ul>\n<li><code>body</code>: Service Account object.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use create_namespaced_service_account.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1134}, {"name": "Delete", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Deletes resource instances based on the provided configuration.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Deletes resource instances based on the provided configuration.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 171}, {"name": "Delete Cron Job In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use delete_namespaced_cron_job.</p>\n<p>Deletes cron_job in a namespace</p>\n<p>Returns V1 status</p>\n<ul>\n<li><code>name</code>: Cron Job name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use delete_namespaced_cron_job.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1596}, {"name": "Delete Namespaced Cron Job", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Deletes cron_job in a namespace</p>\n<p>Returns V1 status</p>\n<ul>\n<li><code>name</code>: Cron Job name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Deletes cron_job in a namespace", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1584}, {"name": "Delete Namespaced Service Account", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Deletes service account in a namespace</p>\n<p>Returns V1status</p>\n<ul>\n<li><code>name</code>: Service Account name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Deletes service account in a namespace", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1149}, {"name": "Delete Service Account In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use delete_namespaced_service_account.</p>\n<p>Deletes service account in a namespace</p>\n<p>Returns V1status</p>\n<ul>\n<li><code>name</code>: Service Account name</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use delete_namespaced_service_account.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1163}, {"name": "Evaluate Callable From K8s Client", "args": [{"name": "attr_name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "attr_name"}, {"name": "args", "types": [], "defaultValue": null, "kind": "VAR_POSITIONAL", "required": false, "repr": "*args"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Evaluates a callable from kubernetes client.</p>\n<p>Returns the output of the client callable.</p>\n<ul>\n<li><code>attr_name</code>: Callable name</li>\n<li><code>*args</code>: Positional arguments for argument forwarding</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Evaluates a callable from kubernetes client.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 111}, {"name": "Filter By Key", "args": [{"name": "objects", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "objects"}, {"name": "key", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "key"}, {"name": "match", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "match"}], "doc": "<p>Filter object with key matching value for list of k8s objects.</p>\n<p>Returns list of objects.</p>\n<ul>\n<li><code>objects</code>: List of k8s objects</li>\n<li><code>key</code>: Key to match</li>\n<li><code>match</code>: Value of the key based on which objects will be included</li>\n</ul>", "shortdoc": "Filter object with key matching value for list of k8s objects.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 670}, {"name": "Filter Configmap Names", "args": [{"name": "configmaps", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "configmaps"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Filter configmap  names for list of configmaps. Returns list of strings.</p>\n<ul>\n<li><code>configmaps</code>: List of configmap objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Filter configmap  names for list of configmaps. Returns list of strings. - ``configmaps``:   List of configmap objects", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 722}, {"name": "Filter Containers Images", "args": [{"name": "containers", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "containers"}], "doc": "<p>Filters container images for given lists of containers.</p>\n<p>Returns list of images.</p>\n<ul>\n<li><code>containers</code>: List of containers</li>\n</ul>", "shortdoc": "Filters container images for given lists of containers.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 757}, {"name": "Filter Containers Resources", "args": [{"name": "containers", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "containers"}], "doc": "<p>Filters container resources for given lists of containers.</p>\n<p>Returns list of resources.</p>\n<ul>\n<li><code>containers</code>: List of containers</li>\n</ul>", "shortdoc": "Filters container resources for given lists of containers.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 768}, {"name": "Filter Deployments Names", "args": [{"name": "deployments", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "deployments"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Returns list of strings.</p>\n<ul>\n<li><code>deployments</code>: List of deployments objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Returns list of strings. - ``deployments``:   List of deployments objects", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 684}, {"name": "Filter Endpoints Names", "args": [{"name": "endpoints", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "endpoints"}], "doc": "<p>Filter endpoints names for list of endpoints. Returns list of strings.</p>\n<ul>\n<li><code>endpoints</code>:</li>\n</ul>\n<p>List of endpoint objects</p>", "shortdoc": "Filter endpoints names for list of endpoints. Returns list of strings. - ``endpoints``: List of endpoint objects", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 731}, {"name": "Filter Names", "args": [{"name": "objects", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "objects"}], "doc": "<p>Filter .metadata.name for list of k8s objects.</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>objects</code>: List of k8s objects</li>\n</ul>", "shortdoc": "Filter .metadata.name for list of k8s objects.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 660}, {"name": "Filter Pods Containers By Name", "args": [{"name": "pods", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pods"}, {"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}], "doc": "<p>Filters pods containers by name for given list of pods.</p>\n<p>Returns lists of containers (flattens).</p>\n<ul>\n<li><code>pods</code>: List of pods objects</li>\n</ul>", "shortdoc": "Filters pods containers by name for given list of pods.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 740}, {"name": "Filter Pods Containers Statuses By Name", "args": [{"name": "pods", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pods"}, {"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}], "doc": "<p>Filters pods containers statuses by container name for given list of pods.</p>\n<p>Returns lists of containers statuses.</p>\n<ul>\n<li><code>pods</code>: List of pods objects</li>\n</ul>", "shortdoc": "Filters pods containers statuses by container name for given list of pods.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 779}, {"name": "Filter Pods Names", "args": [{"name": "pods", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "pods"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Filter pod names for list of pods.</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>pods</code>: List of pods objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Filter pod names for list of pods.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 700}, {"name": "Filter Replicasets Names", "args": [{"name": "replicasets", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "replicasets"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Returns list of strings.</p>\n<ul>\n<li><code>replicasets</code>: List of replicasets objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Returns list of strings. - ``replicasets``:   List of replicasets objects", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 692}, {"name": "Filter Service Accounts Names", "args": [{"name": "service_accounts", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "service_accounts"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. See examples in TBD. Filter service accounts names for list of service accounts.</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>service_accounts</code>: List of service accounts objects</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. See examples in TBD. Filter service accounts names for list of service accounts.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 711}, {"name": "Generate Alphanumeric Str", "args": [{"name": "size", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "size"}], "doc": "<p>Generates a random alphanumeric string with given size.</p>\n<p>Returns a string.</p>\n<ul>\n<li><code>size</code>: Desired size of the output string</li>\n</ul>", "shortdoc": "Generates a random alphanumeric string with given size.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 100}, {"name": "Get", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Retrieves resource instances based on the provided parameters.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<p>Returns a resource list.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Retrieves resource instances based on the provided parameters.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 137}, {"name": "Get Cluster Custom Object", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}, {"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}], "doc": "<p>Get cluster level custom object.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'scheduling.k8s.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>plural</code>: e.g. 'priorityclasses'</li>\n<li><code>name</code>: e.g. 'system-node-critical'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/{plural}/{name}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "Get cluster level custom object.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1492}, {"name": "Get Cluster Role Bindings", "args": [], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_cluster_role_binding.</p>\n<p>Gets a list of cluster_role_bindings.</p>\n<p>Returns list of cluster_role_bindings.</p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_cluster_role_binding.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1396}, {"name": "Get Cluster Roles", "args": [], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_cluster_role.</p>\n<p>Gets a list of cluster_roles.</p>\n<p>Returns list of cluster_roles.</p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_cluster_role.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1378}, {"name": "Get Configmaps In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_config_map_by_pattern. Gets configmaps matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of configmaps.</p>\n<ul>\n<li><code>name_pattern</code>: configmap name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_config_map_by_pattern. Gets configmaps matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 428}, {"name": "Get Cron Job Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_cron_job.</p>\n<p>Gets cron job details in given namespace.</p>\n<p>Returns Cron job object representation.</p>\n<ul>\n<li><code>name</code>: Name of cron job.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_cron_job.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1299}, {"name": "Get Cron Jobs In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_cron_job.</p>\n<p>Gets cron jobs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_cron_job.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1271}, {"name": "Get Custom Object In Namespace", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}, {"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use get_namespaced_custom_object.</p>\n<p>Get custom object in namespace.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>namespace</code>: Namespace, e.g. 'default'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n<li><code>name</code>: e.g. 'my-network'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use get_namespaced_custom_object.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1534}, {"name": "Get Daemonset Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_daemon_set.</p>\n<p>Gets deamonset details in given namespace.</p>\n<p>Returns daemonset object representation.</p>\n<ul>\n<li><code>name</code>: Name of the daemonset</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_daemon_set.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1355}, {"name": "Get Daemonsets In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_daemon_set.</p>\n<p>Gets a list of available daemonsets.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deaemonsets.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_daemon_set.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1327}, {"name": "Get Deployments In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_deployment_by_pattern. Gets deployments matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deployments.</p>\n<ul>\n<li><code>name_pattern</code>: deployment name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_deployment_by_pattern. Gets deployments matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 498}, {"name": "Get Dynamic Resource", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}], "doc": "<p>Returns a dynamic resource based on the provided api version and kind.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n</ul>", "shortdoc": "Returns a dynamic resource based on the provided api version and kind.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 127}, {"name": "Get Endpoints In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_endpoints.</p>\n<p>Gets endpoint details in given namespace.</p>\n<p>Returns Endpoint object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Match</td>\n<td>${endpoint_details.subsets[0].addresses[0].target_ref.name}</td>\n<td>pod-name-123456</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of endpoint.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_endpoints.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1034}, {"name": "Get Healthcheck", "args": [{"name": "endpoint", "types": [], "defaultValue": "/readyz", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "endpoint=/readyz"}, {"name": "verbose", "types": [], "defaultValue": "False", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "verbose=False"}], "doc": "<p>Performs GET on /readyz or /livez for simple health check.</p>\n<p>Can be used to verify the readiness/current status of the API server Returns tuple of (response data, response status and response headers)</p>\n<ul>\n<li><code>endpoint</code>: /readyz, /livez or induvidual endpoints like '/livez/etcd'. defaults to /readyz</li>\n<li><code>verbose</code>: More detailed output.</li>\n</ul>\n<p><a href=\"https://kubernetes.io/docs/reference/using-api/health-checks\">https://kubernetes.io/docs/reference/using-api/health-checks</a></p>", "shortdoc": "Performs GET on /readyz or /livez for simple health check.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1179}, {"name": "Get Healthy Nodes Count", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Counts node with KubeletReady and status True.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Can be used to check number of healthy nodes. Can be used as prerequisite in tests.</p>", "shortdoc": "Counts node with KubeletReady and status True.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 313}, {"name": "Get Hpa Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.</p>\n<p>Gets Horizontal Pod Autoscaler details in given namespace.</p>\n<p>Returns Horizontal Pod Autoscaler object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${hpa_details.spec.target_cpu_utilization_percentage}</td>\n<td>50</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of Horizontal Pod Autoscaler</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1002}, {"name": "Get Hpas In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.</p>\n<p>Gets Horizontal Pod Autoscalers in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_horizontal_pod_autoscaler.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 972}, {"name": "Get Ingress Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_ingress.</p>\n<p>Gets ingress details in given namespace.</p>\n<p>Returns Ingress object representation. Name of ingress.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_ingress.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1245}, {"name": "Get Ingresses In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_ingress.</p>\n<p>Gets ingresses in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_ingress.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1221}, {"name": "Get Jobs In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_job_by_pattern. Gets jobs matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of jobs.</p>\n<ul>\n<li><code>name_pattern</code>: job name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_job_by_pattern. Gets jobs matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 568}, {"name": "Get Kubelet Version", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets list of kubelet versions on each node.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>", "shortdoc": "Gets list of kubelet versions on each node.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1111}, {"name": "Get Namespaced Custom Object", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}, {"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}], "doc": "<p>Get custom object in namespace.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>namespace</code>: Namespace, e.g. 'default'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n<li><code>name</code>: e.g. 'my-network'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "Get custom object in namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1512}, {"name": "Get Namespaced Pod Exec", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "argv_cmd", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "argv_cmd"}, {"name": "container", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "container=None"}], "doc": "<p>Exec command on selected container for POD.</p>\n<p>Returns command stdout/stderr</p>\n<ul>\n<li><code>name</code>: pod name</li>\n<li><code>namespace</code>: namespace to check</li>\n<li><code>argv_cmd</code>: command to be executed using argv syntax: [\"/bin/sh\", \"-c\", \"ls\"] it do not use shell as default!</li>\n<li><code>container</code>: container on which we run exec, default: None</li>\n</ul>", "shortdoc": "Exec command on selected container for POD.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 621}, {"name": "Get Namespaces", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespace. Gets a list of available namespaces.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of namespaces names.</p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespace. Gets a list of available namespaces.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 303}, {"name": "Get Pod Logs", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "container", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "container"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_pod_log. Gets container logs of given pod in given namespace.</p>\n<p>Returns logs.</p>\n<ul>\n<li><code>name</code>: Pod name to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n<li><code>container</code>: Container to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_pod_log. Gets container logs of given pod in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 395}, {"name": "Get Pod Names In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pod name matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>name_pattern</code>: Pod name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pod name matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 328}, {"name": "Get Pod Status In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_pod_status.</p>\n<ul>\n<li><code>name</code>: Name of pod.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_pod_status.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 806}, {"name": "Get Pods In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pods matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of pods.</p>\n<ul>\n<li><code>name_pattern</code>: Pod name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_pod_by_pattern. Gets pods matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 362}, {"name": "Get Pvc Capacity", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_persistent_volume_claim.</p>\n<p>Gets PVC details in given namespace.</p>\n<p>Returns PVC object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As strings</td>\n<td>${pvc.status.capacity.storage}</td>\n<td>1Gi</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of PVC.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_persistent_volume_claim.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1094}, {"name": "Get Pvc In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_persistent_volume_claim.</p>\n<p>Gets pvcs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_persistent_volume_claim.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1064}, {"name": "Get Replicasets In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_replica_set_by_pattern. Gets replicasets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of  replicasets.</p>\n<ul>\n<li><code>name_pattern</code>: replicaset name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_replica_set_by_pattern. Gets replicasets matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 533}, {"name": "Get Role Bindings In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_role_binding.</p>\n<p>Gets role_bindings in given namespace.</p>\n<p>Returns list of role_bindings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_role_binding.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1441}, {"name": "Get Roles In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_role.</p>\n<p>Gets roles in given namespace.</p>\n<p>Returns list of roles.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_role.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1417}, {"name": "Get Secrets In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_secret_by_pattern. Gets secrets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of secrets.</p>\n<ul>\n<li><code>name_pattern</code>: secret name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_secret_by_pattern. Gets secrets matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 603}, {"name": "Get Service Accounts In Namespace", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_service_account_by_pattern. Gets service accounts matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of service accounts.</p>\n<ul>\n<li><code>name_pattern</code>: Service Account name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_service_account_by_pattern. Gets service accounts matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 463}, {"name": "Get Service Details In Namespace", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use read_namespaced_service.</p>\n<p>Gets service details in given namespace.</p>\n<p>Returns Service object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${service_details.spec.ports[0].port}</td>\n<td>8080</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of service.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use read_namespaced_service.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 942}, {"name": "Get Services In Namespace", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_namespaced_service.</p>\n<p>Gets services in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_namespaced_service.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 912}, {"name": "K8s Api Ping", "args": [], "doc": "<p>Performs GET on /api/v1/ for simple check of API availability.</p>\n<p>Returns tuple of (response data, response status, response headers). Can be used as prerequisite in tests.</p>", "shortdoc": "Performs GET on /api/v1/ for simple check of API availability.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 274}, {"name": "List Cluster Custom Object", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}], "doc": "<p>Lists cluster level custom objects.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/{plural}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "Lists cluster level custom objects.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1454}, {"name": "List Cluster Custom Objects", "args": [{"name": "group", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "group"}, {"name": "version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "version"}, {"name": "plural", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "plural"}], "doc": "<p><b>DEPRECATED</b> Will be removed in v1.0.0. Use list_cluster_custom_object.</p>\n<p>Lists cluster level custom objects.</p>\n<p>Returns an object.</p>\n<ul>\n<li><code>group</code>: API Group, e.g. 'k8s.cni.cncf.io'</li>\n<li><code>version</code>: API version, e.g. 'v1'</li>\n<li><code>plural</code>: e.g. 'network-attachment-definitions'</li>\n</ul>\n<p>As in <code>GET /apis/{group}/{version}/{plural}</code></p>\n<p><a href=\"https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md\">https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md</a></p>", "shortdoc": "*DEPRECATED* Will be removed in v1.0.0. Use list_cluster_custom_object.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1472}, {"name": "List Cluster Role", "args": [], "doc": "<p>Gets a list of cluster_roles.</p>\n<p>Returns list of cluster_roles.</p>", "shortdoc": "Gets a list of cluster_roles.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1370}, {"name": "List Cluster Role Binding", "args": [], "doc": "<p>Gets a list of cluster_role_bindings.</p>\n<p>Returns list of cluster_role_bindings.</p>", "shortdoc": "Gets a list of cluster_role_bindings.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1388}, {"name": "List Namespace", "args": [{"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists available namespaces.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of namespaces.</p>", "shortdoc": "Lists available namespaces.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 293}, {"name": "List Namespaced Config Map By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists configmaps matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of configmaps.</p>\n<ul>\n<li><code>name_pattern</code>: configmap name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists configmaps matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 411}, {"name": "List Namespaced Cron Job", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets cron jobs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets cron jobs in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1258}, {"name": "List Namespaced Daemon Set", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets a list of available daemonsets.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deaemonsets.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets a list of available daemonsets.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1314}, {"name": "List Namespaced Deployment By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets deployments matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of deployments.</p>\n<ul>\n<li><code>name_pattern</code>: deployment name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets deployments matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 481}, {"name": "List Namespaced Horizontal Pod Autoscaler", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets Horizontal Pod Autoscalers in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets Horizontal Pod Autoscalers in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 959}, {"name": "List Namespaced Ingress", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets ingresses in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets ingresses in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1210}, {"name": "List Namespaced Job By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets jobs matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of jobs.</p>\n<ul>\n<li><code>name_pattern</code>: job name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets jobs matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 551}, {"name": "List Namespaced Persistent Volume Claim", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets pvcs in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets pvcs in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1051}, {"name": "List Namespaced Pod By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>List pods matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of pods.</p>\n<ul>\n<li><code>name_pattern</code>: Pod name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "List pods matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 345}, {"name": "List Namespaced Replica Set By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists replicasets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of  replicasets.</p>\n<ul>\n<li><code>name_pattern</code>: replicaset name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists replicasets matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 516}, {"name": "List Namespaced Role", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets roles in given namespace.</p>\n<p>Returns list of roles.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets roles in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1406}, {"name": "List Namespaced Role Binding", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets role_bindings in given namespace.</p>\n<p>Returns list of role_bindings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets role_bindings in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1430}, {"name": "List Namespaced Secret By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists secrets matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of secrets.</p>\n<ul>\n<li><code>name_pattern</code>: secret name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists secrets matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 586}, {"name": "List Namespaced Service", "args": [{"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Gets services in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of strings.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets services in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 899}, {"name": "List Namespaced Service Account By Pattern", "args": [{"name": "name_pattern", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name_pattern"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "label_selector", "types": [], "defaultValue": "", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "label_selector="}], "doc": "<p>Lists service accounts matching pattern in given namespace.</p>\n<p>Can be optionally filtered by label. e.g. label_selector=label_key=label_value</p>\n<p>Returns list of service accounts.</p>\n<ul>\n<li><code>name_pattern</code>: Service Account name pattern to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Lists service accounts matching pattern in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 446}, {"name": "Patch", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Patches resource instances based on the provided parameters.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Patches resource instances based on the provided parameters.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 186}, {"name": "Read Namespaced Cron Job", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets cron job details in given namespace.</p>\n<p>Returns Cron job object representation.</p>\n<ul>\n<li><code>name</code>: Name of cron job.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets cron job details in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1286}, {"name": "Read Namespaced Daemon Set", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets deamonset details in given namespace.</p>\n<p>Returns daemonset object representation.</p>\n<ul>\n<li><code>name</code>: Name of the daemonset</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets deamonset details in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1342}, {"name": "Read Namespaced Endpoints", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets endpoint details in given namespace.</p>\n<p>Returns Endpoint object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Match</td>\n<td>${endpoint_details.subsets[0].addresses[0].target_ref.name}</td>\n<td>pod-name-123456</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of endpoint.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets endpoint details in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1019}, {"name": "Read Namespaced Horizontal Pod Autoscaler", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets Horizontal Pod Autoscaler details in given namespace.</p>\n<p>Returns Horizontal Pod Autoscaler object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${hpa_details.spec.target_cpu_utilization_percentage}</td>\n<td>50</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of Horizontal Pod Autoscaler</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets Horizontal Pod Autoscaler details in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 987}, {"name": "Read Namespaced Ingress", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets ingress details in given namespace.</p>\n<p>Returns Ingress object representation. Name of ingress.</p>\n<ul>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets ingress details in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1234}, {"name": "Read Namespaced Persistent Volume Claim", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets PVC details in given namespace.</p>\n<p>Returns PVC object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As strings</td>\n<td>${pvc.status.capacity.storage}</td>\n<td>1Gi</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of PVC.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets PVC details in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 1079}, {"name": "Read Namespaced Pod Log", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}, {"name": "container", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "container"}], "doc": "<p>Gets container logs of given pod in given namespace.</p>\n<p>Returns logs.</p>\n<ul>\n<li><code>name</code>: Pod name to check</li>\n<li><code>namespace</code>: Namespace to check</li>\n<li><code>container</code>: Container to check</li>\n</ul>", "shortdoc": "Gets container logs of given pod in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 380}, {"name": "Read Namespaced Pod Status", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Reads pod status in given namespace.</p>\n<ul>\n<li><code>name</code>: Name of pod.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Reads pod status in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 795}, {"name": "Read Namespaced Service", "args": [{"name": "name", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "name"}, {"name": "namespace", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "namespace"}], "doc": "<p>Gets service details in given namespace.</p>\n<p>Returns Service object representation. Can be accessed using</p>\n<table border=\"1\">\n<tr>\n<td>Should Be Equal As integers</td>\n<td>${service_details.spec.ports[0].port}</td>\n<td>8080</td>\n</tr>\n</table>\n<ul>\n<li><code>name</code>: Name of service.</li>\n<li><code>namespace</code>: Namespace to check</li>\n</ul>", "shortdoc": "Gets service details in given namespace.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 927}, {"name": "Reload Config", "args": [{"name": "kube_config", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "kube_config=None"}, {"name": "context", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "context=None"}, {"name": "api_url", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "api_url=None"}, {"name": "bearer_token", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "bearer_token=None"}, {"name": "ca_cert", "types": [], "defaultValue": "None", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "ca_cert=None"}, {"name": "incluster", "types": [], "defaultValue": "False", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "incluster=False"}, {"name": "cert_validation", "types": [], "defaultValue": "True", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "cert_validation=True"}], "doc": "<p>Reload the KubeLibrary to be configured with different optional arguments. This can be used to connect to a different cluster during the same test.</p>\n<ul>\n<li><code>kube_config</code>: Path pointing to kubeconfig of target Kubernetes cluster.</li>\n<li><code>context</code>: Active context. If None current_context from kubeconfig is used.</li>\n<li><code>api_url</code>: K8s API url, used for bearer token authenticaiton.</li>\n<li><code>bearer_token</code>: Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix.</li>\n<li><code>ca_cert</code>: Optional CA certificate file path, used for bearer token authenticaiton.</li>\n<li><code>incuster</code>: Default False. Indicates if used from within k8s cluster. Overrides kubeconfig.</li>\n<li><code>cert_validation</code>: Default True. Can be set to False for self-signed certificates.</li>\n</ul>", "shortdoc": "Reload the KubeLibrary to be configured with different optional arguments.    This can be used to connect to a different cluster during the same test. - ``kube_config``:   Path pointing to kubeconfig of target Kubernetes cluster. - ``context``:   Active context. If None current_context from kubeconfig is used. - ``api_url``:   K8s API url, used for bearer token authenticaiton. - ``bearer_token``:   Bearer token, used for bearer token authenticaiton. Do not include 'Bearer ' prefix. - ``ca_cert``:   Optional CA certificate file path, used for bearer token authenticaiton. - ``incuster``:   Default False. Indicates if used from within k8s cluster. Overrides kubeconfig. - ``cert_validation``:   Default True. Can be set to False for self-signed certificates.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 216}, {"name": "Replace", "args": [{"name": "api_version", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "api_version"}, {"name": "kind", "types": [], "defaultValue": null, "kind": "POSITIONAL_OR_NAMED", "required": true, "repr": "kind"}, {"name": "kwargs", "types": [], "defaultValue": null, "kind": "VAR_NAMED", "required": false, "repr": "**kwargs"}], "doc": "<p>Replaces resource instances based on the provided parameters.</p>\n<p>Can be optionally given a <code>namespace</code>, <code>name</code>, <code>label_selector</code>, <code>body</code> and <code>field_selector</code>.</p>\n<ul>\n<li><code>api_version</code>: Api version of the desired kubernetes resource</li>\n<li><code>kind</code>: Kind of the desired kubernetes resource</li>\n<li><code>**kwargs</code>: Keyword arguments for argument forwarding</li>\n</ul>", "shortdoc": "Replaces resource instances based on the provided parameters.", "tags": [], "source": "/Users/Marcin/virtualenvs/kubelibrary/lib/python3.7/site-packages/robotframework_kubelibrary-0.6.2-py3.7.egg/KubeLibrary/KubeLibrary.py", "lineno": 201}], "dataTypes": {"enums": [], "typedDicts": []}}
 </script>
 <title></title>
 </head>
diff --git a/requirements.txt b/requirements.txt
index 4d8d3177..a1482db5 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
 google-auth==1.21.3
-kubernetes>=10.0.1,<=21.7.0
+kubernetes>=21.7.0
 robotframework>=3.2.2
 urllib3-mock>=0.3.3
diff --git a/src/KubeLibrary/KubeLibrary.py b/src/KubeLibrary/KubeLibrary.py
index ca53d9cf..bf5e0216 100755
--- a/src/KubeLibrary/KubeLibrary.py
+++ b/src/KubeLibrary/KubeLibrary.py
@@ -3,8 +3,8 @@
 import ssl
 import urllib3
 
-from kubernetes import client, config, dynamic
 from os import environ
+from kubernetes import client, config, dynamic, stream
 from robot.api import logger
 from robot.api.deco import library
 from string import digits, ascii_lowercase
@@ -257,7 +257,7 @@ def reload_config(self, kube_config=None, context=None, api_url=None, bearer_tok
         if not self.api_client:
             self.api_client = client.ApiClient(configuration=client.Configuration().get_default_copy())
         self._add_api('v1', client.CoreV1Api)
-        self._add_api('extensionsv1beta1', client.ExtensionsV1beta1Api)
+        self._add_api('networkingv1api', client.NetworkingV1Api)
         self._add_api('batchv1', client.BatchV1Api)
         self._add_api('appsv1', client.AppsV1Api)
         self._add_api('batchv1_beta1', client.BatchV1beta1Api)
@@ -618,6 +618,45 @@ def get_secrets_in_namespace(self, name_pattern, namespace, label_selector=""):
         secrets = [item for item in ret.items if r.match(item.metadata.name)]
         return secrets
 
+    def get_namespaced_pod_exec(self, name, namespace, argv_cmd, container=None):
+        """Exec command on selected container for POD.
+
+        Returns command stdout/stderr
+
+        - ``name``:
+          pod name
+        - ``namespace``:
+          namespace to check
+        - ``argv_cmd``:
+          command to be executed using argv syntax: ["/bin/sh", "-c", "ls"]
+          it do not use shell as default!
+        - ``container``:
+          container on which we run exec, default: None
+        """
+        if not isinstance(argv_cmd, list) or not len(argv_cmd):
+            raise TypeError(
+                f"argv_cmd parameter should be a list and contains values like [\"/bin/bash\", \"-c\", \"ls\"] "
+                f"not {argv_cmd}")
+        if not container:
+            return stream.stream(self.v1.connect_get_namespaced_pod_exec,
+                                 name,
+                                 namespace,
+                                 command=argv_cmd,
+                                 stderr=True,
+                                 stdin=True,
+                                 stdout=True,
+                                 tty=False).strip()
+        else:
+            return stream.stream(self.v1.connect_get_namespaced_pod_exec,
+                                 name,
+                                 namespace,
+                                 container=container,
+                                 command=argv_cmd,
+                                 stderr=True,
+                                 stdin=True,
+                                 stdout=True,
+                                 tty=False).strip()
+
     def filter_names(self, objects):
         """Filter .metadata.name for list of k8s objects.
 
@@ -1176,7 +1215,7 @@ def list_namespaced_ingress(self, namespace, label_selector=""):
         - ``namespace``:
           Namespace to check
         """
-        ret = self.extensionsv1beta1.list_namespaced_ingress(namespace, watch=False, label_selector=label_selector)
+        ret = self.networkingv1api.list_namespaced_ingress(namespace, watch=False, label_selector=label_selector)
         return [item for item in ret.items]
 
     def get_ingresses_in_namespace(self, namespace, label_selector=""):
@@ -1189,7 +1228,7 @@ def get_ingresses_in_namespace(self, namespace, label_selector=""):
         - ``namespace``:
           Namespace to check
         """
-        ret = self.extensionsv1beta1.list_namespaced_ingress(namespace, watch=False, label_selector=label_selector)
+        ret = self.networkingv1api.list_namespaced_ingress(namespace, watch=False, label_selector=label_selector)
         return [item.metadata.name for item in ret.items]
 
     def read_namespaced_ingress(self, name, namespace):
@@ -1200,7 +1239,7 @@ def read_namespaced_ingress(self, name, namespace):
         - ``namespace``:
           Namespace to check
         """
-        ret = self.extensionsv1beta1.read_namespaced_ingress(name, namespace)
+        ret = self.networkingv1api.read_namespaced_ingress(name, namespace)
         return ret
 
     def get_ingress_details_in_namespace(self, name, namespace):
@@ -1213,7 +1252,7 @@ def get_ingress_details_in_namespace(self, name, namespace):
         - ``namespace``:
           Namespace to check
         """
-        ret = self.extensionsv1beta1.read_namespaced_ingress(name, namespace)
+        ret = self.networkingv1api.read_namespaced_ingress(name, namespace)
         return ret
 
     def list_namespaced_cron_job(self, namespace, label_selector=""):


Test patch:
diff --git a/test/test_KubeLibrary.py b/test/test_KubeLibrary.py
index 780fe29c..19578c66 100644
--- a/test/test_KubeLibrary.py
+++ b/test/test_KubeLibrary.py
@@ -262,7 +262,7 @@ def mock_list_namespaced_role_bindings(namespace, watch=False):
 
 class TestKubeLibrary(unittest.TestCase):
 
-    apis = ('v1', 'extensionsv1beta1', 'batchv1', 'appsv1', 'batchv1_beta1',
+    apis = ('v1', 'networkingv1api', 'batchv1', 'appsv1', 'batchv1_beta1',
             'custom_object', 'rbac_authv1_api', 'autoscalingv1', 'dynamic')
 
     @responses.activate
@@ -577,6 +577,44 @@ def test_list_namespaced_secret_by_pattern(self, mock_lnp):
         self.assertEqual(kl.filter_names(secrets), kl.filter_names(secrets2))
         self.assertEqual(['grafana'], kl.filter_names(secrets))
 
+    @mock.patch('kubernetes.stream.stream')
+    def test_get_namespaced_exec_without_container(self, mock_stream):
+        test_string = "This is test String!"
+        mock_stream.return_value = test_string
+        kl = KubeLibrary(kube_config='test/resources/k3d')
+        stdout = kl.get_namespaced_pod_exec(name="pod_name",
+                                            namespace="default",
+                                            argv_cmd=["/bin/bash", "-c", f"echo {test_string}"])
+        self.assertFalse("container" in mock_stream.call_args.kwargs.keys())
+        self.assertEqual(stdout, test_string)
+
+    @mock.patch('kubernetes.stream.stream')
+    def test_get_namespaced_exec_with_container(self, mock_stream):
+        test_string = "This is test String!"
+        mock_stream.return_value = test_string
+        kl = KubeLibrary(kube_config='test/resources/k3d')
+        stdout = kl.get_namespaced_pod_exec(name="pod_name",
+                                            namespace="default",
+                                            container="manager",
+                                            argv_cmd=["/bin/bash", "-c", f"echo {test_string}"])
+        self.assertTrue("container" in mock_stream.call_args.kwargs.keys())
+        self.assertTrue("manager" in mock_stream.call_args.kwargs.values())
+        self.assertEqual(stdout, test_string)
+
+    @mock.patch('kubernetes.stream.stream')
+    def test_get_namespaced_exec_not_argv_and_list(self, mock_stream):
+        test_string = "This is test String!"
+        ex = f"argv_cmd parameter should be a list and contains values like " \
+             f"[\"/bin/bash\", \"-c\", \"ls\"] not echo {test_string}"
+        mock_stream.return_value = test_string
+        kl = KubeLibrary(kube_config='test/resources/k3d')
+        with self.assertRaises(TypeError) as cm:
+            kl.get_namespaced_pod_exec(name="pod_name",
+                                       namespace="default",
+                                       container="manager",
+                                       argv_cmd=f"echo {test_string}")
+        self.assertEqual(str(cm.exception), ex)
+
     @mock.patch('kubernetes.client.RbacAuthorizationV1Api.list_cluster_role')
     def test_list_cluster_role(self, mock_lnp):
         mock_lnp.side_effect = mock_list_cluster_roles
@@ -656,7 +694,7 @@ def test_list_namespaced_daemon_set(self, mock_lnp):
         self.assertEqual(kl.filter_names(daemonsets), daemonsets2)
         self.assertEqual(['fluentd-elasticsearch'], kl.filter_names(daemonsets))
 
-    @mock.patch('kubernetes.client.ExtensionsV1beta1Api.list_namespaced_ingress')
+    @mock.patch('kubernetes.client.NetworkingV1Api.list_namespaced_ingress')
     def test_list_namespaced_ingress(self, mock_lnp):
         mock_lnp.side_effect = mock_list_namespaced_ingresses
         kl = KubeLibrary(kube_config='test/resources/k3d')
@@ -728,7 +766,7 @@ def test_read_namespaced_service(self, mock_lnp):
         self.assertEqual(service_details.items.metadata.labels.Test, service_details2.items.metadata.labels.Test)
         self.assertEqual('mytest', service_details.items.metadata.labels.Test)
 
-    @mock.patch('kubernetes.client.ExtensionsV1beta1Api.read_namespaced_ingress')
+    @mock.patch('kubernetes.client.NetworkingV1Api.read_namespaced_ingress')
     def test_read_namespaced_ingress(self, mock_lnp):
         mock_lnp.side_effect = mock_read_ingress_details_in_namespace
         kl = KubeLibrary(kube_config='test/resources/k3d')
diff --git a/testcases/exec/exec.robot b/testcases/exec/exec.robot
new file mode 100644
index 00000000..eb33ee21
--- /dev/null
+++ b/testcases/exec/exec.robot
@@ -0,0 +1,43 @@
+*** Settings ***
+Resource      ./exec_kw.robot
+Force Tags    exec    other    prerelease
+
+*** Variables ***
+${string}            Hello
+${CONTAINER_NAME}    lb-port-3000
+
+*** Test Cases ***
+Exec test case example
+    ${command}    Create List    /bin/sh    -c    echo ${string}
+    Set Pod Name For Namespace
+    ${stdout}    Get Namespaced Pod Exec    name=${POD_NAME}
+    ...                                     namespace=${namespace}
+    ...                                     argv_cmd=${command}
+    Should Be Equal    ${stdout}   ${string}
+    ...    msg=Stdout should be ${string} not ${stdout}!
+
+Exec multiple commands
+    ${command}    Create List    /bin/sh    -c    echo 1 && echo 2 && echo 3
+    Set Pod Name For Namespace
+    ${stdout}    Get Namespaced Pod Exec    name=${POD_NAME}
+    ...                                     namespace=${namespace}
+    ...                                     argv_cmd=${command}
+    Should Be Equal    ${stdout}   1\n2\n3
+    ...    msg=Stdout should be ${string} not ${stdout}!
+
+Exec command for specific container
+    ${command}    Create List    /bin/sh    -c    echo ${string}
+    Set Pod Name For Namespace
+    ${stdout}    Get Namespaced Pod Exec    name=${POD_NAME}
+    ...                                     namespace=${namespace}
+    ...                                     argv_cmd=${command}
+    ...                                     container=${CONTAINER_NAME}
+    Should Be Equal    ${stdout}   ${string}
+    ...    msg=Stdout should be ${string} not ${stdout}!
+
+Exec wrong command syntax
+    Set Pod Name For Namespace
+    Run Keyword And Expect Error    STARTS: TypeError:
+    ...    Get Namespaced Pod Exec    name=${POD_NAME}
+    ...                               namespace=${namespace}
+    ...                               argv_cmd=echo ${string}
diff --git a/testcases/exec/exec_kw.robot b/testcases/exec/exec_kw.robot
new file mode 100644
index 00000000..4f864112
--- /dev/null
+++ b/testcases/exec/exec_kw.robot
@@ -0,0 +1,17 @@
+*** Settings ***
+# For regular execution
+Library    KubeLibrary
+# For incluster execution
+#Library    KubeLibrary    None    True    False
+# For development
+#Library    ../../src/KubeLibrary/KubeLibrary.py  ~/.kube/k3d
+
+*** Variables ***
+${namespace}    default
+${POD_NAME}
+
+*** Keywords ***
+Set Pod Name For namespace
+    ${namespace_pods}    List Namespaced POD By Pattern    .*    ${namespace}
+    ${namespace_pods_names}    Filter Names    ${namespace_pods}
+    Set Test Variable    ${POD_NAME}    ${namespace_pods_names}[0]