Merge "Add plugin interface version"

This commit is contained in:
Jenkins 2015-07-29 15:46:34 +00:00 committed by Gerrit Code Review
commit 9c492b742d
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ class ClientCache(object):
class ClientManager(object):
"""Manages access to API clients, including authentication."""
# A simple incrementing version for the plugin to know what is available
PLUGIN_INTERFACE_VERSION = "2"
identity = ClientCache(identity_client.make_client)
def __getattr__(self, name):