當前位置: 首頁>>代碼示例>>Python>>正文


Python LinkUtils.LinkUtils類代碼示例

本文整理匯總了Python中vas.util.LinkUtils.LinkUtils的典型用法代碼示例。如果您正苦於以下問題:Python LinkUtils類的具體用法?Python LinkUtils怎麽用?Python LinkUtils使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了LinkUtils類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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


注:本文中的vas.util.LinkUtils.LinkUtils類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。