@scaleway/sdk-k8s 2.9.0 → 2.10.1

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.
@@ -0,0 +1,3 @@
1
+ # Licenses
2
+
3
+ The app does not bundle any dependencies with licenses.
@@ -2,11 +2,11 @@
2
2
  * This file is automatically generated
3
3
  * PLEASE DO NOT EDIT HERE
4
4
  */
5
- export type Metadata = {
6
- name: string;
7
- namespace: string;
8
- displayName: string;
9
- versions: string[];
5
+ export declare const pkgMetadata: {
6
+ readonly name: "@scaleway/sdk-k8s";
7
+ readonly namespace: "k8s";
8
+ readonly displayName: "K8S";
9
+ readonly versions: readonly ["v1"];
10
10
  };
11
- export declare const pkgMetadata: Metadata;
11
+ export type Metadata = typeof pkgMetadata;
12
12
  export default pkgMetadata;
@@ -1,9 +1,13 @@
1
- import metadata_gen_default from "./metadata2.gen.js";
2
1
  //#region src/metadata.gen.ts
3
2
  /**
4
3
  * This file is automatically generated
5
4
  * PLEASE DO NOT EDIT HERE
6
5
  */
7
- var pkgMetadata = metadata_gen_default;
6
+ const pkgMetadata = {
7
+ name: "@scaleway/sdk-k8s",
8
+ namespace: "k8s",
9
+ displayName: "K8S",
10
+ versions: ["v1"]
11
+ };
8
12
  //#endregion
9
13
  export { pkgMetadata as default, pkgMetadata };
@@ -44,7 +44,7 @@ export declare class API extends ParentAPI {
44
44
  * @param options - The waiting options
45
45
  * @returns A Promise of Cluster
46
46
  */
47
- waitForCluster: (request: Readonly<GetClusterRequest>, options?: Readonly<WaitForOptions<Cluster>>) => Promise<Cluster>;
47
+ waitForCluster: (request: Readonly<GetClusterRequest>, options?: Readonly<WaitForOptions<Cluster>> | undefined) => Promise<Cluster>;
48
48
  /**
49
49
  * Update a Cluster. Update information on a specific Kubernetes cluster. You can update details such as its name, description, tags and configuration. To upgrade a cluster, you will need to use the dedicated endpoint.
50
50
  *
@@ -157,7 +157,7 @@ export declare class API extends ParentAPI {
157
157
  * @param options - The waiting options
158
158
  * @returns A Promise of Pool
159
159
  */
160
- waitForPool: (request: Readonly<GetPoolRequest>, options?: Readonly<WaitForOptions<Pool>>) => Promise<Pool>;
160
+ waitForPool: (request: Readonly<GetPoolRequest>, options?: Readonly<WaitForOptions<Pool>> | undefined) => Promise<Pool>;
161
161
  /**
162
162
  * Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific pool. Note that it only works if the targeted version matches the cluster's version.
163
163
  This will drain and replace the nodes in that pool.
@@ -247,7 +247,7 @@ export declare class API extends ParentAPI {
247
247
  * @param options - The waiting options
248
248
  * @returns A Promise of Node
249
249
  */
250
- waitForNode: (request: Readonly<GetNodeRequest>, options?: Readonly<WaitForOptions<Node>>) => Promise<Node>;
250
+ waitForNode: (request: Readonly<GetNodeRequest>, options?: Readonly<WaitForOptions<Node>> | undefined) => Promise<Node>;
251
251
  /**
252
252
  * Replace a Node in a Cluster. Replace a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
253
253
  *