@cloudfleet/sdk 1.10.0 → 1.12.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/services/kubernetes/api.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,aAAa,CAAC;AAG/B,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AA8I1C,MAAM,CAAC,OAAO,OAAO,GAAG;IACZ,OAAO,CAAS;IACxB,IAAI,CAAS;IACb,QAAQ,CAAS;IACjB,UAAU,CAAS;IACnB,WAAW,CAAS;IACpB,OAAO,CAAS;IAChB,YAAY,CAAU;IAEtB,YACI,OAAe,EACf,IAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,WAAmB,EACnB,YAAY,GAAG,IAAI;QAEnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,OAAO,GAAG,QAAQ;YACnB,CAAC,CAAC,SAAS,QAAQ,IAAI,UAAU,EAAE;YACnC,CAAC,CAAC,OAAO,UAAU,EAAE,CAAC;IAC9B,CAAC;IAEO,GAAG,CAAC,SAAiB;QACzB,OAAO,IAAI,CAAC,YAAY,IAAI,SAAS;YACjC,CAAC,CAAC,GAAG,IAAI,CAAC,OAAO,eAAe,SAAS,IAAI,IAAI,CAAC,WAAW,EAAE;YAC/D,CAAC,CAAC,GAAG,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACK,OAAO,CAAC,WAA6B;QACz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AAkB;gBAC1B,cAAc,EAAE,kBAAkB;aACrC;YACD,YAAY,EAAE,IAAI;SACrB,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/kubernetes/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,SAAS,EACT,UAAU,EACV,QAAQ,EACR,KAAK,EACL,GAAG,EACH,OAAO,EACP,YAAY,EACZ,GAAG,EACH,KAAK,EACL,UAAU,EACV,4BAA4B,EAC5B,SAAS,EACT,aAAa,EACb,IAAI,EACJ,SAAS,EACT,GAAG,EACH,gBAAgB,EAChB,qBAAqB,EACrB,GAAG,EACH,aAAa,EACb,UAAU,EACV,aAAa,EACb,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,MAAM,EACN,OAAO,EACP,cAAc,EACd,WAAW,EACX,YAAY,EACZ,8BAA8B,EAC9B,GAAG,EACH,QAAQ,EACX,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM;;oBAsOf,OAAO,CAAC,QAAQ,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/kubernetes/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,SAAS,EACT,UAAU,EACV,QAAQ,EACR,KAAK,EACL,GAAG,EACH,OAAO,EACP,YAAY,EACZ,GAAG,EACH,KAAK,EACL,UAAU,EACV,4BAA4B,EAC5B,SAAS,EACT,aAAa,EACb,IAAI,EACJ,SAAS,EACT,GAAG,EACH,gBAAgB,EAChB,qBAAqB,EACrB,GAAG,EACH,aAAa,EACb,UAAU,EACV,aAAa,EACb,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,MAAM,EACN,OAAO,EACP,cAAc,EACd,WAAW,EACX,YAAY,EACZ,8BAA8B,EAC9B,GAAG,EACH,QAAQ,EACX,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM;;oBAoOf,OAAO,CAAC,QAAQ,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BtD,CAAC"}
@@ -1,43 +1,42 @@
1
1
  import Api from "./api";
