Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatasetAPIClient ¶
type DatasetAPIClient interface {
GetDatasets(ctx context.Context, userAuthToken, serviceAuthToken, collectionID string, q *datasetclient.QueryParams) (m datasetclient.List, err error)
GetEditions(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, datasetID string) (m []datasetclient.Edition, err error)
GetFullEditionsDetails(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, datasetID string) (m []datasetclient.EditionsDetails, err error)
GetVersionMetadata(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, id, edition, version string) (m datasetclient.Metadata, err error)
}
DatasetAPIClient defines the dataset client
type ElasticSearch ¶ added in v1.34.0
type ElasticSearch dpEsClient.Client
ElasticSearch is an alias to the dp-elasticsearch client
type ZebedeeClient ¶
type ZebedeeClient interface {
GetPublishedIndex(ctx context.Context, piRequest *zebedee.PublishedIndexRequestParams) (zebedee.PublishedIndex, error)
GetPublishedData(ctx context.Context, uriString string) ([]byte, error)
}
ZebedeeClient defines the zebedee client
Click to show internal directories.
Click to hide internal directories.