kubernetesjs 0.7.2 → 0.7.4
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/README.md +1 -1
- package/esm/index.js +2 -2
- package/index.d.ts +7 -7
- package/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -184,7 +184,7 @@ Checkout these related projects:
|
|
|
184
184
|
|
|
185
185
|
## Credits
|
|
186
186
|
|
|
187
|
-
🛠 Built by
|
|
187
|
+
🛠 Built by [Interweb](https://interweb.co) — if you like our tools, please checkout and contribute [https://interweb.co](https://interweb.co)
|
|
188
188
|
|
|
189
189
|
## Disclaimer
|
|
190
190
|
|
package/esm/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { APIClient } from
|
|
1
|
+
import { APIClient } from './client';
|
|
2
2
|
export class KubernetesClient extends APIClient {
|
|
3
3
|
constructor(options) {
|
|
4
4
|
super(options);
|
|
5
5
|
}
|
|
6
6
|
async getSwaggerJSON() {
|
|
7
|
-
const path =
|
|
7
|
+
const path = '/openapi/v2';
|
|
8
8
|
return this.get(path);
|
|
9
9
|
}
|
|
10
10
|
async getServiceAccountIssuerOpenIDConfiguration(params, opts) {
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIClient, APIClientOptions, APIClientRequestOpts } from
|
|
1
|
+
import { APIClient, APIClientOptions, APIClientRequestOpts } from './client';
|
|
2
2
|
export interface MutatingWebhook {
|
|
3
3
|
admissionReviewVersions: string[];
|
|
4
4
|
clientConfig: WebhookClientConfig;
|
|
@@ -2546,12 +2546,12 @@ export interface JSONSchemaProps {
|
|
|
2546
2546
|
title?: string;
|
|
2547
2547
|
type?: string;
|
|
2548
2548
|
uniqueItems?: boolean;
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2549
|
+
'x-kubernetes-embedded-resource'?: boolean;
|
|
2550
|
+
'x-kubernetes-int-or-string'?: boolean;
|
|
2551
|
+
'x-kubernetes-list-map-keys'?: string[];
|
|
2552
|
+
'x-kubernetes-list-type'?: string;
|
|
2553
|
+
'x-kubernetes-map-type'?: string;
|
|
2554
|
+
'x-kubernetes-preserve-unknown-fields'?: boolean;
|
|
2555
2555
|
}
|
|
2556
2556
|
export type JSONSchemaPropsOrArray = any;
|
|
2557
2557
|
export type JSONSchemaPropsOrBool = any;
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kubernetesjs",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "Fully Typed Kubernetes",
|
|
6
6
|
"keywords": [
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"schema-sdk": "^0.12.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c10664b145a63bb4cda0896246a3613c7867379b"
|
|
56
56
|
}
|