Adding support of python-k8client.
Change-Id: I793afa000f1173d7bd19da18d6204879f556f5d2 Partially-Implements: blueprint python-k8sclient
This commit is contained in:
		
							
								
								
									
										35
									
								
								magnum/common/pythonk8sclient/README.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								magnum/common/pythonk8sclient/README.rst
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
			
		||||
==========================
 | 
			
		||||
Kubernetes API client code
 | 
			
		||||
==========================
 | 
			
		||||
 | 
			
		||||
Overview
 | 
			
		||||
--------
 | 
			
		||||
 | 
			
		||||
This is Kubernetes API python client code. This code is generated by
 | 
			
		||||
swagger-codegen. Kubernetes provide swagger-spec to generate client code
 | 
			
		||||
for different versions. The specs live in Kubernetes repo.
 | 
			
		||||
 | 
			
		||||
See also
 | 
			
		||||
--------
 | 
			
		||||
 | 
			
		||||
* swagger-codegen: https://github.com/swagger-api/swagger-codegen
 | 
			
		||||
* Kubernetes swagger-spec: https://github.com/GoogleCloudPlatform/kubernetes/tree/master/api/swagger-spec
 | 
			
		||||
 | 
			
		||||
Steps to generate API client code
 | 
			
		||||
---------------------------------
 | 
			
		||||
 | 
			
		||||
Steps to generate Kubernetes client code for v1beta3:
 | 
			
		||||
 | 
			
		||||
* Clone the Kubernetes repo.
 | 
			
		||||
 | 
			
		||||
  git clone https://github.com/GoogleCloudPlatform/kubernetes.git
 | 
			
		||||
 | 
			
		||||
* Clone the swagger-codegen repo.
 | 
			
		||||
 | 
			
		||||
  git clone https://github.com/swagger-api/swagger-codegen.git
 | 
			
		||||
 | 
			
		||||
* Run below command to generate the API client code for Kubernetes.
 | 
			
		||||
 | 
			
		||||
  java -jar ./swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i ./kubernetes/api/swagger-spec/v1beta3.json -l python -o ./KubernetesClientCode
 | 
			
		||||
 | 
			
		||||
