diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-02-17 15:11:51 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-02-20 16:13:40 -0500 |
commit | 35583f57c71db5b181d0eaefc0bfc620c3790535 (patch) | |
tree | c86e81b33792c3322c49145923e0f82491e80052 /roles/lib_openshift/library/oc_scale.py | |
parent | 89ef5753535918a17a16c22c7bca56054229514f (diff) | |
download | openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.tar.gz openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.tar.bz2 openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.tar.xz openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.zip |
Renamed modules, fixed docs, renamed variables, and cleaned up logic.
Diffstat (limited to 'roles/lib_openshift/library/oc_scale.py')
-rw-r--r-- | roles/lib_openshift/library/oc_scale.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/roles/lib_openshift/library/oc_scale.py b/roles/lib_openshift/library/oc_scale.py index a37b2aba0..c73e96e10 100644 --- a/roles/lib_openshift/library/oc_scale.py +++ b/roles/lib_openshift/library/oc_scale.py @@ -1296,7 +1296,7 @@ class OpenShiftCLIConfig(object): # pylint: disable=too-many-public-methods class DeploymentConfig(Yedit): - ''' Class to wrap the oc command line tools ''' + ''' Class to model an openshift DeploymentConfig''' default_deployment_config = ''' apiVersion: v1 kind: DeploymentConfig @@ -1637,7 +1637,12 @@ spec: # pylint: disable=too-many-public-methods class ReplicationController(DeploymentConfig): - ''' Class to wrap the oc command line tools ''' + ''' Class to model a replicationcontroller openshift object. + + Currently we are modeled after a deployment config since they + are very similar. In the future, when the need arises we + will add functionality to this class. + ''' replicas_path = "spec.replicas" env_path = "spec.template.spec.containers[0].env" volumes_path = "spec.template.spec.volumes" |