@daocloud-proto/kpanda 0.11.3-111 → 0.11.3-123
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.
- package/kpanda.io/api/addon/v1alpha1/helmchart.pb.ts +1 -0
- package/kpanda.io/api/addon/v1alpha1/helmrepo.pb.ts +1 -0
- package/kpanda.io/api/autoscaling/v1alpha1/horizontalpodautoscaler.pb.ts +6 -0
- package/kpanda.io/api/clusterlcm/v1alpha1/clusterlcm.pb.ts +0 -20
- package/kpanda.io/api/kangaroo/v1alpha1/image.pb.ts +90 -0
- package/kpanda.io/api/v1alpha1/kpanda.pb.ts +15 -0
- package/package.json +1 -1
|
@@ -70,6 +70,12 @@ export type MetricSpec = {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export type HorizontalPodAutoscalerBehavior = {
|
|
73
|
+
scaleUp?: HPAScalingRules
|
|
74
|
+
scaleDown?: HPAScalingRules
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type HPAScalingRules = {
|
|
78
|
+
stabilizationWindowSeconds?: number
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
export type ObjectMetricSource = {
|
|
@@ -71,21 +71,6 @@ export enum CommonNetworkConfigKubeProxyMode {
|
|
|
71
71
|
ipvs = "ipvs",
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export enum CiliumConfigCiliumTunnelMode {
|
|
75
|
-
CILIUM_TUNNEL_MODE_UNSPECIFIED = "CILIUM_TUNNEL_MODE_UNSPECIFIED",
|
|
76
|
-
CILIUM_TUNNEL_MODE_VXLAN = "CILIUM_TUNNEL_MODE_VXLAN",
|
|
77
|
-
CILIUM_TUNNEL_MODE_GENEVE = "CILIUM_TUNNEL_MODE_GENEVE",
|
|
78
|
-
CILIUM_TUNNEL_MODE_DISABLED = "CILIUM_TUNNEL_MODE_DISABLED",
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export enum CiliumConfigKubeProxyReplacement {
|
|
82
|
-
KUBE_PROXY_REPLACEMENT_UNSPECIFIED = "KUBE_PROXY_REPLACEMENT_UNSPECIFIED",
|
|
83
|
-
KUBE_PROXY_REPLACEMENT_STRICT = "KUBE_PROXY_REPLACEMENT_STRICT",
|
|
84
|
-
KUBE_PROXY_REPLACEMENT_DISABLED = "KUBE_PROXY_REPLACEMENT_DISABLED",
|
|
85
|
-
KUBE_PROXY_REPLACEMENT_PROBE = "KUBE_PROXY_REPLACEMENT_PROBE",
|
|
86
|
-
KUBE_PROXY_REPLACEMENT_PARTIAL = "KUBE_PROXY_REPLACEMENT_PARTIAL",
|
|
87
|
-
}
|
|
88
|
-
|
|
89
74
|
export enum CalicoConfigCalicoTunnel {
|
|
90
75
|
CALICO_TUNNEL_UNSPECIFIED = "CALICO_TUNNEL_UNSPECIFIED",
|
|
91
76
|
IPIP = "IPIP",
|
|
@@ -235,11 +220,6 @@ export type CommonNetworkConfig = {
|
|
|
235
220
|
}
|
|
236
221
|
|
|
237
222
|
export type CiliumConfig = {
|
|
238
|
-
tunnelMode?: CiliumConfigCiliumTunnelMode
|
|
239
|
-
kubeProxyReplacement?: CiliumConfigKubeProxyReplacement
|
|
240
|
-
enableIpv4?: boolean
|
|
241
|
-
enableIpv6?: boolean
|
|
242
|
-
enableHostLegacyRouting?: boolean
|
|
243
223
|
extraVars?: {[key: string]: string}
|
|
244
224
|
}
|
|
245
225
|
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as KpandaIoApiTypesPage from "../../types/page.pb"
|
|
8
|
+
export type ListRegistriesRequest = {
|
|
9
|
+
cluster?: string
|
|
10
|
+
namespace?: string
|
|
11
|
+
global?: boolean
|
|
12
|
+
page?: number
|
|
13
|
+
pageSize?: number
|
|
14
|
+
public?: boolean
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type ListRegistriesResponse = {
|
|
18
|
+
items?: Registry[]
|
|
19
|
+
pagination?: KpandaIoApiTypesPage.Pagination
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type Registry = {
|
|
23
|
+
alias?: string
|
|
24
|
+
host?: string
|
|
25
|
+
name?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type ListProjectsRequest = {
|
|
29
|
+
cluster?: string
|
|
30
|
+
namespace?: string
|
|
31
|
+
registry?: string
|
|
32
|
+
public?: boolean
|
|
33
|
+
page?: number
|
|
34
|
+
pageSize?: number
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type ListProjectsResponse = {
|
|
38
|
+
items?: string[]
|
|
39
|
+
pagination?: KpandaIoApiTypesPage.Pagination
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export type ListRepositoriesRequest = {
|
|
43
|
+
cluster?: string
|
|
44
|
+
namespace?: string
|
|
45
|
+
registry?: string
|
|
46
|
+
project?: string
|
|
47
|
+
fuzzyName?: string
|
|
48
|
+
page?: number
|
|
49
|
+
pageSize?: number
|
|
50
|
+
public?: boolean
|
|
51
|
+
showArtifacts?: boolean
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type ListRepositoriesResponse = {
|
|
55
|
+
items?: Repository[]
|
|
56
|
+
pagination?: KpandaIoApiTypesPage.Pagination
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type Repository = {
|
|
60
|
+
name?: string
|
|
61
|
+
artifacts?: Artifact[]
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type ListArtifactsRequest = {
|
|
65
|
+
cluster?: string
|
|
66
|
+
namespace?: string
|
|
67
|
+
registry?: string
|
|
68
|
+
project?: string
|
|
69
|
+
repository?: string
|
|
70
|
+
page?: number
|
|
71
|
+
pageSize?: number
|
|
72
|
+
public?: boolean
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type ListArtifactsResponse = {
|
|
76
|
+
items?: Artifact[]
|
|
77
|
+
pagination?: KpandaIoApiTypesPage.Pagination
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type Artifact = {
|
|
81
|
+
digest?: string
|
|
82
|
+
tags?: Tag[]
|
|
83
|
+
imageSize?: string
|
|
84
|
+
pushTime?: string
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type Tag = {
|
|
88
|
+
name?: string
|
|
89
|
+
pushTime?: string
|
|
90
|
+
}
|
|
@@ -38,6 +38,7 @@ import * as KpandaIoApiCoreV1alpha1Secret from "../core/v1alpha1/secret.pb"
|
|
|
38
38
|
import * as KpandaIoApiCoreV1alpha1Service from "../core/v1alpha1/service.pb"
|
|
39
39
|
import * as KpandaIoApiGhippoV1alpha1Workspace from "../ghippo/v1alpha1/workspace.pb"
|
|
40
40
|
import * as KpandaIoApiInsightV1alpha1Insight from "../insight/v1alpha1/insight.pb"
|
|
41
|
+
import * as KpandaIoApiKangarooV1alpha1Image from "../kangaroo/v1alpha1/image.pb"
|
|
41
42
|
import * as KpandaIoApiNetworkingV1alpha1Ingress from "../networking/v1alpha1/ingress.pb"
|
|
42
43
|
import * as KpandaIoApiNetworkingV1alpha1Metallb from "../networking/v1alpha1/metallb.pb"
|
|
43
44
|
import * as KpandaIoApiNetworkingV1alpha1Networkpolicy from "../networking/v1alpha1/networkpolicy.pb"
|
|
@@ -700,6 +701,20 @@ export class Registry {
|
|
|
700
701
|
return fm.fetchReq<KpandaIoApiRegistryV1alpha1Registry.ListImageTagsRequest, KpandaIoApiRegistryV1alpha1Registry.ListImageTagsResponse>(`/apis/kpanda.io/v1alpha1/registry/tags?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
701
702
|
}
|
|
702
703
|
}
|
|
704
|
+
export class Image {
|
|
705
|
+
static ListRegistries(req: KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse> {
|
|
706
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse>(`/apis/kpanda.io/v1alpha1/registries?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
707
|
+
}
|
|
708
|
+
static ListProjects(req: KpandaIoApiKangarooV1alpha1Image.ListProjectsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListProjectsResponse> {
|
|
709
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListProjectsRequest, KpandaIoApiKangarooV1alpha1Image.ListProjectsResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/projects?${fm.renderURLSearchParams(req, ["registry"])}`, {...initReq, method: "GET"})
|
|
710
|
+
}
|
|
711
|
+
static ListRepositories(req: KpandaIoApiKangarooV1alpha1Image.ListRepositoriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRepositoriesResponse> {
|
|
712
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRepositoriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRepositoriesResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/repositories?${fm.renderURLSearchParams(req, ["registry"])}`, {...initReq, method: "GET"})
|
|
713
|
+
}
|
|
714
|
+
static ListArtifacts(req: KpandaIoApiKangarooV1alpha1Image.ListArtifactsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListArtifactsResponse> {
|
|
715
|
+
return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListArtifactsRequest, KpandaIoApiKangarooV1alpha1Image.ListArtifactsResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/repositories/${req["repository"]}/artifacts?${fm.renderURLSearchParams(req, ["registry", "repository"])}`, {...initReq, method: "GET"})
|
|
716
|
+
}
|
|
717
|
+
}
|
|
703
718
|
export class Workspace {
|
|
704
719
|
static ListWorkspaces(req: KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesResponse> {
|
|
705
720
|
return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesRequest, KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesResponse>(`/apis/kpanda.io/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|