Skip to main content

RegisterConnectorPlugin

Registers a connector plugin with the plugin machinery. This function also registers ResourceMetaWrapper and ResourceWrapper types with the gob package for serialization.

def RegisterConnectorPlugin(
connectorService: *ConnectorService
)

Registers a new connector plugin with the system. This function initializes the necessary components for the plugin to operate, including registering specific data structures for Gob encoding/decoding, and then adds the plugin to the global plugin registry.

Parameters

NameTypeDescription
connectorService*ConnectorServiceThe service instance that the connector plugin will use to interact with the system's core functionalities.