Now you can check the code at location ./KubernetesClientCode.
 | 
			
		||||
							
								
								
									
										0
									
								
								magnum/common/pythonk8sclient/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								magnum/common/pythonk8sclient/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										11298
									
								
								magnum/common/pythonk8sclient/client/ApivbetaApi.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11298
									
								
								magnum/common/pythonk8sclient/client/ApivbetaApi.py
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										9
									
								
								magnum/common/pythonk8sclient/client/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								magnum/common/pythonk8sclient/client/__init__.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""Add all of the modules in the current directory to __all__"""
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
__all__ = []
 | 
			
		||||
 | 
			
		||||
for module in os.listdir(os.path.dirname(__file__)):
 | 
			
		||||
  if module != '__init__.py' and module[-3:] == '.py':
 | 
			
		||||
    __all__.append(module[:-3])
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class Json_WatchEvent(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'object': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'type': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'object': 'object',
 | 
			
		||||
            
 | 
			
		||||
            'type': 'type'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #the object being watched; will match the type of the resource endpoint or be a Status object if the type is ERROR
 | 
			
		||||
        
 | 
			
		||||
        self.object = None # str
 | 
			
		||||
        
 | 
			
		||||
        #the type of watch event; may be ADDED, MODIFIED, DELETED, or ERROR
 | 
			
		||||
        
 | 
			
		||||
        self.type = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,37 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_AccessModeType(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										153
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Binding.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										153
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Binding.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,153 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Binding(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'target': 'v1beta3_ObjectReference',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'target': 'target',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an object to bind to
 | 
			
		||||
        
 | 
			
		||||
        self.target = None # v1beta3_ObjectReference
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Capabilities(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'add': 'list[v1beta3_CapabilityType]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'drop': 'list[v1beta3_CapabilityType]'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'add': 'add',
 | 
			
		||||
            
 | 
			
		||||
            'drop': 'drop'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #added capabilities
 | 
			
		||||
        
 | 
			
		||||
        self.add = None # list[v1beta3_CapabilityType]
 | 
			
		||||
        
 | 
			
		||||
        #droped capabilities
 | 
			
		||||
        
 | 
			
		||||
        self.drop = None # list[v1beta3_CapabilityType]
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,37 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_CapabilityType(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										180
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Container.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										180
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Container.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,180 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Container(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'args': 'list[str]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'capabilities': 'v1beta3_Capabilities',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'command': 'list[str]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'env': 'list[v1beta3_EnvVar]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'image': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'imagePullPolicy': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'lifecycle': 'v1beta3_Lifecycle',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'livenessProbe': 'v1beta3_Probe',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'ports': 'list[v1beta3_ContainerPort]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'privileged': 'bool',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'readinessProbe': 'v1beta3_Probe',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resources': 'v1beta3_ResourceRequirements',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'terminationMessagePath': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'volumeMounts': 'list[v1beta3_VolumeMount]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'workingDir': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'args': 'args',
 | 
			
		||||
            
 | 
			
		||||
            'capabilities': 'capabilities',
 | 
			
		||||
            
 | 
			
		||||
            'command': 'command',
 | 
			
		||||
            
 | 
			
		||||
            'env': 'env',
 | 
			
		||||
            
 | 
			
		||||
            'image': 'image',
 | 
			
		||||
            
 | 
			
		||||
            'imagePullPolicy': 'imagePullPolicy',
 | 
			
		||||
            
 | 
			
		||||
            'lifecycle': 'lifecycle',
 | 
			
		||||
            
 | 
			
		||||
            'livenessProbe': 'livenessProbe',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'ports': 'ports',
 | 
			
		||||
            
 | 
			
		||||
            'privileged': 'privileged',
 | 
			
		||||
            
 | 
			
		||||
            'readinessProbe': 'readinessProbe',
 | 
			
		||||
            
 | 
			
		||||
            'resources': 'resources',
 | 
			
		||||
            
 | 
			
		||||
            'terminationMessagePath': 'terminationMessagePath',
 | 
			
		||||
            
 | 
			
		||||
            'volumeMounts': 'volumeMounts',
 | 
			
		||||
            
 | 
			
		||||
            'workingDir': 'workingDir'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #command array; the docker image's cmd is used if this is not provided; arguments to the entrypoint; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.args = None # list[str]
 | 
			
		||||
        
 | 
			
		||||
        #capabilities for container; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.capabilities = None # v1beta3_Capabilities
 | 
			
		||||
        
 | 
			
		||||
        #entrypoint array; not executed within a shell; the docker image's entrypoint is used if this is not provided; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.command = None # list[str]
 | 
			
		||||
        
 | 
			
		||||
        #list of environment variables to set in the container; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.env = None # list[v1beta3_EnvVar]
 | 
			
		||||
        
 | 
			
		||||
        #Docker image name
 | 
			
		||||
        
 | 
			
		||||
        self.image = None # str
 | 
			
		||||
        
 | 
			
		||||
        #image pull policy; one of PullAlways, PullNever, PullIfNotPresent; defaults to PullAlways if :latest tag is specified, or PullIfNotPresent otherwise; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.imagePullPolicy = None # str
 | 
			
		||||
        
 | 
			
		||||
        #actions that the management system should take in response to container lifecycle events; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.lifecycle = None # v1beta3_Lifecycle
 | 
			
		||||
        
 | 
			
		||||
        #periodic probe of container liveness; container will be restarted if the probe fails; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.livenessProbe = None # v1beta3_Probe
 | 
			
		||||
        
 | 
			
		||||
        #name of the container; must be a DNS_LABEL and unique within the pod; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of ports to expose from the container; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.ports = None # list[v1beta3_ContainerPort]
 | 
			
		||||
        
 | 
			
		||||
        #whether or not the container is granted privileged status; defaults to false; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.privileged = None # bool
 | 
			
		||||
        
 | 
			
		||||
        #periodic probe of container service readiness; container will be removed from service endpoints if the probe fails; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.readinessProbe = None # v1beta3_Probe
 | 
			
		||||
        
 | 
			
		||||
        #Compute Resources required by this container; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.resources = None # v1beta3_ResourceRequirements
 | 
			
		||||
        
 | 
			
		||||
        #path at which the file to which the container's termination message will be written is mounted into the container's filesystem; message written is intended to be brief final status, such as an assertion failure message; defaults to /dev/termination-log; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.terminationMessagePath = None # str
 | 
			
		||||
        
 | 
			
		||||
        #pod volumes to mount into the container's filesyste; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.volumeMounts = None # list[v1beta3_VolumeMount]
 | 
			
		||||
        
 | 
			
		||||
        #container's working directory; defaults to image's default; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.workingDir = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ContainerPort(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'containerPort': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'hostIP': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'hostPort': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'protocol': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'containerPort': 'containerPort',
 | 
			
		||||
            
 | 
			
		||||
            'hostIP': 'hostIP',
 | 
			
		||||
            
 | 
			
		||||
            'hostPort': 'hostPort',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'protocol': 'protocol'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #number of port to expose on the pod's IP address
 | 
			
		||||
        
 | 
			
		||||
        self.containerPort = None # int
 | 
			
		||||
        
 | 
			
		||||
        #host IP to bind the port to
 | 
			
		||||
        
 | 
			
		||||
        self.hostIP = None # str
 | 
			
		||||
        
 | 
			
		||||
        #number of port to expose on the host; most containers do not need this
 | 
			
		||||
        
 | 
			
		||||
        self.hostPort = None # int
 | 
			
		||||
        
 | 
			
		||||
        #name for the port that can be referred to by services; must be a DNS_LABEL and unique without the pod
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #protocol for port; must be UDP or TCP; TCP if unspecified
 | 
			
		||||
        
 | 
			
		||||
        self.protocol = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,63 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ContainerState(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'running': 'v1beta3_ContainerStateRunning',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'termination': 'v1beta3_ContainerStateTerminated',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'waiting': 'v1beta3_ContainerStateWaiting'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'running': 'running',
 | 
			
		||||
            
 | 
			
		||||
            'termination': 'termination',
 | 
			
		||||
            
 | 
			
		||||
            'waiting': 'waiting'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #details about a running container
 | 
			
		||||
        
 | 
			
		||||
        self.running = None # v1beta3_ContainerStateRunning
 | 
			
		||||
        
 | 
			
		||||
        #details about a terminated container
 | 
			
		||||
        
 | 
			
		||||
        self.termination = None # v1beta3_ContainerStateTerminated
 | 
			
		||||
        
 | 
			
		||||
        #details about a waiting container
 | 
			
		||||
        
 | 
			
		||||
        self.waiting = None # v1beta3_ContainerStateWaiting
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ContainerStateRunning(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'startedAt': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'startedAt': 'startedAt'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #time at which the container was last (re-)started
 | 
			
		||||
        
 | 
			
		||||
        self.startedAt = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,99 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ContainerStateTerminated(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'containerID': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'exitCode': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'finishedAt': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'message': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'signal': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'startedAt': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'containerID': 'containerID',
 | 
			
		||||
            
 | 
			
		||||
            'exitCode': 'exitCode',
 | 
			
		||||
            
 | 
			
		||||
            'finishedAt': 'finishedAt',
 | 
			
		||||
            
 | 
			
		||||
            'message': 'message',
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'reason',
 | 
			
		||||
            
 | 
			
		||||
            'signal': 'signal',
 | 
			
		||||
            
 | 
			
		||||
            'startedAt': 'startedAt'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #container's ID in the format 'docker://<container_id>'
 | 
			
		||||
        
 | 
			
		||||
        self.containerID = None # str
 | 
			
		||||
        
 | 
			
		||||
        #exit status from the last termination of the container
 | 
			
		||||
        
 | 
			
		||||
        self.exitCode = None # int
 | 
			
		||||
        
 | 
			
		||||
        #time at which the container last terminated
 | 
			
		||||
        
 | 
			
		||||
        self.finishedAt = None # str
 | 
			
		||||
        
 | 
			
		||||
        #message regarding the last termination of the container
 | 
			
		||||
        
 | 
			
		||||
        self.message = None # str
 | 
			
		||||
        
 | 
			
		||||
        #(brief) reason from the last termination of the container
 | 
			
		||||
        
 | 
			
		||||
        self.reason = None # str
 | 
			
		||||
        
 | 
			
		||||
        #signal from the last termination of the container
 | 
			
		||||
        
 | 
			
		||||
        self.signal = None # int
 | 
			
		||||
        
 | 
			
		||||
        #time at which previous execution of the container started
 | 
			
		||||
        
 | 
			
		||||
        self.startedAt = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ContainerStateWaiting(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'reason'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #(brief) reason the container is not yet running, such as pulling its image
 | 
			
		||||
        
 | 
			
		||||
        self.reason = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,108 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ContainerStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'containerID': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'image': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'imageID': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'lastState': 'v1beta3_ContainerState',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'ready': 'bool',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'restartCount': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'state': 'v1beta3_ContainerState'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'containerID': 'containerID',
 | 
			
		||||
            
 | 
			
		||||
            'image': 'image',
 | 
			
		||||
            
 | 
			
		||||
            'imageID': 'imageID',
 | 
			
		||||
            
 | 
			
		||||
            'lastState': 'lastState',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'ready': 'ready',
 | 
			
		||||
            
 | 
			
		||||
            'restartCount': 'restartCount',
 | 
			
		||||
            
 | 
			
		||||
            'state': 'state'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #container's ID in the format 'docker://<container_id>'
 | 
			
		||||
        
 | 
			
		||||
        self.containerID = None # str
 | 
			
		||||
        
 | 
			
		||||
        #image of the container
 | 
			
		||||
        
 | 
			
		||||
        self.image = None # str
 | 
			
		||||
        
 | 
			
		||||
        #ID of the container's image
 | 
			
		||||
        
 | 
			
		||||
        self.imageID = None # str
 | 
			
		||||
        
 | 
			
		||||
        #details about the container's last termination condition
 | 
			
		||||
        
 | 
			
		||||
        self.lastState = None # v1beta3_ContainerState
 | 
			
		||||
        
 | 
			
		||||
        #name of the container; must be a DNS_LABEL and unique within the pod; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specifies whether the container has passed its readiness probe
 | 
			
		||||
        
 | 
			
		||||
        self.ready = None # bool
 | 
			
		||||
        
 | 
			
		||||
        #the number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed
 | 
			
		||||
        
 | 
			
		||||
        self.restartCount = None # int
 | 
			
		||||
        
 | 
			
		||||
        #details about the container's current condition
 | 
			
		||||
        
 | 
			
		||||
        self.state = None # v1beta3_ContainerState
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,37 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_DeleteOptions(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EmptyDirVolumeSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'medium': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'medium': 'medium'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #type of storage used to back the volume; must be an empty string (default) or Memory
 | 
			
		||||
        
 | 
			
		||||
        self.medium = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EndpointAddress(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'IP': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'targetRef': 'v1beta3_ObjectReference'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'IP': 'IP',
 | 
			
		||||
            
 | 
			
		||||
            'targetRef': 'targetRef'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #IP address of the endpoint
 | 
			
		||||
        
 | 
			
		||||
        self.IP = None # str
 | 
			
		||||
        
 | 
			
		||||
        #reference to object providing the endpoint
 | 
			
		||||
        
 | 
			
		||||
        self.targetRef = None # v1beta3_ObjectReference
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,63 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EndpointPort(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'port': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'protocol': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'port': 'port',
 | 
			
		||||
            
 | 
			
		||||
            'protocol': 'protocol'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #name of this port
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #port number of the endpoint
 | 
			
		||||
        
 | 
			
		||||
        self.port = None # int
 | 
			
		||||
        
 | 
			
		||||
        #protocol for this port; must be UDP or TCP; TCP if unspecified
 | 
			
		||||
        
 | 
			
		||||
        self.protocol = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EndpointSubset(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'addresses': 'list[v1beta3_EndpointAddress]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'ports': 'list[v1beta3_EndpointPort]'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'addresses': 'addresses',
 | 
			
		||||
            
 | 
			
		||||
            'ports': 'ports'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #IP addresses which offer the related ports
 | 
			
		||||
        
 | 
			
		||||
        self.addresses = None # list[v1beta3_EndpointAddress]
 | 
			
		||||
        
 | 
			
		||||
        #port numbers available on the related IP addresses
 | 
			
		||||
        
 | 
			
		||||
        self.ports = None # list[v1beta3_EndpointPort]
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										153
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Endpoints.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										153
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Endpoints.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,153 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Endpoints(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'subsets': 'list[v1beta3_EndpointSubset]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'subsets': 'subsets',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #sets of addresses and ports that comprise a service
 | 
			
		||||
        
 | 
			
		||||
        self.subsets = None # list[v1beta3_EndpointSubset]
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EndpointsList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_Endpoints]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of endpoints
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_Endpoints]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EnvVar(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'value': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'value': 'value'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #name of the environment variable; must be a C_IDENTIFIER
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #value of the environment variable; defaults to empty string
 | 
			
		||||
        
 | 
			
		||||
        self.value = None # str
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										207
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Event.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										207
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Event.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,207 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Event(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'count': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'firstTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'involvedObject': 'v1beta3_ObjectReference',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'lastTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'message': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'source': 'v1beta3_EventSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'count': 'count',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'firstTimestamp': 'firstTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'involvedObject': 'involvedObject',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'lastTimestamp': 'lastTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'message': 'message',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'reason',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'source': 'source',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #the number of times this event has occurred
 | 
			
		||||
        
 | 
			
		||||
        self.count = None # int
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #the time at which the event was first recorded
 | 
			
		||||
        
 | 
			
		||||
        self.firstTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #object this event is about
 | 
			
		||||
        
 | 
			
		||||
        self.involvedObject = None # v1beta3_ObjectReference
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #the time at which the most recent occurance of this event was recorded
 | 
			
		||||
        
 | 
			
		||||
        self.lastTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #human-readable description of the status of this operation
 | 
			
		||||
        
 | 
			
		||||
        self.message = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #short, machine understandable string that gives the reason for the transition into the object's current status
 | 
			
		||||
        
 | 
			
		||||
        self.reason = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #component reporting this event
 | 
			
		||||
        
 | 
			
		||||
        self.source = None # v1beta3_EventSource
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EventList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_Event]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of events
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_Event]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_EventSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'component': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'host': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'component': 'component',
 | 
			
		||||
            
 | 
			
		||||
            'host': 'host'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #component that generated the event
 | 
			
		||||
        
 | 
			
		||||
        self.component = None # str
 | 
			
		||||
        
 | 
			
		||||
        #name of the host where the event is generated
 | 
			
		||||
        
 | 
			
		||||
        self.host = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ExecAction(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'command': 'list[str]'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'command': 'command'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #command line to execute inside the container; working directory for the command is root ('/') in the container's file system; the command is exec'd, not run inside a shell; exit status of 0 is treated as live/healthy and non-zero is unhealthy
 | 
			
		||||
        
 | 
			
		||||
        self.command = None # list[str]
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,37 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_FinalizerName(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,72 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_GCEPersistentDiskVolumeSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'fsType': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'partition': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'pdName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'bool'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'fsType': 'fsType',
 | 
			
		||||
            
 | 
			
		||||
            'partition': 'partition',
 | 
			
		||||
            
 | 
			
		||||
            'pdName': 'pdName',
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'readOnly'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #file system type to mount, such as ext4, xfs, ntfs
 | 
			
		||||
        
 | 
			
		||||
        self.fsType = None # str
 | 
			
		||||
        
 | 
			
		||||
        #partition on the disk to mount (e.g., '1' for /dev/sda1); if omitted the plain device name (e.g., /dev/sda) will be mounted
 | 
			
		||||
        
 | 
			
		||||
        self.partition = None # int
 | 
			
		||||
        
 | 
			
		||||
        #unique name of the PD resource in GCE
 | 
			
		||||
        
 | 
			
		||||
        self.pdName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #read-only if true, read-write otherwise (false or unspecified)
 | 
			
		||||
        
 | 
			
		||||
        self.readOnly = None # bool
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_GitRepoVolumeSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'repository': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'revision': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'repository': 'repository',
 | 
			
		||||
            
 | 
			
		||||
            'revision': 'revision'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #repository URL
 | 
			
		||||
        
 | 
			
		||||
        self.repository = None # str
 | 
			
		||||
        
 | 
			
		||||
        #commit hash for the specified revision
 | 
			
		||||
        
 | 
			
		||||
        self.revision = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,63 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_HTTPGetAction(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'host': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'path': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'port': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'host': 'host',
 | 
			
		||||
            
 | 
			
		||||
            'path': 'path',
 | 
			
		||||
            
 | 
			
		||||
            'port': 'port'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #hostname to connect to; defaults to pod IP
 | 
			
		||||
        
 | 
			
		||||
        self.host = None # str
 | 
			
		||||
        
 | 
			
		||||
        #path to access on the HTTP server
 | 
			
		||||
        
 | 
			
		||||
        self.path = None # str
 | 
			
		||||
        
 | 
			
		||||
        #number or name of the port to access on the container
 | 
			
		||||
        
 | 
			
		||||
        self.port = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,63 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Handler(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'exect': 'v1beta3_ExecAction',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'httpGet': 'v1beta3_HTTPGetAction',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'tcpSocket': 'v1beta3_TCPSocketAction'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'exect': 'exect',
 | 
			
		||||
            
 | 
			
		||||
            'httpGet': 'httpGet',
 | 
			
		||||
            
 | 
			
		||||
            'tcpSocket': 'tcpSocket'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #exec-based handler
 | 
			
		||||
        
 | 
			
		||||
        self.exect = None # v1beta3_ExecAction
 | 
			
		||||
        
 | 
			
		||||
        #HTTP-based handler
 | 
			
		||||
        
 | 
			
		||||
        self.httpGet = None # v1beta3_HTTPGetAction
 | 
			
		||||
        
 | 
			
		||||
        #TCP-based handler; TCP hooks not yet supported
 | 
			
		||||
        
 | 
			
		||||
        self.tcpSocket = None # v1beta3_TCPSocketAction
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_HostPathVolumeSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'path': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'path': 'path'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #path of the directory on the host
 | 
			
		||||
        
 | 
			
		||||
        self.path = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ISCSIVolumeSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'fsType': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'iqn': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'lun': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'bool',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'targetPortal': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'fsType': 'fsType',
 | 
			
		||||
            
 | 
			
		||||
            'iqn': 'iqn',
 | 
			
		||||
            
 | 
			
		||||
            'lun': 'lun',
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'readOnly',
 | 
			
		||||
            
 | 
			
		||||
            'targetPortal': 'targetPortal'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #file system type to mount, such as ext4, xfs, ntfs
 | 
			
		||||
        
 | 
			
		||||
        self.fsType = None # str
 | 
			
		||||
        
 | 
			
		||||
        #iSCSI Qualified Name
 | 
			
		||||
        
 | 
			
		||||
        self.iqn = None # str
 | 
			
		||||
        
 | 
			
		||||
        #iscsi target lun number
 | 
			
		||||
        
 | 
			
		||||
        self.lun = None # int
 | 
			
		||||
        
 | 
			
		||||
        #read-only if true, read-write otherwise (false or unspecified)
 | 
			
		||||
        
 | 
			
		||||
        self.readOnly = None # bool
 | 
			
		||||
        
 | 
			
		||||
        #iSCSI target portal
 | 
			
		||||
        
 | 
			
		||||
        self.targetPortal = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Lifecycle(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'postStart': 'v1beta3_Handler',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'preStop': 'v1beta3_Handler'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'postStart': 'postStart',
 | 
			
		||||
            
 | 
			
		||||
            'preStop': 'preStop'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #called immediately after a container is started; if the handler fails, the container is terminated and restarted according to its restart policy; other management of the container blocks until the hook completes
 | 
			
		||||
        
 | 
			
		||||
        self.postStart = None # v1beta3_Handler
 | 
			
		||||
        
 | 
			
		||||
        #called before a container is terminated; the container is terminated after the handler completes; other management of the container blocks until the hook completes
 | 
			
		||||
        
 | 
			
		||||
        self.preStop = None # v1beta3_Handler
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,153 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_LimitRange(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_LimitRangeSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #spec defines the limits enforced; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_LimitRangeSpec
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,72 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_LimitRangeItem(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'default': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'max': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'min': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'type': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'default': 'default',
 | 
			
		||||
            
 | 
			
		||||
            'max': 'max',
 | 
			
		||||
            
 | 
			
		||||
            'min': 'min',
 | 
			
		||||
            
 | 
			
		||||
            'type': 'type'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #default values on this kind by resource name if omitted
 | 
			
		||||
        
 | 
			
		||||
        self.default = None # any
 | 
			
		||||
        
 | 
			
		||||
        #max usage constraints on this kind by resource name
 | 
			
		||||
        
 | 
			
		||||
        self.max = None # any
 | 
			
		||||
        
 | 
			
		||||
        #min usage constraints on this kind by resource name
 | 
			
		||||
        
 | 
			
		||||
        self.min = None # any
 | 
			
		||||
        
 | 
			
		||||
        #type of resource that this limit applies to
 | 
			
		||||
        
 | 
			
		||||
        self.type = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_LimitRangeList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_LimitRange]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #items is a list of LimitRange objects
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_LimitRange]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_LimitRangeSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'limits': 'list[v1beta3_LimitRangeItem]'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'limits': 'limits'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #limits is the list of LimitRangeItem objects that are enforced
 | 
			
		||||
        
 | 
			
		||||
        self.limits = None # list[v1beta3_LimitRangeItem]
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,63 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NFSVolumeSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'path': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'bool',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'server': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'path': 'path',
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'readOnly',
 | 
			
		||||
            
 | 
			
		||||
            'server': 'server'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #the path that is exported by the NFS server
 | 
			
		||||
        
 | 
			
		||||
        self.path = None # str
 | 
			
		||||
        
 | 
			
		||||
        #forces the NFS export to be mounted with read-only permissions
 | 
			
		||||
        
 | 
			
		||||
        self.readOnly = None # bool
 | 
			
		||||
        
 | 
			
		||||
        #the hostname or IP address of the NFS server
 | 
			
		||||
        
 | 
			
		||||
        self.server = None # str
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Namespace.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Namespace.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Namespace(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_NamespaceSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_NamespaceStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #spec defines the behavior of the Namespace; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_NamespaceSpec
 | 
			
		||||
        
 | 
			
		||||
        #status describes the current status of a Namespace; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_NamespaceStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NamespaceList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_Namespace]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #items is the list of Namespace objects in the list
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_Namespace]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NamespaceSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'finalizers': 'list[v1beta3_FinalizerName]'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'finalizers': 'finalizers'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #an opaque list of values that must be empty to permanently remove object from storage
 | 
			
		||||
        
 | 
			
		||||
        self.finalizers = None # list[v1beta3_FinalizerName]
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NamespaceStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'phase'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #phase is the current lifecycle phase of the namespace
 | 
			
		||||
        
 | 
			
		||||
        self.phase = None # str
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Node.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Node.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Node(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_NodeSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_NodeStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specification of a node; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_NodeSpec
 | 
			
		||||
        
 | 
			
		||||
        #most recently observed status of the node; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_NodeStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,52 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NodeAddress(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'address': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'type': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'address': 'address',
 | 
			
		||||
            
 | 
			
		||||
            'type': 'type'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.address = None # str
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.type = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,90 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NodeCondition(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'lastProbeTime': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'lastTransitionTime': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'message': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'type': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'lastProbeTime': 'lastProbeTime',
 | 
			
		||||
            
 | 
			
		||||
            'lastTransitionTime': 'lastTransitionTime',
 | 
			
		||||
            
 | 
			
		||||
            'message': 'message',
 | 
			
		||||
            
 | 
			
		||||
            'reason': 'reason',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'type': 'type'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #last time the condition was probed
 | 
			
		||||
        
 | 
			
		||||
        self.lastProbeTime = None # str
 | 
			
		||||
        
 | 
			
		||||
        #last time the condition transit from one status to another
 | 
			
		||||
        
 | 
			
		||||
        self.lastTransitionTime = None # str
 | 
			
		||||
        
 | 
			
		||||
        #human readable message indicating details about last transition
 | 
			
		||||
        
 | 
			
		||||
        self.message = None # str
 | 
			
		||||
        
 | 
			
		||||
        #(brief) reason for the condition's last transition
 | 
			
		||||
        
 | 
			
		||||
        self.reason = None # str
 | 
			
		||||
        
 | 
			
		||||
        #status of the condition, one of Full, None, Unknown
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # str
 | 
			
		||||
        
 | 
			
		||||
        #type of node condition, one of Ready, Schedulable
 | 
			
		||||
        
 | 
			
		||||
        self.type = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NodeList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_Node]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of nodes
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_Node]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,63 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NodeSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'externalID': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'podCIDR': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'unschedulable': 'bool'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'externalID': 'externalID',
 | 
			
		||||
            
 | 
			
		||||
            'podCIDR': 'podCIDR',
 | 
			
		||||
            
 | 
			
		||||
            'unschedulable': 'unschedulable'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #external ID assigned to the node by some machine database (e.g. a cloud provider). Defaults to node name when empty.
 | 
			
		||||
        
 | 
			
		||||
        self.externalID = None # str
 | 
			
		||||
        
 | 
			
		||||
        #pod IP range assigned to the node
 | 
			
		||||
        
 | 
			
		||||
        self.podCIDR = None # str
 | 
			
		||||
        
 | 
			
		||||
        #disable pod scheduling on the node
 | 
			
		||||
        
 | 
			
		||||
        self.unschedulable = None # bool
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,80 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NodeStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'addresses': 'list[v1beta3_NodeAddress]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'capacity': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'conditions': 'list[v1beta3_NodeCondition]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'nodeInfo': 'v1beta3_NodeSystemInfo',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'addresses': 'addresses',
 | 
			
		||||
            
 | 
			
		||||
            'capacity': 'capacity',
 | 
			
		||||
            
 | 
			
		||||
            'conditions': 'conditions',
 | 
			
		||||
            
 | 
			
		||||
            'nodeInfo': 'nodeInfo',
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'phase'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #list of addresses reachable to the node
 | 
			
		||||
        
 | 
			
		||||
        self.addresses = None # list[v1beta3_NodeAddress]
 | 
			
		||||
        
 | 
			
		||||
        #compute resource capacity of the node; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/resources.md
 | 
			
		||||
        
 | 
			
		||||
        self.capacity = None # any
 | 
			
		||||
        
 | 
			
		||||
        #list of node conditions observed
 | 
			
		||||
        
 | 
			
		||||
        self.conditions = None # list[v1beta3_NodeCondition]
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.nodeInfo = None # v1beta3_NodeSystemInfo
 | 
			
		||||
        
 | 
			
		||||
        #most recently observed lifecycle phase of the node
 | 
			
		||||
        
 | 
			
		||||
        self.phase = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,106 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_NodeSystemInfo(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'KubeProxyVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'bootID': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'containerRuntimeVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kernelVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kubeletVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'machineID': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'osImage': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'systemUUID': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'KubeProxyVersion': 'KubeProxyVersion',
 | 
			
		||||
            
 | 
			
		||||
            'bootID': 'bootID',
 | 
			
		||||
            
 | 
			
		||||
            'containerRuntimeVersion': 'containerRuntimeVersion',
 | 
			
		||||
            
 | 
			
		||||
            'kernelVersion': 'kernelVersion',
 | 
			
		||||
            
 | 
			
		||||
            'kubeletVersion': 'kubeletVersion',
 | 
			
		||||
            
 | 
			
		||||
            'machineID': 'machineID',
 | 
			
		||||
            
 | 
			
		||||
            'osImage': 'osImage',
 | 
			
		||||
            
 | 
			
		||||
            'systemUUID': 'systemUUID'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #Kube-proxy version reported by the node
 | 
			
		||||
        
 | 
			
		||||
        self.KubeProxyVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #boot id is the boot-id reported by the node
 | 
			
		||||
        
 | 
			
		||||
        self.bootID = None # str
 | 
			
		||||
        
 | 
			
		||||
        #Container runtime version reported by the node through runtime remote API (e.g. docker://1.5.0)
 | 
			
		||||
        
 | 
			
		||||
        self.containerRuntimeVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #Kernel version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)
 | 
			
		||||
        
 | 
			
		||||
        self.kernelVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #Kubelet version reported by the node
 | 
			
		||||
        
 | 
			
		||||
        self.kubeletVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.machineID = None # str
 | 
			
		||||
        
 | 
			
		||||
        #OS image used reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))
 | 
			
		||||
        
 | 
			
		||||
        self.osImage = None # str
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.systemUUID = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,99 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ObjectReference(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'fieldPath': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'fieldPath': 'fieldPath',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #API version of the referent
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #if referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]
 | 
			
		||||
        
 | 
			
		||||
        self.fieldPath = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of the referent
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #name of the referent
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the referent
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #uid of the referent
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolume(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_PersistentVolumeSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_PersistentVolumeStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specification of a persistent volume as provisioned by an administrator
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_PersistentVolumeSpec
 | 
			
		||||
        
 | 
			
		||||
        #current status of a persistent volume; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_PersistentVolumeStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,161 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolumeClaim(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_PersistentVolumeClaimSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_PersistentVolumeClaimStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_PersistentVolumeClaimSpec
 | 
			
		||||
        
 | 
			
		||||
        #the current status of a persistent volume claim; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_PersistentVolumeClaimStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,80 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolumeClaimList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_PersistentVolumeClaim]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_PersistentVolumeClaim]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolumeClaimSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'accessModes': 'list[v1beta3_AccessModeType]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resources': 'v1beta3_ResourceRequirements'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'accessModes': 'accessModes',
 | 
			
		||||
            
 | 
			
		||||
            'resources': 'resources'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #the desired access modes the volume should have
 | 
			
		||||
        
 | 
			
		||||
        self.accessModes = None # list[v1beta3_AccessModeType]
 | 
			
		||||
        
 | 
			
		||||
        #the desired resources the volume should have
 | 
			
		||||
        
 | 
			
		||||
        self.resources = None # v1beta3_ResourceRequirements
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,72 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolumeClaimStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'accessModes': 'list[v1beta3_AccessModeType]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'capacity': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'volumeRef': 'v1beta3_ObjectReference'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'accessModes': 'accessModes',
 | 
			
		||||
            
 | 
			
		||||
            'capacity': 'capacity',
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'phase',
 | 
			
		||||
            
 | 
			
		||||
            'volumeRef': 'volumeRef'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #the actual access modes the volume has
 | 
			
		||||
        
 | 
			
		||||
        self.accessModes = None # list[v1beta3_AccessModeType]
 | 
			
		||||
        
 | 
			
		||||
        #the actual resources the volume has
 | 
			
		||||
        
 | 
			
		||||
        self.capacity = None # any
 | 
			
		||||
        
 | 
			
		||||
        #the current phase of the claim
 | 
			
		||||
        
 | 
			
		||||
        self.phase = None # str
 | 
			
		||||
        
 | 
			
		||||
        #a reference to the backing persistent volume, when bound
 | 
			
		||||
        
 | 
			
		||||
        self.volumeRef = None # v1beta3_ObjectReference
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolumeList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_PersistentVolume]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of persistent volumes
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_PersistentVolume]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolumeSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'accessModes': 'list[v1beta3_AccessModeType]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'capacity': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'claimRef': 'v1beta3_ObjectReference',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'gcePersistentDisk': 'v1beta3_GCEPersistentDiskVolumeSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'hostPath': 'v1beta3_HostPathVolumeSource'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'accessModes': 'accessModes',
 | 
			
		||||
            
 | 
			
		||||
            'capacity': 'capacity',
 | 
			
		||||
            
 | 
			
		||||
            'claimRef': 'claimRef',
 | 
			
		||||
            
 | 
			
		||||
            'gcePersistentDisk': 'gcePersistentDisk',
 | 
			
		||||
            
 | 
			
		||||
            'hostPath': 'hostPath'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #all ways the volume can be mounted
 | 
			
		||||
        
 | 
			
		||||
        self.accessModes = None # list[v1beta3_AccessModeType]
 | 
			
		||||
        
 | 
			
		||||
        #a description of the persistent volume's resources and capacity
 | 
			
		||||
        
 | 
			
		||||
        self.capacity = None # any
 | 
			
		||||
        
 | 
			
		||||
        #the binding reference to a persistent volume claim
 | 
			
		||||
        
 | 
			
		||||
        self.claimRef = None # v1beta3_ObjectReference
 | 
			
		||||
        
 | 
			
		||||
        #GCE disk resource provisioned by an admin
 | 
			
		||||
        
 | 
			
		||||
        self.gcePersistentDisk = None # v1beta3_GCEPersistentDiskVolumeSource
 | 
			
		||||
        
 | 
			
		||||
        #a HostPath provisioned by a developer or tester; for develment use only
 | 
			
		||||
        
 | 
			
		||||
        self.hostPath = None # v1beta3_HostPathVolumeSource
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PersistentVolumeStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'phase'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #the current phase of a persistent volume
 | 
			
		||||
        
 | 
			
		||||
        self.phase = None # str
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Pod.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Pod.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Pod(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_PodSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_PodStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specification of the desired behavior of the pod; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_PodSpec
 | 
			
		||||
        
 | 
			
		||||
        #most recently observed status of the pod; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_PodStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PodCondition(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'status': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'type': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'type': 'type'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #status of the condition, one of Full, None, Unknown
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of the condition
 | 
			
		||||
        
 | 
			
		||||
        self.type = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PodList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_Pod]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of pods
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_Pod]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,72 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PodLogOptions(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'container': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'follow': 'bool',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'container': 'container',
 | 
			
		||||
            
 | 
			
		||||
            'follow': 'follow',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #the container for which to stream logs; defaults to only container if there is one container in the pod
 | 
			
		||||
        
 | 
			
		||||
        self.container = None # str
 | 
			
		||||
        
 | 
			
		||||
        #follow the log stream of the pod; defaults to false
 | 
			
		||||
        
 | 
			
		||||
        self.follow = None # bool
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,99 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PodSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'containers': 'list[v1beta3_Container]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'dnsPolicy': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'host': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'hostNetwork': 'bool',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'nodeSelector': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'restartPolicy': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'volumes': 'list[v1beta3_Volume]'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'containers': 'containers',
 | 
			
		||||
            
 | 
			
		||||
            'dnsPolicy': 'dnsPolicy',
 | 
			
		||||
            
 | 
			
		||||
            'host': 'host',
 | 
			
		||||
            
 | 
			
		||||
            'hostNetwork': 'hostNetwork',
 | 
			
		||||
            
 | 
			
		||||
            'nodeSelector': 'nodeSelector',
 | 
			
		||||
            
 | 
			
		||||
            'restartPolicy': 'restartPolicy',
 | 
			
		||||
            
 | 
			
		||||
            'volumes': 'volumes'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #list of containers belonging to the pod; cannot be updated; containers cannot currently be added or removed; there must be at least one container in a Pod
 | 
			
		||||
        
 | 
			
		||||
        self.containers = None # list[v1beta3_Container]
 | 
			
		||||
        
 | 
			
		||||
        #DNS policy for containers within the pod; one of 'ClusterFirst' or 'Default'
 | 
			
		||||
        
 | 
			
		||||
        self.dnsPolicy = None # str
 | 
			
		||||
        
 | 
			
		||||
        #host requested for this pod
 | 
			
		||||
        
 | 
			
		||||
        self.host = None # str
 | 
			
		||||
        
 | 
			
		||||
        #host networking requested for this pod
 | 
			
		||||
        
 | 
			
		||||
        self.hostNetwork = None # bool
 | 
			
		||||
        
 | 
			
		||||
        #selector which must match a node's labels for the pod to be scheduled on that node
 | 
			
		||||
        
 | 
			
		||||
        self.nodeSelector = None # any
 | 
			
		||||
        
 | 
			
		||||
        #restart policy for all containers within the pod; one of RestartPolicyAlways, RestartPolicyOnFailure, RestartPolicyNever
 | 
			
		||||
        
 | 
			
		||||
        self.restartPolicy = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of volumes that can be mounted by containers belonging to the pod
 | 
			
		||||
        
 | 
			
		||||
        self.volumes = None # list[v1beta3_Volume]
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,90 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PodStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'Condition': 'list[v1beta3_PodCondition]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'containerStatuses': 'list[v1beta3_ContainerStatus]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'hostIP': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'message': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'podIP': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'Condition': 'Condition',
 | 
			
		||||
            
 | 
			
		||||
            'containerStatuses': 'containerStatuses',
 | 
			
		||||
            
 | 
			
		||||
            'hostIP': 'hostIP',
 | 
			
		||||
            
 | 
			
		||||
            'message': 'message',
 | 
			
		||||
            
 | 
			
		||||
            'phase': 'phase',
 | 
			
		||||
            
 | 
			
		||||
            'podIP': 'podIP'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #current service state of pod
 | 
			
		||||
        
 | 
			
		||||
        self.Condition = None # list[v1beta3_PodCondition]
 | 
			
		||||
        
 | 
			
		||||
        #list of container statuses
 | 
			
		||||
        
 | 
			
		||||
        self.containerStatuses = None # list[v1beta3_ContainerStatus]
 | 
			
		||||
        
 | 
			
		||||
        #IP address of the host to which the pod is assigned; empty if not yet scheduled
 | 
			
		||||
        
 | 
			
		||||
        self.hostIP = None # str
 | 
			
		||||
        
 | 
			
		||||
        #human readable message indicating details about why the pod is in this condition
 | 
			
		||||
        
 | 
			
		||||
        self.message = None # str
 | 
			
		||||
        
 | 
			
		||||
        #current condition of the pod.
 | 
			
		||||
        
 | 
			
		||||
        self.phase = None # str
 | 
			
		||||
        
 | 
			
		||||
        #IP address allocated to the pod; routable at least within the cluster; empty if not yet allocated
 | 
			
		||||
        
 | 
			
		||||
        self.podIP = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,135 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_PodTemplateSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_PodSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specification of the desired behavior of the pod; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_PodSpec
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										81
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Probe.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										81
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Probe.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Probe(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'exect': 'v1beta3_ExecAction',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'httpGet': 'v1beta3_HTTPGetAction',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'initialDelaySeconds': 'long',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'tcpSocket': 'v1beta3_TCPSocketAction',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'timeoutSeconds': 'long'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'exect': 'exect',
 | 
			
		||||
            
 | 
			
		||||
            'httpGet': 'httpGet',
 | 
			
		||||
            
 | 
			
		||||
            'initialDelaySeconds': 'initialDelaySeconds',
 | 
			
		||||
            
 | 
			
		||||
            'tcpSocket': 'tcpSocket',
 | 
			
		||||
            
 | 
			
		||||
            'timeoutSeconds': 'timeoutSeconds'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #exec-based handler
 | 
			
		||||
        
 | 
			
		||||
        self.exect = None # v1beta3_ExecAction
 | 
			
		||||
        
 | 
			
		||||
        #HTTP-based handler
 | 
			
		||||
        
 | 
			
		||||
        self.httpGet = None # v1beta3_HTTPGetAction
 | 
			
		||||
        
 | 
			
		||||
        #number of seconds after the container has started before liveness probes are initiated
 | 
			
		||||
        
 | 
			
		||||
        self.initialDelaySeconds = None # long
 | 
			
		||||
        
 | 
			
		||||
        #TCP-based handler; TCP hooks not yet supported
 | 
			
		||||
        
 | 
			
		||||
        self.tcpSocket = None # v1beta3_TCPSocketAction
 | 
			
		||||
        
 | 
			
		||||
        #number of seconds after which liveness probes timeout; defaults to 1 second
 | 
			
		||||
        
 | 
			
		||||
        self.timeoutSeconds = None # long
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ReplicationController(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_ReplicationControllerSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_ReplicationControllerStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specification of the desired behavior of the replication controller; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_ReplicationControllerSpec
 | 
			
		||||
        
 | 
			
		||||
        #most recently observed status of the replication controller; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_ReplicationControllerStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ReplicationControllerList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_ReplicationController]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of replication controllers
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_ReplicationController]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,72 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ReplicationControllerSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'replicas': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selector': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'template': 'v1beta3_PodTemplateSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'templateRef': 'v1beta3_ObjectReference'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'replicas': 'replicas',
 | 
			
		||||
            
 | 
			
		||||
            'selector': 'selector',
 | 
			
		||||
            
 | 
			
		||||
            'template': 'template',
 | 
			
		||||
            
 | 
			
		||||
            'templateRef': 'templateRef'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #number of replicas desired
 | 
			
		||||
        
 | 
			
		||||
        self.replicas = None # int
 | 
			
		||||
        
 | 
			
		||||
        #label keys and values that must match in order to be controlled by this replication controller
 | 
			
		||||
        
 | 
			
		||||
        self.selector = None # any
 | 
			
		||||
        
 | 
			
		||||
        #object that describes the pod that will be created if insufficient replicas are detected; takes precendence over templateRef
 | 
			
		||||
        
 | 
			
		||||
        self.template = None # v1beta3_PodTemplateSpec
 | 
			
		||||
        
 | 
			
		||||
        #reference to an object that describes the pod that will be created if insufficient replicas are detected
 | 
			
		||||
        
 | 
			
		||||
        self.templateRef = None # v1beta3_ObjectReference
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ReplicationControllerStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'replicas': 'int'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'replicas': 'replicas'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #most recently oberved number of replicas
 | 
			
		||||
        
 | 
			
		||||
        self.replicas = None # int
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ResourceQuota(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_ResourceQuotaSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_ResourceQuotaStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #spec defines the desired quota; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_ResourceQuotaSpec
 | 
			
		||||
        
 | 
			
		||||
        #status defines the actual enforced quota and current usage; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_ResourceQuotaStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ResourceQuotaList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_ResourceQuota]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #items is a list of ResourceQuota objects
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_ResourceQuota]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ResourceQuotaSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'hard': 'any'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'hard': 'hard'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #hard is the set of desired hard limits for each named resource
 | 
			
		||||
        
 | 
			
		||||
        self.hard = None # any
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ResourceQuotaStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'hard': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'used': 'any'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'hard': 'hard',
 | 
			
		||||
            
 | 
			
		||||
            'used': 'used'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #hard is the set of enforced hard limits for each named resource
 | 
			
		||||
        
 | 
			
		||||
        self.hard = None # any
 | 
			
		||||
        
 | 
			
		||||
        #used is the current observed total usage of the resource in the namespace
 | 
			
		||||
        
 | 
			
		||||
        self.used = None # any
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,54 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ResourceRequirements(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'limits': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'requests': 'any'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'limits': 'limits',
 | 
			
		||||
            
 | 
			
		||||
            'requests': 'requests'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #Maximum amount of compute resources allowed
 | 
			
		||||
        
 | 
			
		||||
        self.limits = None # any
 | 
			
		||||
        
 | 
			
		||||
        #Minimum amount of resources requested
 | 
			
		||||
        
 | 
			
		||||
        self.requests = None # any
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Secret.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Secret.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Secret(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'data': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'type': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'data': 'data',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'type': 'type',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #data contains the secret data.  Each key must be a valid DNS_SUBDOMAIN.  Each value must be a base64 encoded string
 | 
			
		||||
        
 | 
			
		||||
        self.data = None # any
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #type facilitates programmatic handling of secret data
 | 
			
		||||
        
 | 
			
		||||
        self.type = None # str
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_SecretList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_Secret]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #items is a list of secret objects
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_Secret]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_SecretVolumeSource(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'secretName': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'secretName': 'secretName'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #secretName is the name of a secret in the pod's namespace
 | 
			
		||||
        
 | 
			
		||||
        self.secretName = None # str
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Service.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										162
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Service.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,162 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Service(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'v1beta3_ServiceSpec',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'status': 'v1beta3_ServiceStatus',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'annotations': 'annotations',
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'creationTimestamp': 'creationTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'deletionTimestamp': 'deletionTimestamp',
 | 
			
		||||
            
 | 
			
		||||
            'generateName': 'generateName',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'labels': 'labels',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'namespace': 'namespace',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink',
 | 
			
		||||
            
 | 
			
		||||
            'spec': 'spec',
 | 
			
		||||
            
 | 
			
		||||
            'status': 'status',
 | 
			
		||||
            
 | 
			
		||||
            'uid': 'uid'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
 | 
			
		||||
        
 | 
			
		||||
        self.annotations = None # any
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists
 | 
			
		||||
        
 | 
			
		||||
        self.creationTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested
 | 
			
		||||
        
 | 
			
		||||
        self.deletionTimestamp = None # str
 | 
			
		||||
        
 | 
			
		||||
        #an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified
 | 
			
		||||
        
 | 
			
		||||
        self.generateName = None # str
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
 | 
			
		||||
        
 | 
			
		||||
        self.labels = None # any
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies an object. Must be unique within a namespace; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #namespace of the object; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.namespace = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
        #specification of the desired behavior of the service; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.spec = None # v1beta3_ServiceSpec
 | 
			
		||||
        
 | 
			
		||||
        #most recently observed status of the service; populated by the system, read-only; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#spec-and-status
 | 
			
		||||
        
 | 
			
		||||
        self.status = None # v1beta3_ServiceStatus
 | 
			
		||||
        
 | 
			
		||||
        #unique UUID across space and time; populated by the system; read-only
 | 
			
		||||
        
 | 
			
		||||
        self.uid = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,81 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ServiceList(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'items': 'list[v1beta3_Service]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'apiVersion': 'apiVersion',
 | 
			
		||||
            
 | 
			
		||||
            'items': 'items',
 | 
			
		||||
            
 | 
			
		||||
            'kind': 'kind',
 | 
			
		||||
            
 | 
			
		||||
            'resourceVersion': 'resourceVersion',
 | 
			
		||||
            
 | 
			
		||||
            'selfLink': 'selfLink'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #version of the schema the object should have
 | 
			
		||||
        
 | 
			
		||||
        self.apiVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #list of services
 | 
			
		||||
        
 | 
			
		||||
        self.items = None # list[v1beta3_Service]
 | 
			
		||||
        
 | 
			
		||||
        #kind of object, in CamelCase; cannot be updated
 | 
			
		||||
        
 | 
			
		||||
        self.kind = None # str
 | 
			
		||||
        
 | 
			
		||||
        #string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency
 | 
			
		||||
        
 | 
			
		||||
        self.resourceVersion = None # str
 | 
			
		||||
        
 | 
			
		||||
        #URL for the object; populated by the system, read-only
 | 
			
		||||
        
 | 
			
		||||
        self.selfLink = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,72 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ServicePort(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'port': 'int',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'protocol': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'targetPort': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'port': 'port',
 | 
			
		||||
            
 | 
			
		||||
            'protocol': 'protocol',
 | 
			
		||||
            
 | 
			
		||||
            'targetPort': 'targetPort'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #the name of this port; optional if only one port is defined
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #the port number that is exposed
 | 
			
		||||
        
 | 
			
		||||
        self.port = None # int
 | 
			
		||||
        
 | 
			
		||||
        #the protocol used by this port; must be UDP or TCP; TCP if unspecified
 | 
			
		||||
        
 | 
			
		||||
        self.protocol = None # str
 | 
			
		||||
        
 | 
			
		||||
        #the port to access on the pods targeted by the service; defaults to the service port
 | 
			
		||||
        
 | 
			
		||||
        self.targetPort = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,89 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ServiceSpec(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'createExternalLoadBalancer': 'bool',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'portalIP': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'ports': 'list[v1beta3_ServicePort]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'publicIPs': 'list[str]',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'selector': 'any',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'sessionAffinity': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'createExternalLoadBalancer': 'createExternalLoadBalancer',
 | 
			
		||||
            
 | 
			
		||||
            'portalIP': 'portalIP',
 | 
			
		||||
            
 | 
			
		||||
            'ports': 'ports',
 | 
			
		||||
            
 | 
			
		||||
            'publicIPs': 'publicIPs',
 | 
			
		||||
            
 | 
			
		||||
            'selector': 'selector',
 | 
			
		||||
            
 | 
			
		||||
            'sessionAffinity': 'sessionAffinity'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #set up a cloud-provider-specific load balancer on an external IP
 | 
			
		||||
        
 | 
			
		||||
        self.createExternalLoadBalancer = None # bool
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
        self.portalIP = None # str
 | 
			
		||||
        
 | 
			
		||||
        #ports exposed by the service
 | 
			
		||||
        
 | 
			
		||||
        self.ports = None # list[v1beta3_ServicePort]
 | 
			
		||||
        
 | 
			
		||||
        #externally visible IPs (e.g. load balancers) that should be proxied to this service
 | 
			
		||||
        
 | 
			
		||||
        self.publicIPs = None # list[str]
 | 
			
		||||
        
 | 
			
		||||
        #label keys and values that must match in order to receive traffic for this service; if empty, all pods are selected, if not specified, endpoints must be manually specified
 | 
			
		||||
        
 | 
			
		||||
        self.selector = None # any
 | 
			
		||||
        
 | 
			
		||||
        #enable client IP based session affinity; must be ClientIP or None; defaults to None
 | 
			
		||||
        
 | 
			
		||||
        self.sessionAffinity = None # str
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,37 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_ServiceStatus(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,45 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_TCPSocketAction(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'port': 'str'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'port': 'port'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #number of name of the port to access on the container
 | 
			
		||||
        
 | 
			
		||||
        self.port = None # str
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										108
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Volume.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										108
									
								
								magnum/common/pythonk8sclient/client/models/V1beta3_Volume.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,108 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_Volume(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'emptyDir': 'v1beta3_EmptyDirVolumeSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'gcePersistentDisk': 'v1beta3_GCEPersistentDiskVolumeSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'gitRepo': 'v1beta3_GitRepoVolumeSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'hostPath': 'v1beta3_HostPathVolumeSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'iscsi': 'v1beta3_ISCSIVolumeSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'nfs': 'v1beta3_NFSVolumeSource',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'secret': 'v1beta3_SecretVolumeSource'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'emptyDir': 'emptyDir',
 | 
			
		||||
            
 | 
			
		||||
            'gcePersistentDisk': 'gcePersistentDisk',
 | 
			
		||||
            
 | 
			
		||||
            'gitRepo': 'gitRepo',
 | 
			
		||||
            
 | 
			
		||||
            'hostPath': 'hostPath',
 | 
			
		||||
            
 | 
			
		||||
            'iscsi': 'iscsi',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'nfs': 'nfs',
 | 
			
		||||
            
 | 
			
		||||
            'secret': 'secret'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #temporary directory that shares a pod's lifetime
 | 
			
		||||
        
 | 
			
		||||
        self.emptyDir = None # v1beta3_EmptyDirVolumeSource
 | 
			
		||||
        
 | 
			
		||||
        #GCE disk resource attached to the host machine on demand
 | 
			
		||||
        
 | 
			
		||||
        self.gcePersistentDisk = None # v1beta3_GCEPersistentDiskVolumeSource
 | 
			
		||||
        
 | 
			
		||||
        #git repository at a particular revision
 | 
			
		||||
        
 | 
			
		||||
        self.gitRepo = None # v1beta3_GitRepoVolumeSource
 | 
			
		||||
        
 | 
			
		||||
        #pre-existing host file or directory; generally for privileged system daemons or other agents tied to the host
 | 
			
		||||
        
 | 
			
		||||
        self.hostPath = None # v1beta3_HostPathVolumeSource
 | 
			
		||||
        
 | 
			
		||||
        #iSCSI disk attached to host machine on demand
 | 
			
		||||
        
 | 
			
		||||
        self.iscsi = None # v1beta3_ISCSIVolumeSource
 | 
			
		||||
        
 | 
			
		||||
        #volume name; must be a DNS_LABEL and unique within the pod
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #NFS volume that will be mounted in the host machine
 | 
			
		||||
        
 | 
			
		||||
        self.nfs = None # v1beta3_NFSVolumeSource
 | 
			
		||||
        
 | 
			
		||||
        #secret to populate volume
 | 
			
		||||
        
 | 
			
		||||
        self.secret = None # v1beta3_SecretVolumeSource
 | 
			
		||||
        
 | 
			
		||||
@@ -0,0 +1,63 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""
 | 
			
		||||
Copyright 2015 Reverb Technologies, Inc.
 | 
			
		||||
 | 
			
		||||
    Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
    you may not use this file except in compliance with the License.
 | 
			
		||||
    You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
        http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
    Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
    distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
    See the License for the specific language governing permissions and
 | 
			
		||||
    limitations under the License.
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
class V1beta3_VolumeMount(object):
 | 
			
		||||
    """NOTE: This class is auto generated by the swagger code generator program.
 | 
			
		||||
    Do not edit the class manually."""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init__(self):
 | 
			
		||||
        """
 | 
			
		||||
        Attributes:
 | 
			
		||||
          swaggerTypes (dict): The key is attribute name and the value is attribute type.
 | 
			
		||||
          attributeMap (dict): The key is attribute name and the value is json key in definition.
 | 
			
		||||
        """
 | 
			
		||||
        self.swaggerTypes = {
 | 
			
		||||
            
 | 
			
		||||
            'mountPath': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'name': 'str',
 | 
			
		||||
            
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'bool'
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.attributeMap = {
 | 
			
		||||
            
 | 
			
		||||
            'mountPath': 'mountPath',
 | 
			
		||||
            
 | 
			
		||||
            'name': 'name',
 | 
			
		||||
            
 | 
			
		||||
            'readOnly': 'readOnly'
 | 
			
		||||
            
 | 
			
		||||
        }       
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        #path within the container at which the volume should be mounted
 | 
			
		||||
        
 | 
			
		||||
        self.mountPath = None # str
 | 
			
		||||
        
 | 
			
		||||
        #name of the volume to mount
 | 
			
		||||
        
 | 
			
		||||
        self.name = None # str
 | 
			
		||||
        
 | 
			
		||||
        #mounted read-only if true, read-write otherwise (false or unspecified)
 | 
			
		||||
        
 | 
			
		||||
        self.readOnly = None # bool
 | 
			
		||||
        
 | 
			
		||||
							
								
								
									
										9
									
								
								magnum/common/pythonk8sclient/client/models/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								magnum/common/pythonk8sclient/client/models/__init__.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""Add all of the modules in the current directory to __all__"""
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
__all__ = []
 | 
			
		||||
 | 
			
		||||
