Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Commit

Permalink
containermgr: Added openshift which is an alias to kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcrow authored and mbarnes committed Feb 22, 2017
1 parent 2c9e121 commit 3859ad7
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/apidoc/commissaire.containermgr.openshift.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
commissaire.containermgr.openshift package
==========================================

Module contents
---------------

.. automodule:: commissaire.containermgr.openshift
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions doc/apidoc/commissaire.containermgr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Subpackages
.. toctree::

commissaire.containermgr.kubernetes
commissaire.containermgr.openshift

Module contents
---------------
Expand Down
33 changes: 33 additions & 0 deletions src/commissaire/containermgr/openshift/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright (C) 2016 Red Hat, Inc
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
The OpenShift container manager package.
"""

from commissaire.containermgr.kubernetes import KubeContainerManager


class OpenShiftContainerManager(KubeContainerManager):
"""
OpenShift container manager implementation.
... note::
This class is currently the same as KubeContainerManager.
"""
pass


#: Alias to load the class as a plugin
PluginClass = OpenShiftContainerManager

0 comments on commit 3859ad7

Please sign in to comment.