2
2
  export const KubernetesService = (clusterId) => {
3
- const baseUrl = `clusters/${clusterId}/query`;
4
3
  const apis = {
5
- clusterrolebindings: new Api(baseUrl, "ClusterRoleBinding", "rbac.authorization.k8s.io", "v1", "clusterrolebindings"),
6
- clusterroles: new Api(baseUrl, "ClusterRole", "rbac.authorization.k8s.io", "v1", "clusterroles"),
7
- configmaps: new Api(baseUrl, "ConfigMap", "", "v1", "configmaps"),
8
- cronjobs: new Api(baseUrl, "CronJob", "batch", "v1", "cronjobs"),
9
- daemonsets: new Api(baseUrl, "DaemonSet", "apps", "v1", "daemonsets"),
10
- deployments: new Api(baseUrl, "Deployment", "apps", "v1", "deployments"),
11
- endpoints: new Api(baseUrl, "Endpoint", "", "v1", "endpoints"),
12
- events: new Api(baseUrl, "Event", "", "v1", "events"),
13
- evservicesents: new Api(baseUrl, "Service", "", "v1", "services"),
14
- horizontalpodautoscalers: new Api(baseUrl, "HPA", "autoscaling", "v2", "horizontalpodautoscalers"),
15
- ingressclasses: new Api(baseUrl, "IngressClass", "networking.k8s.io", "v1", "ingressclasses"),
16
- ingresses: new Api(baseUrl, "Ingress", "networking.k8s.io", "v1", "ingresses"),
17
- jobs: new Api(baseUrl, "Job", "batch", "v1", "jobs"),
18
- leases: new Api(baseUrl, "Lease", "coordination.k8s.io", "v1", "leases"),
19
- limitranges: new Api(baseUrl, "LimitRange", "", "v1", "limitranges"),
20
- mutatingwebhookconfigurations: new Api(baseUrl, "MutatingWebhookConfiguration", "admissionregistration.k8s.io", "v1", "mutatingwebhookconfigurations"),
21
- namespaces: new Api(baseUrl, "Namespace", "", "v1", "namespaces", false),
22
- networkpolicies: new Api(baseUrl, "NetworkPolicy", "networking.k8s.io", "v1", "networkpolicies"),
23
- nodes: new Api(baseUrl, "Node", "", "v1", "nodes"),
24
- nodeclaims: new Api(baseUrl, "NodeClaim", "karpenter.sh", "v1", "nodeclaims"),
25
- persistentvolumeclaims: new Api(baseUrl, "PersistentVolumeClaim", "", "v1", "persistentvolumeclaims"),
26
- persistentvolumes: new Api(baseUrl, "PersistentVolume", "", "v1", "persistentvolumes"),
27
- poddisruptionbudgets: new Api(baseUrl, "PDB", "policy", "v1", "poddisruptionbudgets"),
28
- pods: new Api(baseUrl, "Pod", "", "v1", "pods"),
29
- priorityclasses: new Api(baseUrl, "PriorityClass", "scheduling.k8s.io", "v1", "priorityclasses"),
30
- replicasets: new Api(baseUrl, "ReplicaSet", "apps", "v1", "replicasets"),
31
- resourcequotas: new Api(baseUrl, "ResourceQuota", "", "v1", "resourcequotas"),
32
- rolebindings: new Api(baseUrl, "RoleBinding", "rbac.authorization.k8s.io", "v1", "rolebindings"),
33
- roles: new Api(baseUrl, "Role", "rbac.authorization.k8s.io", "v1", "roles"),
34
- runtimeclasses: new Api(baseUrl, "RuntimeClass", "node.k8s.io", "v1", "runtimeclasses"),
35
- secrets: new Api(baseUrl, "Secret", "", "v1", "secrets"),
36
- serviceaccounts: new Api(baseUrl, "ServiceAccount", "", "v1", "serviceaccounts"),
37
- statefulsets: new Api(baseUrl, "StatefulSet", "apps", "v1", "statefulsets"),
38
- storageclasses: new Api(baseUrl, "StorageClass", "storage.k8s.io", "v1", "storageclasses"),
39
- validatingwebhookconfigurations: new Api(baseUrl, "ValidatingWebhookConfiguration", "admissionregistration.k8s.io", "v1", "validatingwebhookconfigurations"),
40
- verticalpodautoscalers: new Api(baseUrl, "VPA", "autoscaling.k8s.io", "v1", "verticalpodautoscalers"),
4
+ clusterrolebindings: new Api(clusterId, "ClusterRoleBinding", "rbac.authorization.k8s.io", "v1", "clusterrolebindings"),
5
+ clusterroles: new Api(clusterId, "ClusterRole", "rbac.authorization.k8s.io", "v1", "clusterroles"),
6
+ configmaps: new Api(clusterId, "ConfigMap", "", "v1", "configmaps"),
7
+ cronjobs: new Api(clusterId, "CronJob", "batch", "v1", "cronjobs"),
8
+ daemonsets: new Api(clusterId, "DaemonSet", "apps", "v1", "daemonsets"),
9
+ deployments: new Api(clusterId, "Deployment", "apps", "v1", "deployments"),
10
+ endpoints: new Api(clusterId, "Endpoint", "", "v1", "endpoints"),
11
+ events: new Api(clusterId, "Event", "", "v1", "events"),
12
+ evservicesents: new Api(clusterId, "Service", "", "v1", "services"),
13
+ horizontalpodautoscalers: new Api(clusterId, "HPA", "autoscaling", "v2", "horizontalpodautoscalers"),
14
+ ingressclasses: new Api(clusterId, "IngressClass", "networking.k8s.io", "v1", "ingressclasses"),
15
+ ingresses: new Api(clusterId, "Ingress", "networking.k8s.io", "v1", "ingresses"),
16
+ jobs: new Api(clusterId, "Job", "batch", "v1", "jobs"),
17
+ leases: new Api(clusterId, "Lease", "coordination.k8s.io", "v1", "leases"),
18
+ limitranges: new Api(clusterId, "LimitRange", "", "v1", "limitranges"),
19
+ mutatingwebhookconfigurations: new Api(clusterId, "MutatingWebhookConfiguration", "admissionregistration.k8s.io", "v1", "mutatingwebhookconfigurations"),
20
+ namespaces: new Api(clusterId, "Namespace", "", "v1", "namespaces", false),
21
+ networkpolicies: new Api(clusterId, "NetworkPolicy", "networking.k8s.io", "v1", "networkpolicies"),
22
+ nodes: new Api(clusterId, "Node", "", "v1", "nodes"),
23
+ nodeclaims: new Api(clusterId, "NodeClaim", "karpenter.sh", "v1", "nodeclaims"),
24
+ persistentvolumeclaims: new Api(clusterId, "PersistentVolumeClaim", "", "v1", "persistentvolumeclaims"),
25
+ persistentvolumes: new Api(clusterId, "PersistentVolume", "", "v1", "persistentvolumes"),
26
+ poddisruptionbudgets: new Api(clusterId, "PDB", "policy", "v1", "poddisruptionbudgets"),
27
+ pods: new Api(clusterId, "Pod", "", "v1", "pods"),
28
+ priorityclasses: new Api(clusterId, "PriorityClass", "scheduling.k8s.io", "v1", "priorityclasses"),
29
+ replicasets: new Api(clusterId, "ReplicaSet", "apps", "v1", "replicasets"),
30
+ resourcequotas: new Api(clusterId, "ResourceQuota", "", "v1", "resourcequotas"),
31
+ rolebindings: new Api(clusterId, "RoleBinding", "rbac.authorization.k8s.io", "v1", "rolebindings"),
32
+ roles: new Api(clusterId, "Role", "rbac.authorization.k8s.io", "v1", "roles"),
33
+ runtimeclasses: new Api(clusterId, "RuntimeClass", "node.k8s.io", "v1", "runtimeclasses"),
34
+ secrets: new Api(clusterId, "Secret", "", "v1", "secrets"),
35
+ serviceaccounts: new Api(clusterId, "ServiceAccount", "", "v1", "serviceaccounts"),
36
+ statefulsets: new Api(clusterId, "StatefulSet", "apps", "v1", "statefulsets"),
37
+ storageclasses: new Api(clusterId, "StorageClass", "storage.k8s.io", "v1", "storageclasses"),
38
+ validatingwebhookconfigurations: new Api(clusterId, "ValidatingWebhookConfiguration", "admissionregistration.k8s.io", "v1", "validatingwebhookconfigurations"),
39
+ verticalpodautoscalers: new Api(clusterId, "VPA", "autoscaling.k8s.io", "v1", "verticalpodautoscalers"),
41
40
  };
42
41
  const workloadsList = async () => {
43
42
  const workloadsData = await Promise.all([
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/kubernetes/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AA0CxB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,MAAM,OAAO,GAAG,YAAY,SAAS,QAAQ,CAAC;IAE9C,MAAM,IAAI,GAAG;QACT,mBAAmB,EAAE,IAAI,GAAG,CACxB,OAAO,EACP,oBAAoB,EACpB,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CAAC,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,OAAO,EAAE;oBAChD,IAAI,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,OAAO,EAAE,CACnD,CAAC;YACN,CAAC;YACD,OAAO,CAAC,CAAC;QACb,CAAC,CAAC,CAAC;QAEH,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO;QACH,GAAG,IAAI;QACP,SAAS,EAAE;YACP,IAAI,EAAE,aAAa;SACtB;KACJ,CAAC;AACN,CAAC,CAAC"}
@@ -89,80 +89,6 @@ export type BillingCredits = {
89
89
  */
90
90
  value_remaining?: number;
91
91
  };
92
- export type ChartCreateInput = {
93
- /**
94
- * Values to be used in the chart encoded as a JSON string.
95
- */
96
- values: string;
97
- /**
98
- * Desired version range or channel for the chart.
99
- */
100
- version_channel: string;
101
- /**
102
- * Unique identifier of the chart deployment aka name of the helm release.
103
- */
104
- name: string;
105
- /**
106
- * Namespace of the chart deployment
107
- */
108
- namespace: string;
109
- /**
110
- * Name of the chart listing
111
- */
112
- chart: string;
113
- };
114
- export type Chart = {
115
- /**
116
- * Values to be used in the chart encoded as a JSON string.
117
- */
118
- values: string;
119
- /**
120
- * Desired version range or channel for the chart.
121
- */
122
- version_channel: string;
123
- /**
124
- * Unique identifier of the chart deployment aka name of the helm release.
125
- */
126
- name: string;
127
- /**
128
- * Namespace of the chart deployment
129
- */
130
- namespace: string;
131
- /**
132
- * Name of the chart listing
133
- */
134
- chart: string;
135
- /**
136
- * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
137
- */
138
- status: string;
139
- /**
140
- * Current version of the chart deployment.
141
- */
142
- version_current: string;
143
- /**
144
- * Creation date and time of the chart deployment.
145
- */
146
- created_at: string;
147
- /**
148
- * Last update date and time of the chart deployment.
149
- */
150
- updated_at: string;
151
- /**
152
- * Indicates if the chart deployment is ready to be used.
153
- */
154
- ready: boolean;
155
- };
156
- export type ChartUpdateInput = {
157
- /**
158
- * Values to be used in the chart encoded as a JSON string.
159
- */
160
- values: string;
161
- /**
162
- * Desired version range or channel for the chart.
163
- */
164
- version_channel: string;
165
- };
166
92
  /**
167
93
  * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
168
94
  */
@@ -865,92 +791,6 @@ export type Invoice = {
865
791
  period_end: string;
866
792
  invoice_pdf?: string;
867
793
  };
868
- export type MarketplaceListingFiles = {
869
- /**
870
- * Raw Chart.yaml content from the Helm chart
871
- */
872
- chartYaml?: string;
873
- /**
874
- * Raw values.yaml content from the Helm chart
875
- */
876
- valuesYaml?: string;
877
- /**
878
- * JSON schema for values.yaml as a string
879
- */
880
- valuesSchemaJson?: string;
881
- };
882
- export type MarketplaceListing = {
883
- /**
884
- * Name of the chart
885
- */
886
- name: string;
887
- /**
888
- * Available versions of the chart
889
- */
890
- versions: Array<string>;
891
- /**
892
- * Version channels for the chart
893
- */
894
- version_channels: Array<string>;
895
- /**
896
- * Latest version of the chart
897
- */
898
- latestVersion: string;
899
- /**
900
- * Chart metadata
901
- */
902
- metadata?: {
903
- /**
904
- * Chart name from metadata
905
- */
906
- name: string;
907
- /**
908
- * Chart version from metadata
909
- */
910
- version: string;
911
- /**
912
- * Chart description
913
- */
914
- description?: string;
915
- /**
916
- * Application version
917
- */
918
- appVersion?: string;
919
- /**
920
- * Helm API version
921
- */
922
- apiVersion?: string;
923
- /**
924
- * Chart keywords
925
- */
926
- keywords?: Array<string>;
927
- /**
928
- * Chart home URL
929
- */
930
- home?: string;
931
- /**
932
- * A URL to an SVG or PNG image to be used as an icon
933
- */
934
- icon?: string;
935
- /**
936
- * Chart source URLs
937
- */
938
- sources?: Array<string>;
939
- /**
940
- * Chart maintainers
941
- */
942
- maintainers?: Array<{
943
- /**
944
- * Maintainer name
945
- */
946
- name: string;
947
- /**
948
- * Maintainer email
949
- */
950
- email?: string;
951
- }>;
952
- };
953
- };
954
794
  export type OrganizationCreateInput = {
955
795
  /**
956
796
  * Type of the organization. `business` for legal entities, `personal` for individuals.
@@ -2370,53 +2210,6 @@ export type PostMcpResponses = {
2370
2210
  };
2371
2211
  };
2372
2212
  export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2373
- export type ListMarketplaceChartsData = {
2374
- body?: never;
2375
- path?: never;
2376
- query?: never;
2377
- url: '/marketplace';
2378
- };
2379
- export type ListMarketplaceChartsErrors = {
2380
- /**
2381
- * Not authenticated
2382
- */
2383
- 401: unknown;
2384
- };
2385
- export type ListMarketplaceChartsResponses = {
2386
- /**
2387
- * An array of chart listings in the marketplace.
2388
- */
2389
- 200: Array<MarketplaceListing>;
2390
- };
2391
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2392
- export type GetMarketplaceChartFilesData = {
2393
- body?: never;
2394
- path: {
2395
- /**
2396
- * Name of the chart in the marketplace.
2397
- */
2398
- chart_name: string;
2399
- /**
2400
- * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2401
- */
2402
- version_channel: string;
2403
- };
2404
- query?: never;
2405
- url: '/marketplace/{chart_name}/files/{version_channel}';
2406
- };
2407
- export type GetMarketplaceChartFilesErrors = {
2408
- /**
2409
- * Chart not found or no version matches the channel
2410
- */
2411
- 404: unknown;
2412
- };
2413
- export type GetMarketplaceChartFilesResponses = {
2414
- /**
2415
- * Returns an object containing the chart files for the latest matching version.
2416
- */
2417
- 200: MarketplaceListingFiles;
2418
- };
2419
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2420
2213
  export type ListInvitesData = {
2421
2214
  body?: never;
2422
2215
  path?: never;
@@ -2672,135 +2465,6 @@ export type UpdateFleetResponses = {
2672
2465
  200: string;
2673
2466
  };
2674
2467
  export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2675
- export type ListChartsData = {
2676
- body?: never;
2677
- path: {
2678
- /**
2679
- * Unique identifier of the cluster. UUID v4 string in canonical form
2680
- */
2681
- cluster_id: string;
2682
- };
2683
- query?: never;
2684
- url: '/clusters/{cluster_id}/charts';
2685
- };
2686
- export type ListChartsErrors = {
2687
- /**
2688
- * Not authenticated
2689
- */
2690
- 401: unknown;
2691
- };
2692
- export type ListChartsResponses = {
2693
- /**
2694
- * An array of charts
2695
- */
2696
- 200: Array<Chart>;
2697
- };
2698
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2699
- export type CreateChartData = {
2700
- body: ChartCreateInput;
2701
- path: {
2702
- /**
2703
- * Unique identifier of the cluster. UUID v4 string in canonical form
2704
- */
2705
- cluster_id: string;
2706
- };
2707
- query?: never;
2708
- url: '/clusters/{cluster_id}/charts';
2709
- };
2710
- export type CreateChartErrors = {
2711
- /**
2712
- * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2713
- */
2714
- 409: string;
2715
- };
2716
- export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2717
- export type CreateChartResponses = {
2718
- /**
2719
- * Successfully created. Returns created Chart ID.
2720
- */
2721
- 200: string;
2722
- };
2723
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2724
- export type DeleteChartData = {
2725
- body?: never;
2726
- path: {
2727
- /**
2728
- * Unique identifier of the cluster. UUID v4 string in canonical form
2729
- */
2730
- cluster_id: string;
2731
- /**
2732
- * Chart deployment name as the unique identifier of the chart.
2733
- */
2734
- chart_name: string;
2735
- };
2736
- query?: never;
2737
- url: '/clusters/{cluster_id}/charts/{chart_name}';
2738
- };
2739
- export type DeleteChartErrors = {
2740
- /**
2741
- * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2742
- */
2743
- 409: string;
2744
- };
2745
- export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2746
- export type DeleteChartResponses = {
2747
- /**
2748
- * Successfully deleted.
2749
- */
2750
- 200: string;
2751
- };
2752
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2753
- export type GetChartData = {
2754
- body?: never;
2755
- path: {
2756
- /**
2757
- * Unique identifier of the cluster. UUID v4 string in canonical form
2758
- */
2759
- cluster_id: string;
2760
- /**
2761
- * Chart deployment name as the unique identifier of the chart.
2762
- */
2763
- chart_name: string;
2764
- };
2765
- query?: never;
2766
- url: '/clusters/{cluster_id}/charts/{chart_name}';
2767
- };
2768
- export type GetChartResponses = {
2769
- /**
2770
- * Returns a single object containing chart details.
2771
- */
2772
- 200: Chart;
2773
- };
2774
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2775
- export type UpdateChartData = {
2776
- body: ChartUpdateInput;
2777
- path: {
2778
- /**
2779
- * Unique identifier of the cluster. UUID v4 string in canonical form
2780
- */
2781
- cluster_id: string;
2782
- /**
2783
- * Chart deployment name as the unique identifier of the chart.
2784
- */
2785
- chart_name: string;
2786
- };
2787
- query?: never;
2788
- url: '/clusters/{cluster_id}/charts/{chart_name}';
2789
- };
2790
- export type UpdateChartErrors = {
2791
- /**
2792
- * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2793
- */
2794
- 409: string;
2795
- };
2796
- export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2797
- export type UpdateChartResponses = {
2798
- /**
2799
- * Successfully updated.
2800
- */
2801
- 200: string;
2802
- };
2803
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2804
2468
  export type ListClustersData = {
2805
2469
  body?: never;
2806
2470
  path?: never;