コード例 #1
0
ファイル: base.py プロジェクト: c00cjz00/TWCCCLI2
    def __init__(self, debug=False):
        """ constractor for this ACL class

        Args:
            api_key_tag (str): see YAML for detail
        """
        GenericService.__init__(self, debug=debug)

        self._csite_ = "admin"
        self.res_type = "json"
コード例 #2
0
ファイル: base.py プロジェクト: c00cjz00/TWCCCLI2
    def __init__(self, api_key_tag, debug=False):
        """ constractor for this keypairs class

        Args:
            api_key_tag (str): see YAML for detail
        """
        GenericService.__init__(self)
        # current working information
        self._csite_ = "openstack-taichung-suse"
        self._api_key_ = api_key_tag
        self._debug_ = debug
コード例 #3
0
ファイル: base.py プロジェクト: c00cjz00/TWCCCLI2
    def __init__(self, debug=False):
        GenericService.__init__(self, debug=debug)

        self._csite_ = "goc"
コード例 #4
0
ファイル: base.py プロジェクト: c00cjz00/TWCCCLI2
 def __init__(self, debug=False):
     GenericService.__init__(self, debug=debug)
コード例 #5
0
    def __init__(self, api_key_tag, debug=False):
        GenericService.__init__(self, debug=debug)

        self._csite_ = "k8s-taichung-default"
        self._api_key_ = api_key_tag
コード例 #6
0
ファイル: compute.py プロジェクト: sonyeric/TWCC-CLI
    def __init__(self, debug=False):
        GenericService.__init__(self, debug=debug)

        self._csite_ = "k8s-taichung-default"
        self._cache_sol_ = {}
コード例 #7
0
    def __init__(self, api_key_tag, debug=False):
        GenericService.__init__(self, debug=debug)

        self._csite_ = 'harbor'
        self._api_key_ = api_key_tag
        self.res_type = "txt"
コード例 #8
0
ファイル: network.py プロジェクト: c00cjz00/TWCCCLI2
 def __init__(self, api_key_tag, debug=False):
     GenericService.__init__(self, debug=debug)
     self._csite_ = 'openstack-taichung-community'
     self._api_key_ = api_key_tag