(P) agent¶
(M) PeekAgentPlatformHookABC¶
-
class
peek_plugin_base.agent.PeekAgentPlatformHookABC.
PeekAgentPlatformHookABC
[source]¶ Bases:
peek_plugin_base.PeekPlatformCommonHookABC.PeekPlatformCommonHookABC
,peek_plugin_base.PeekPlatformServerInfoHookABC.PeekPlatformServerInfoHookABC
,peek_plugin_base.agent.PeekPlatformAgentHttpHookABC.PeekPlatformAgentHttpHookABC
(M) PeekPlatformAgentHttpHookABC¶
-
class
peek_plugin_base.agent.PeekPlatformAgentHttpHookABC.
PeekPlatformAgentHttpHookABC
[source]¶ Bases:
object
Peek Agent Service HTTP External API Hook
The methods provided by this class apply to the HTTP service that provides resources (vortex, etc) between the server and the agent, worker and client.
These resources will not be available to the web apps.
-
addAgentExternalApiResource
(pluginSubPath: bytes, resource: txhttputil.site.BasicResource.BasicResource) → None[source]¶ Add Agent Resource
Add a cusotom implementation of a served http resource.
Parameters: - pluginSubPath – The resource path where you want to serve this resource.
- resource – The resource to serve.
Returns: None
-
rootAgentResource
¶ Agent Root Resource
This returns the root site resource for this plugin.
-
(M) PluginAgentEntryHookABC¶
-
class
peek_plugin_base.agent.PluginAgentEntryHookABC.
PluginAgentEntryHookABC
(pluginName: str, pluginRootDir: str, platform: peek_plugin_base.agent.PeekAgentPlatformHookABC.PeekAgentPlatformHookABC)[source]¶ Bases:
peek_plugin_base.PluginCommonEntryHookABC.PluginCommonEntryHookABC
-
platform
¶
-
publishedAgentApi
¶
-