@daocloud-proto/insight 0.10.0 → 0.11.0-2
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.
|
@@ -175,8 +175,8 @@ export class Metric {
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
export class Resource {
|
|
178
|
-
static ListClusters(req:
|
|
179
|
-
return fm.fetchReq<
|
|
178
|
+
static ListClusters(req: InsightIoApiResourceV1alpha1Cluster.ListClusterRequest, initReq?: fm.InitReq): Promise<InsightIoApiResourceV1alpha1Cluster.ListClustersResponse> {
|
|
179
|
+
return fm.fetchReq<InsightIoApiResourceV1alpha1Cluster.ListClusterRequest, InsightIoApiResourceV1alpha1Cluster.ListClustersResponse>(`/apis/insight.io/v1alpha1/clusters?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
180
180
|
}
|
|
181
181
|
static ListClusterSummary(req: InsightIoApiResourceV1alpha1Cluster.ListClusterSummaryRequest, initReq?: fm.InitReq): Promise<InsightIoApiResourceV1alpha1Cluster.ListClusterSummaryResponse> {
|
|
182
182
|
return fm.fetchReq<InsightIoApiResourceV1alpha1Cluster.ListClusterSummaryRequest, InsightIoApiResourceV1alpha1Cluster.ListClusterSummaryResponse>(`/apis/insight.io/v1alpha1/clustersummary?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -52,14 +52,17 @@ export type EmailConfig = {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export type ListReceiversRequest = {
|
|
55
|
+
name?: string
|
|
55
56
|
type?: ReceiverType
|
|
56
57
|
page?: number
|
|
57
58
|
pageSize?: number
|
|
58
59
|
sorts?: string[]
|
|
60
|
+
exactSearch?: boolean
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
export type GetReceiversRequest = {
|
|
62
64
|
name?: string
|
|
65
|
+
type?: ReceiverType
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
export type DeleteReceiversRequest = {
|
package/package.json
CHANGED
|
@@ -51,10 +51,15 @@ export type Cluster = {
|
|
|
51
51
|
role?: Role
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
export type ListClusterRequest = {
|
|
55
|
+
showAllCluster?: boolean
|
|
56
|
+
}
|
|
57
|
+
|
|
54
58
|
export type ListClusterSummaryRequest = {
|
|
55
59
|
name?: string
|
|
56
60
|
version?: string
|
|
57
61
|
phase?: ClusterPhase
|
|
62
|
+
showAllCluster?: boolean
|
|
58
63
|
page?: number
|
|
59
64
|
pageSize?: number
|
|
60
65
|
}
|