OpenShift CLI (oc) thin wrapper library for Python3
Project description
This oc library is a thin wrapper around the OpenShift CLI oc.
Usage
` >>> import oc >>> oc.login('https://...openshift.com', 'mytoken') >>> oc.set_project('myproject') >>> oc.exec('mypod', 'curl -I http://localhost:8080') >>> logs = oc.logs('mypod', since='1m') `
Installation
` $ pip install oc `
Documentation
` $ pydoc oc.api `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oc-0.2.1.tar.gz
(6.3 kB
view hashes)
Built Distribution
oc-0.2.1-py3-none-any.whl
(6.8 kB
view hashes)