本文整理汇总了Python中vas.util.LinkUtils.LinkUtils类的典型用法代码示例。如果您正苦于以下问题:Python LinkUtils类的具体用法?Python LinkUtils怎么用?Python LinkUtils使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了LinkUtils类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, client, location):
super(NodeRevision, self).__init__(client, location)
self.__version = self._details['version']
self.__application_location = LinkUtils.get_link_href(self._details, 'node-application')
self.__group_revision_location = LinkUtils.get_link_href(self._details, 'group-revision')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:7,代码来源:NodeRevisions.py
示例2: __init__
def __init__(self, client, location):
super(Statistic, self).__init__(client, location)
self.__path = self._details['path']
self.__instance_location = LinkUtils.get_link_href(self._details, 'cache-server-node-instance')
self.__content_location = LinkUtils.get_link_href(self._details, 'content')
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:7,代码来源:Statistics.py
示例3: __init__
def __init__(self, client, location):
super(CacheServerNodeInstance, self).__init__(client, location, Node, CacheServerLogs, CacheServerInstance,
'cache-server-group-instance', CacheServerNodeLiveConfigurations)
self.__disk_stores_location = LinkUtils.get_link_href(self._details, 'disk-stores')
self.__state_location = LinkUtils.get_link_href(self._details, 'state')
self.__statistics_location = LinkUtils.get_link_href(self._details, 'statistics')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:7,代码来源:CacheServerNodeInstances.py
示例4: __init__
def __init__(self, client, location):
self.__client = client
self.__location = location
json = client.get(location)
self.__agent_image = AgentImage(client, LinkUtils.get_link_href(json, 'agent-image'))
self.__nodes = Nodes(client, LinkUtils.get_link_href(json, 'nodes'))
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:7,代码来源:VFabric.py
示例5: __init__
def __init__(self, client, location, instance_type, instance_class):
super(Log, self).__init__(client, location)
self.__content_location = LinkUtils.get_link_href(self._details, 'content')
self.__instance_location = LinkUtils.get_link_href(self._details, instance_type)
self.__instance_class = instance_class
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:7,代码来源:Logs.py
示例6: __init__
def __init__(self, client, location):
super(Revision, self).__init__(client, location)
self.__version = self._details['version']
self.__application_location = LinkUtils.get_link_href(self._details, 'group-application')
self.__revision_image_location = LinkUtils.get_link_href(self._details, 'revision-image')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:7,代码来源:Revisions.py
示例7: __init__
def __init__(self, client, location):
super(DiskStore, self).__init__(client, location)
self.__name = self._details['name']
self.__instance_location = LinkUtils.get_link_href(self._details, 'cache-server-node-instance')
self.__content_location = LinkUtils.get_link_href(self._details, 'content')
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:7,代码来源:DiskStores.py
示例8: __init__
def __init__(self, client, location):
self.__client = client
self.__location = location
json = client.get(location)
self.__groups = Groups(client, LinkUtils.get_link_href(json, 'groups'))
self.__installation_images = InstallationImages(client, LinkUtils.get_link_href(json, 'installation-images'))
self.__nodes = Nodes(client, LinkUtils.get_link_href(json, 'nodes'))
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:8,代码来源:WebServer.py
示例9: __init__
def __init__(self, client, location):
super(Template, self).__init__(client, location)
self.__name = self._details['name']
self.__version = self._details['version']
self.__installation_location = LinkUtils.get_link_href(self._details, 'installation')
self.__template_image_location = LinkUtils.get_link_href(self._details, 'template-image')
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:8,代码来源:Templates.py
示例10: __init__
def __init__(self, client, location):
super(ApplicationCode, self).__init__(client, location)
self.__name = self._details['name']
self.__version = self._details['version']
self.__application_code_image_location = LinkUtils.get_link_href(self._details, 'application-code-image')
self.__instance_location = LinkUtils.get_link_href(self._details, 'cache-server-group-instance')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:8,代码来源:ApplicationCode.py
示例11: __init__
def __init__(self, client, location):
super(Plugin, self).__init__(client, location)
self.__name = self._details['name']
self.__version = self._details['version']
self.__instance_location = LinkUtils.get_link_href(self._details, 'group-instance')
self.__plugin_image_location = LinkUtils.get_link_href(self._details, 'plugin-image')
self.__state_location = LinkUtils.get_link_href(self._details, 'state')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:9,代码来源:Plugins.py
示例12: __init__
def __init__(self, client, location):
super(Application, self).__init__(client, location)
self.__context_path = self._details['context-path']
self.__host = self._details['host']
self.__name = self._details['name']
self.__service = self._details['service']
self.__revisions_location = LinkUtils.get_link_href(self._details, 'group-revisions')
self.__instance_location = LinkUtils.get_link_href(self._details, 'group-instance')
开发者ID:appsuite,项目名称:vas-python-api,代码行数:10,代码来源:Applications.py
示例13: __init__
def __init__(self, client, location, installation_image_class, group_class):
super(Installation, self).__init__(client, location)
self.__installation_image_location = LinkUtils.get_link_href(self._details, 'installation-image')
self.__group_location = LinkUtils.get_link_href(self._details, 'group')
self.__installation_image_class = installation_image_class
self.__group_class = group_class
self.__version = self._details['version']
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:10,代码来源:Installations.py
示例14: __init__
def __init__(self, client, location):
self.__client = client
self.__location = location
json = client.get(location)
self.__groups = Groups(client, LinkUtils.get_link_href(json, "groups"))
self.__installation_images = InstallationImages(client, LinkUtils.get_link_href(json, "installation-images"))
self.__nodes = Nodes(client, LinkUtils.get_link_href(json, "nodes"))
self.__revision_images = RevisionImages(client, LinkUtils.get_link_href(json, "revision-images"))
self.__template_images = TemplateImages(client, LinkUtils.get_link_href(json, "template-images"))
开发者ID:appsuite,项目名称:vas-python-api,代码行数:10,代码来源:TcServer.py
示例15: __init__
def __init__(self, client, location, instance_type, instance_class, group_configuration_class):
super(NodeConfiguration, self).__init__(client, location)
self.__instance_class = instance_class
self.__group_configuration_class = group_configuration_class
self.__instance_location = LinkUtils.get_link_href(self._details, instance_type)
self.__group_configuration_location = LinkUtils.get_link_href(self._details, 'group-live-configuration')
self.__content_location = LinkUtils.get_link_href(self._details, 'content')
self.__path = self._details['path']
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:11,代码来源:NodeConfiguration.py
示例16: __init__
def __init__(self, client, location, node_class, logs_class, group_instance_class, group_instance_type,
node_live_configurations_class):
super(NodeInstance, self).__init__(client, location)
self.__node_class = node_class
self.__logs_class = logs_class
self.__group_instance_class = group_instance_class
self.__live_configurations_class = node_live_configurations_class
self.__node_location = LinkUtils.get_link_href(self._details, 'node')
self.__logs_location = LinkUtils.get_link_href(self._details, 'logs')
self.__group_instance_location = LinkUtils.get_link_href(self._details, group_instance_type)
self.__live_configurations_location = LinkUtils.get_link_href(self._details, 'node-live-configurations')
self.__name = self._details['name']
开发者ID:appsuite,项目名称:vas-python-api,代码行数:15,代码来源:NodeInstances.py
示例17: __init__
def __init__(self, client, location):
super(Instance, self).__init__(client, location, Group, Installation, LiveConfigurations, PendingConfigurations,
NodeInstance, 'node-instance')
self.__layout = self._details['layout']
self.__applications_location = LinkUtils.get_link_href(self._details, 'group-applications')
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:7,代码来源:Instances.py
示例18: __init__
def __init__(self, client, location, group_class, installation_class, live_configurations_class,
pending_configurations_class, node_instance_class, node_instance_type):
super(Instance, self).__init__(client, location)
self.__live_configurations_location = LinkUtils.get_link_href(self._details, 'live-configurations')
self.__pending_configurations_location = LinkUtils.get_link_href(self._details, 'pending-configurations')
self.__group_location = LinkUtils.get_link_href(self._details, 'group')
self.__state_location = LinkUtils.get_link_href(self._details, 'state')
self.__group_class = group_class
self.__installation_class = installation_class
self.__node_instance_class = node_instance_class
self.__live_configurations_class = live_configurations_class
self.__pending_configurations_class = pending_configurations_class
self.__node_instance_type = node_instance_type
self.__name = self._details['name']
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:17,代码来源:Instance.py
示例19: reload
def reload(self):
"""Reloads the instance's details from the server"""
super(Instance, self).reload()
self.__installation_location = LinkUtils.get_link_href(self._details, 'installation')
self.__installation = None
self.__node_instances = None
开发者ID:vdreamakitex,项目名称:vas-python-api,代码行数:8,代码来源:Instance.py
示例20: __init__
def __init__(self, client, location, nodes_class, installations_class):
super(Group, self).__init__(client, location)
self.__installations_class = installations_class
self.__nodes_class = nodes_class
self.__installations_location = LinkUtils.get_link_href(self._details, 'installations')
self.__name = self._details['name']
开发者ID:appsuite,项目名称:vas-python-api,代码行数:9,代码来源:Groups.py
注:本文中的vas.util.LinkUtils.LinkUtils类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论