handler

package
v0.7.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL