Documentation ¶
Index ¶
- func DBToPBConnector(dbConnector *datamodel.Connector, connectorType datamodel.ConnectorType, ...) interface{}
- func DBToPBConnectorDefinition(dbSrcDef *datamodel.ConnectorDefinition, connectorType datamodel.ConnectorType) interface{}
- func NewHandler(s service.Service) connectorPB.ConnectorServiceServer
- func PBToDBConnector(pbConnector interface{}, connectorType datamodel.ConnectorType, ...) *datamodel.Connector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBToPBConnector ¶
func DBToPBConnector( dbConnector *datamodel.Connector, connectorType datamodel.ConnectorType, owner string, connectorDefinition string) interface{}
DBToPBConnector converts db data model to protobuf data model
func DBToPBConnectorDefinition ¶
func DBToPBConnectorDefinition(dbSrcDef *datamodel.ConnectorDefinition, connectorType datamodel.ConnectorType) interface{}
DBToPBConnectorDefinition converts db data model to protobuf data model
func NewHandler ¶
func NewHandler(s service.Service) connectorPB.ConnectorServiceServer
NewHandler initiates a handler instance
func PBToDBConnector ¶
func PBToDBConnector( pbConnector interface{}, connectorType datamodel.ConnectorType, ownerRscName string, connectorDefinitionUID uuid.UUID) *datamodel.Connector
PBToDBConnector converts protobuf data model to db data model
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.