clients

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertDataCatalogGrpcRespToOpenAPIResp

func ConvertDataCatalogGrpcRespToOpenAPIResp(result *pb.CatalogDatasetInfo) (*datacatalog.GetAssetResponse, error)

func ConvertDataCatalogOpenAPIReqToGrpcReq

func ConvertDataCatalogOpenAPIReqToGrpcReq(in *datacatalog.GetAssetRequest, creds string) (*pb.CatalogDatasetRequest, error)

Types

type DataCatalog

DataCatalog is an interface of a facade to a data catalog.

func NewDataCatalog

func NewDataCatalog(catalogProviderName, catalogConnectorAddress string, connectionTimeout time.Duration,
	schema *kruntime.Scheme) (DataCatalog, error)

func NewGrpcDataCatalog

func NewGrpcDataCatalog(name, connectionURL string, connectionTimeout time.Duration) (DataCatalog, error)

NewGrpcDataCatalog creates a DataCatalog facade that connects to a GRPC service You must call .Close() when you are done using the created instance

func NewOpenAPIDataCatalog

func NewOpenAPIDataCatalog(name, connectionURL string, connectionTimeout time.Duration,
	schema *kruntime.Scheme) DataCatalog

NewopenApiDataCatalog creates a DataCatalog facade that connects to a openApi service

Jump to

Keyboard shortcuts

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