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.

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.

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
Filename, size oc-0.2.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page