Skip to main content

OpenShift CLI (oc) thin wrapper library for Python3

Project description

This oc library is a thin wrapper around the OpenShift CLI oc.


` >>> import oc >>> oc.login('', 'mytoken') >>> oc.set_project('myproject') >>> oc.exec('mypod', 'curl -I http://localhost:8080') >>> logs = oc.logs('mypod', since='1m') `


` $ pip install oc `


` $ 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.

Files for oc, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size oc-0.2.1-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size oc-0.2.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page