Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
HTTPClient implements asset.LineageParserClient by calling an external column-lineage HTTP service.
func NewHTTPClient ¶
func NewHTTPClient(host string) *HTTPClient
func (*HTTPClient) FetchColumnLineage ¶
func (c *HTTPClient) FetchColumnLineage(ctx context.Context, query string) (asset.LineageGraph, error)
FetchColumnLineage calls the external lineage service with query and returns the parsed LineageGraph. Returns nil, nil when the host is not configured.