@daocloud-proto/hydra 0.0.0-dev-e73bb2f9 → 0.0.0-dev-682c9134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,6 +56,13 @@ export type GetExportURIResponse = {
|
|
|
56
56
|
method?: string
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
export type GetAnalysisURIRequest = {
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type GetAnalysisURIResponse = {
|
|
63
|
+
uri?: string
|
|
64
|
+
}
|
|
65
|
+
|
|
59
66
|
export class CoreService {
|
|
60
67
|
static AdminListCluster(req: ListClusterRequest, initReq?: fm.InitReq): Promise<ListClusterResponse> {
|
|
61
68
|
return fm.fetchReq<ListClusterRequest, ListClusterResponse>(`/apis/admin.hydra.io/v1alpha1/clusters?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -69,4 +76,7 @@ export class CoreService {
|
|
|
69
76
|
static GetExportURI(req: GetExportURIRequest, initReq?: fm.InitReq): Promise<GetExportURIResponse> {
|
|
70
77
|
return fm.fetchReq<GetExportURIRequest, GetExportURIResponse>(`/apis/admin.hydra.io/v1alpha1/export-uri?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
71
78
|
}
|
|
79
|
+
static GetAnalysisURI(req: GetAnalysisURIRequest, initReq?: fm.InitReq): Promise<GetAnalysisURIResponse> {
|
|
80
|
+
return fm.fetchReq<GetAnalysisURIRequest, GetAnalysisURIResponse>(`/apis/admin.hydra.io/v1alpha1/analysis-uri?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
81
|
+
}
|
|
72
82
|
}
|