Skip to content

Commit

Permalink
Update to /x/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
danopia committed Aug 12, 2023
1 parent 5702f2d commit 8a0871f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ will be generated as one unit and possibly stored in S3 or similar, and the path
In any case, the actual API client that works with authentication/transport
will be served authoratatively from a normal deno repo:

* https://deno.land/x/kubernetes_client@v0.5.0/mod.ts
* https://deno.land/x/kubernetes_client@v0.6.0/mod.ts
2 changes: 1 addition & 1 deletion generation/deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * as path from "https://deno.land/[email protected]/path/mod.ts";
export * as YAML from "https://deno.land/[email protected]/encoding/yaml.ts";

export type { ApiKind, JSONValue } from "https://deno.land/x/kubernetes_client@v0.5.0/mod.ts";
export type { ApiKind, JSONValue } from "https://deno.land/x/kubernetes_client@v0.6.0/mod.ts";
5 changes: 4 additions & 1 deletion lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Here's a basic request, listing all Pods in the `default` namespace.
It uses the `autoDetectClient()` entrypoint which returns the first usable client.

```ts
import { autoDetectClient } from 'https://deno.land/x/kubernetes_client@v0.5.0/mod.ts';
import { autoDetectClient } from 'https://deno.land/x/kubernetes_client@v0.6.0/mod.ts';
import { CoreV1Api } from 'https://deno.land/x/kubernetes_apis/builtin/core@v1/mod.ts';

const kubernetes = await autoDetectClient();
Expand All @@ -32,6 +32,9 @@ see `/x/kubernetes_client` for more information.

## Changelog

* `v0.5.0` on `2023-08-??`:
* Updating `/x/kubernetes_client` API contract to `v0.6.0`.

* `v0.4.0` on `2023-02-10`:
* Updating `/x/kubernetes_client` API contract to `v0.5.0`.
* Breaking change: The return type of delete functions has been widened to a union.
Expand Down
2 changes: 1 addition & 1 deletion lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
// kubernetes_apis itself only depends on specific files,
// so this is provided an optional utility (as opposed to deps.ts)

export * from "https://deno.land/x/kubernetes_client@v0.5.0/mod.ts";
export * from "https://deno.land/x/kubernetes_client@v0.6.0/mod.ts";
6 changes: 3 additions & 3 deletions lib/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
ApiKind,
JSONObject, JSONValue,
RequestOptions,
} from "https://deno.land/x/kubernetes_client@v0.5.0/lib/contract.ts";
} from "https://deno.land/x/kubernetes_client@v0.6.0/lib/contract.ts";

export * from "https://deno.land/x/kubernetes_client@v0.5.0/lib/contract.ts";
export * from "https://deno.land/x/kubernetes_client@v0.6.0/lib/contract.ts";
export {
WatchEventTransformer
} from "https://deno.land/x/kubernetes_client@v0.5.0/lib/stream-transformers.ts";
} from "https://deno.land/x/kubernetes_client@v0.6.0/lib/stream-transformers.ts";

// Helpers used to validate/transform structures from or for the wire
// And some other stuff :)
Expand Down

0 comments on commit 8a0871f

Please sign in to comment.