Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs/services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ UBill
:members:


UClickhouse
-----------

.. autoclass:: ucloud.services.uclickhouse.client.UClickhouseClient
:members:


UCompShare
----------

Expand Down Expand Up @@ -199,6 +206,13 @@ UEC
:members:


UES
---

.. autoclass:: ucloud.services.ues.client.UESClient
:members:


UFS
---

Expand All @@ -220,6 +234,13 @@ UGN
:members:


UHadoop
-------

.. autoclass:: ucloud.services.uhadoop.client.UHadoopClient
:members:


UHub
----

Expand All @@ -234,6 +255,13 @@ UK8S
:members:


UKafka
------

.. autoclass:: ucloud.services.ukafka.client.UKafkaClient
:members:


ULogService
-----------

Expand Down
40 changes: 40 additions & 0 deletions ucloud/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ def ucdn(self):
self.logger,
)

def uclickhouse(self):
from ucloud.services.uclickhouse.client import UClickhouseClient

return UClickhouseClient(
self._auto_config("uclickhouse"),
self.transport,
self.middleware,
self.logger,
)

def ucompshare(self):
from ucloud.services.ucompshare.client import UCompShareClient

Expand Down Expand Up @@ -242,6 +252,16 @@ def uec(self):
self.logger,
)

def ues(self):
from ucloud.services.ues.client import UESClient

return UESClient(
self._auto_config("ues"),
self.transport,
self.middleware,
self.logger,
)

def ufs(self):
from ucloud.services.ufs.client import UFSClient

Expand Down Expand Up @@ -272,6 +292,16 @@ def ugn(self):
self.logger,
)

def uhadoop(self):
from ucloud.services.uhadoop.client import UHadoopClient

return UHadoopClient(
self._auto_config("uhadoop"),
self.transport,
self.middleware,
self.logger,
)

def uhost(self):
from ucloud.services.uhost.client import UHostClient

Expand Down Expand Up @@ -302,6 +332,16 @@ def uk8s(self):
self.logger,
)

def ukafka(self):
from ucloud.services.ukafka.client import UKafkaClient

return UKafkaClient(
self._auto_config("ukafka"),
self.transport,
self.middleware,
self.logger,
)

def ulb(self):
from ucloud.services.ulb.client import ULBClient

Expand Down
Empty file.
Loading