TaskD Proxy APIs
def init_taskd_proxy(config : dict) -> bool:
The user-side code calls this function to initialize TaskD Proxy.
Table 1 Parameter description
| Parameter | Type | Description |
|---|---|---|
| config | dict:{str : str} | TaskD Proxy configuration information, including TaskD Proxy configuration and network configuration.
|
Table 2 Return value description
| Return Value Type | Description |
|---|---|
| bool | Indicates whether the initialization is successful.
|
def destroy_taskd_proxy() -> bool:
The user-side code calls this function to destroy TaskD Proxy. This function must be used after init_taskd_proxy is called.
None
Table 1 Return value description
| Return Value Type | Description |
|---|---|
| bool | Indicates whether the destruction is successful.
|