kubernetesjs 0.6.2 → 0.7.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.
package/esm/index.js CHANGED
@@ -735,11 +735,7 @@ export class KubernetesClient extends APIClient {
735
735
  const path = `/api/v1/persistentvolumes/${params.path.name}/status`;
736
736
  return await this.patch(path, params.query, params.body, opts);
737
737
  }
738
- async getPods(params, opts) {
739
- const path = `/api/v1/pods`;
740
- return await this.get(path, null, null, opts);
741
- }
742
- async listPods(params, opts) {
738
+ async listCoreV1PodForAllNamespaces(params, opts) {
743
739
  const path = `/api/v1/pods`;
744
740
  return await this.get(path, null, null, opts);
745
741
  }
package/index.d.ts CHANGED
@@ -10864,8 +10864,7 @@ export declare class KubernetesClient extends APIClient {
10864
10864
  readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise<PersistentVolume>;
10865
10865
  replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise<PersistentVolume>;
10866
10866
  patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise<PersistentVolume>;
10867
- getPods(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise<PodList>;
10868
- listPods(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise<PodList>;
10867
+ listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise<PodList>;
10869
10868
  listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise<PodTemplateList>;
10870
10869
  listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise<ReplicationControllerList>;
10871
10870
  listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise<ResourceQuotaList>;
package/index.js CHANGED
@@ -738,11 +738,7 @@ class KubernetesClient extends client_1.APIClient {
738
738
  const path = `/api/v1/persistentvolumes/${params.path.name}/status`;
739
739
  return await this.patch(path, params.query, params.body, opts);
740
740
  }
741
- async getPods(params, opts) {
742
- const path = `/api/v1/pods`;
743
- return await this.get(path, null, null, opts);
744
- }
745
- async listPods(params, opts) {
741
+ async listCoreV1PodForAllNamespaces(params, opts) {
746
742
  const path = `/api/v1/pods`;
747
743
  return await this.get(path, null, null, opts);
748
744
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kubernetesjs",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
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.11.3"
54
54
  },
55
- "gitHead": "d7bd6e39e651200afad7a014784f756c53a1bacc"
55
+ "gitHead": "58b4ffddde2d9d12304448452449b828ee8aa4c5"
56
56
  }