for module in os.listdir(os.path.dirname(__file__)):
 | 
			
		||||
  if module != '__init__.py' and module[-3:] == '.py':
 | 
			
		||||
    __all__.append(module[:-3])
 | 
			
		||||
							
								
								
									
										272
									
								
								magnum/common/pythonk8sclient/client/swagger.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										272
									
								
								magnum/common/pythonk8sclient/client/swagger.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,272 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
"""Swagger generic API client. This client handles the client-
 | 
			
		||||
server communication, and is invariant across implementations. Specifics of
 | 
			
		||||
the methods and models for each application are generated from the Swagger
 | 
			
		||||
templates."""
 | 
			
		||||
 | 
			
		||||
import sys
 | 
			
		||||
import os
 | 
			
		||||
import re
 | 
			
		||||
import urllib
 | 
			
		||||
import urllib2
 | 
			
		||||
import httplib
 | 
			
		||||
import json
 | 
			
		||||
import datetime
 | 
			
		||||
import mimetypes
 | 
			
		||||
import random
 | 
			
		||||
import string
 | 
			
		||||
 | 
			
		||||
from models import *
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class ApiClient(object):
 | 
			
		||||
  """Generic API client for Swagger client library builds
 | 
			
		||||
 | 
			
		||||
  Attributes:
 | 
			
		||||
    host: The base path for the server to call
 | 
			
		||||
    headerName: a header to pass when making calls to the API
 | 
			
		||||
    headerValue: a header value to pass when making calls to the API
 | 
			
		||||
  """
 | 
			
		||||
  def __init__(self, host=None, headerName=None, headerValue=None):
 | 
			
		||||
    self.defaultHeaders = {}
 | 
			
		||||
    if (headerName is not None):
 | 
			
		||||
      self.defaultHeaders[headerName] = headerValue
 | 
			
		||||
    self.host = host
 | 
			
		||||
    self.cookie = None
 | 
			
		||||
    self.boundary = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(30))
 | 
			
		||||
    # Set default User-Agent.
 | 
			
		||||
    self.user_agent = 'Python-Swagger'
 | 
			
		||||
 | 
			
		||||
  @property
 | 
			
		||||
  def user_agent(self):
 | 
			
		||||
    return self.defaultHeaders['User-Agent']
 | 
			
		||||
 | 
			
		||||
  @user_agent.setter
 | 
			
		||||
  def user_agent(self, value):
 | 
			
		||||
    self.defaultHeaders['User-Agent'] = value
 | 
			
		||||
 | 
			
		||||
  def setDefaultHeader(self, headerName, headerValue):
 | 
			
		||||
    self.defaultHeaders[headerName] = headerValue
 | 
			
		||||
 | 
			
		||||
  def callAPI(self, resourcePath, method, queryParams, postData,
 | 
			
		||||
              headerParams=None, files=None):
 | 
			
		||||
 | 
			
		||||
    url = self.host + resourcePath
 | 
			
		||||
 | 
			
		||||
    mergedHeaderParams = self.defaultHeaders.copy()
 | 
			
		||||
    mergedHeaderParams.update(headerParams)
 | 
			
		||||
    headers = {}
 | 
			
		||||
    if mergedHeaderParams:
 | 
			
		||||
      for param, value in mergedHeaderParams.iteritems():
 | 
			
		||||
        headers[param] = ApiClient.sanitizeForSerialization(value)
 | 
			
		||||
 | 
			
		||||
    if self.cookie:
 | 
			
		||||
      headers['Cookie'] = ApiClient.sanitizeForSerialization(self.cookie)
 | 
			
		||||
 | 
			
		||||
    data = None
 | 
			
		||||
 | 
			
		||||
    if queryParams:
 | 
			
		||||
      # Need to remove None values, these should not be sent
 | 
			
		||||
      sentQueryParams = {}
 | 
			
		||||
      for param, value in queryParams.items():
 | 
			
		||||
        if value is not None:
 | 
			
		||||
          sentQueryParams[param] = ApiClient.sanitizeForSerialization(value)
 | 
			
		||||
      url = url + '?' + urllib.urlencode(sentQueryParams)
 | 
			
		||||
 | 
			
		||||
    if method in ['GET']:
 | 
			
		||||
      #Options to add statements later on and for compatibility
 | 
			
		||||
      pass
 | 
			
		||||
 | 
			
		||||
    elif method in ['POST', 'PUT', 'DELETE']:
 | 
			
		||||
      if postData:
 | 
			
		||||
        postData = ApiClient.sanitizeForSerialization(postData)
 | 
			
		||||
        if 'Content-type' not in headers:
 | 
			
		||||
          headers['Content-type'] = 'application/json'
 | 
			
		||||
          data = json.dumps(postData)
 | 
			
		||||
        elif headers['Content-type'] == 'multipart/form-data':
 | 
			
		||||
          data = self.buildMultipartFormData(postData, files)
 | 
			
		||||
          headers['Content-type'] = 'multipart/form-data; boundary={0}'.format(self.boundary)
 | 
			
		||||
          headers['Content-length'] = str(len(data))
 | 
			
		||||
        else:
 | 
			
		||||
            data = urllib.urlencode(postData)
 | 
			
		||||
 | 
			
		||||
    else:
 | 
			
		||||
      raise Exception('Method ' + method + ' is not recognized.')
 | 
			
		||||
 | 
			
		||||
    request = MethodRequest(method=method, url=url, headers=headers,
 | 
			
		||||
                            data=data)
 | 
			
		||||
 | 
			
		||||
    # Make the request
 | 
			
		||||
    response = urllib2.urlopen(request)
 | 
			
		||||
    if 'Set-Cookie' in response.headers:
 | 
			
		||||
      self.cookie = response.headers['Set-Cookie']
 | 
			
		||||
    string = response.read()
 | 
			
		||||
 | 
			
		||||
    try:
 | 
			
		||||
      data = json.loads(string)
 | 
			
		||||
    except ValueError:  # PUT requests don't return anything
 | 
			
		||||
      data = None
 | 
			
		||||
 | 
			
		||||
    return data
 | 
			
		||||
 | 
			
		||||
  def toPathValue(self, obj):
 | 
			
		||||
    """Convert a string or object to a path-friendly value
 | 
			
		||||
    Args:
 | 
			
		||||
        obj -- object or string value
 | 
			
		||||
    Returns:
 | 
			
		||||
        string -- quoted value
 | 
			
		||||
    """
 | 
			
		||||
    if type(obj) == list:
 | 
			
		||||
      return ','.join(obj)
 | 
			
		||||
    else:
 | 
			
		||||
      return str(obj)
 | 
			
		||||
 | 
			
		||||
  @staticmethod
 | 
			
		||||
  def sanitizeForSerialization(obj):
 | 
			
		||||
    """
 | 
			
		||||
    Sanitize an object for Request.
 | 
			
		||||
 | 
			
		||||
    If obj is None, return None.
 | 
			
		||||
    If obj is str, int, long, float, bool, return directly.
 | 
			
		||||
    If obj is datetime.datetime, datetime.date convert to string in iso8601 format.
 | 
			
		||||
    If obj is list, santize each element in the list.
 | 
			
		||||
    If obj is dict, return the dict.
 | 
			
		||||
    If obj is swagger model, return the properties dict.
 | 
			
		||||
    """
 | 
			
		||||
    if isinstance(obj, type(None)):
 | 
			
		||||
      return None
 | 
			
		||||
    elif isinstance(obj, (str, int, long, float, bool, file)):
 | 
			
		||||
      return obj
 | 
			
		||||
    elif isinstance(obj, list):
 | 
			
		||||
      return [ApiClient.sanitizeForSerialization(subObj) for subObj in obj]
 | 
			
		||||
    elif isinstance(obj, (datetime.datetime, datetime.date)):
 | 
			
		||||
      return obj.isoformat()
 | 
			
		||||
    else:
 | 
			
		||||
      if isinstance(obj, dict):
 | 
			
		||||
        objDict = obj
 | 
			
		||||
      else:
 | 
			
		||||
        # Convert model obj to dict except attributes `swaggerTypes`, `attributeMap`
 | 
			
		||||
        # and attributes which value is not None.
 | 
			
		||||
        # Convert attribute name to json key in model definition for request.
 | 
			
		||||
        objDict = {obj.attributeMap[key]: val
 | 
			
		||||
                   for key, val in obj.__dict__.iteritems()
 | 
			
		||||
                   if key != 'swaggerTypes' and key != 'attributeMap' and val is not None}
 | 
			
		||||
      return {key: ApiClient.sanitizeForSerialization(val)
 | 
			
		||||
              for (key, val) in objDict.iteritems()}
 | 
			
		||||
 | 
			
		||||
  def buildMultipartFormData(self, postData, files):
 | 
			
		||||
    def escape_quotes(s):
 | 
			
		||||
      return s.replace('"', '\\"')
 | 
			
		||||
 | 
			
		||||
    lines = []
 | 
			
		||||
 | 
			
		||||
    for name, value in postData.items():
 | 
			
		||||
      lines.extend((
 | 
			
		||||
        '--{0}'.format(self.boundary),
 | 
			
		||||
        'Content-Disposition: form-data; name="{0}"'.format(escape_quotes(name)),
 | 
			
		||||
        '',
 | 
			
		||||
        str(value),
 | 
			
		||||
      ))
 | 
			
		||||
 | 
			
		||||
    for name, filepath in files.items():
 | 
			
		||||
      f = open(filepath, 'r')
 | 
			
		||||
      filename = filepath.split('/')[-1]
 | 
			
		||||
      mimetype = mimetypes.guess_type(filename)[0] or 'application/octet-stream'
 | 
			
		||||
      lines.extend((
 | 
			
		||||
        '--{0}'.format(self.boundary),
 | 
			
		||||
        'Content-Disposition: form-data; name="{0}"; filename="{1}"'.format(escape_quotes(name), escape_quotes(filename)),
 | 
			
		||||
        'Content-Type: {0}'.format(mimetype),
 | 
			
		||||
        '',
 | 
			
		||||
        f.read()
 | 
			
		||||
      ))
 | 
			
		||||
 | 
			
		||||
    lines.extend((
 | 
			
		||||
      '--{0}--'.format(self.boundary),
 | 
			
		||||
      ''
 | 
			
		||||
    ))
 | 
			
		||||
    return '\r\n'.join(lines)
 | 
			
		||||
 | 
			
		||||
  def deserialize(self, obj, objClass):
 | 
			
		||||
    """Derialize a JSON string into an object.
 | 
			
		||||
 | 
			
		||||
    Args:
 | 
			
		||||
        obj -- string or object to be deserialized
 | 
			
		||||
        objClass -- class literal for deserialzied object, or string
 | 
			
		||||
            of class name
 | 
			
		||||
    Returns:
 | 
			
		||||
        object -- deserialized object"""
 | 
			
		||||
 | 
			
		||||
    # Have to accept objClass as string or actual type. Type could be a
 | 
			
		||||
    # native Python type, or one of the model classes.
 | 
			
		||||
    if type(objClass) == str:
 | 
			
		||||
      if 'list[' in objClass:
 | 
			
		||||
        match = re.match('list\[(.*)\]', objClass)
 | 
			
		||||
        subClass = match.group(1)
 | 
			
		||||
        return [self.deserialize(subObj, subClass) for subObj in obj]
 | 
			
		||||
 | 
			
		||||
      if (objClass in ['int', 'float', 'long', 'dict', 'list', 'str', 'bool', 'datetime']):
 | 
			
		||||
        objClass = eval(objClass)
 | 
			
		||||
      else:  # not a native type, must be model class
 | 
			
		||||
        objClass = eval(objClass + '.' + objClass)
 | 
			
		||||
 | 
			
		||||
    if objClass in [int, long, float, dict, list, str, bool]:
 | 
			
		||||
      return objClass(obj)
 | 
			
		||||
    elif objClass == datetime:
 | 
			
		||||
      return self.__parse_string_to_datetime(obj)
 | 
			
		||||
 | 
			
		||||
    instance = objClass()
 | 
			
		||||
 | 
			
		||||
    for attr, attrType in instance.swaggerTypes.iteritems():
 | 
			
		||||
        if obj is not None and instance.attributeMap[attr] in obj and type(obj) in [list, dict]:
 | 
			
		||||
          value = obj[instance.attributeMap[attr]]
 | 
			
		||||
          if attrType in ['str', 'int', 'long', 'float', 'bool']:
 | 
			
		||||
            attrType = eval(attrType)
 | 
			
		||||
            try:
 | 
			
		||||
              value = attrType(value)
 | 
			
		||||
            except UnicodeEncodeError:
 | 
			
		||||
              value = unicode(value)
 | 
			
		||||
            except TypeError:
 | 
			
		||||
              value = value
 | 
			
		||||
            setattr(instance, attr, value)
 | 
			
		||||
          elif (attrType == 'datetime'):
 | 
			
		||||
            setattr(instance, attr, self.__parse_string_to_datetime(value))
 | 
			
		||||
          elif 'list[' in attrType:
 | 
			
		||||
            match = re.match('list\[(.*)\]', attrType)
 | 
			
		||||
            subClass = match.group(1)
 | 
			
		||||
            subValues = []
 | 
			
		||||
            if not value:
 | 
			
		||||
              setattr(instance, attr, None)
 | 
			
		||||
            else:
 | 
			
		||||
              for subValue in value:
 | 
			
		||||
                subValues.append(self.deserialize(subValue, subClass))
 | 
			
		||||
            setattr(instance, attr, subValues)
 | 
			
		||||
          else:
 | 
			
		||||
            setattr(instance, attr, self.deserialize(value, attrType))
 | 
			
		||||
 | 
			
		||||
    return instance
 | 
			
		||||
 | 
			
		||||
  def __parse_string_to_datetime(self, string):
 | 
			
		||||
    """
 | 
			
		||||
    Parse datetime in string to datetime.
 | 
			
		||||
 | 
			
		||||
    The string should be in iso8601 datetime format.
 | 
			
		||||
    """
 | 
			
		||||
    try:
 | 
			
		||||
        from dateutil.parser import parse
 | 
			
		||||
        return parse(string)
 | 
			
		||||
    except ImportError:
 | 
			
		||||
        return string
 | 
			
		||||
 | 
			
		||||
class MethodRequest(urllib2.Request):
 | 
			
		||||
  def __init__(self, *args, **kwargs):
 | 
			
		||||
    """Construct a MethodRequest. Usage is the same as for
 | 
			
		||||
    `urllib2.Request` except it also takes an optional `method`
 | 
			
		||||
    keyword argument. If supplied, `method` will be used instead of
 | 
			
		||||
    the default."""
 | 
			
		||||
 | 
			
		||||
    if 'method' in kwargs:
 | 
			
		||||
      self.method = kwargs.pop('method')
 | 
			
		||||
    return urllib2.Request.__init__(self, *args, **kwargs)
 | 
			
		||||
 | 
			
		||||
  def get_method(self):
 | 
			
		||||
    return getattr(self, 'method', urllib2.Request.get_method(self))
 | 
			
		||||
							
								
								
									
										8815
									
								
								magnum/common/pythonk8sclient/templates/v1beta3.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8815
									
								
								magnum/common/pythonk8sclient/templates/v1beta3.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user