13 Commits

Author SHA1 Message Date
Boshi Lian
5de1c25cf1 migrate to record (#1665)
* migrate to record

* chore: update project files and clean up unused references

* refactor: convert classes to records and simplify constructors for IntOrString, ResourceQuantity, and V1Patch

* fix: define IsExternalInit to resolve CS0518 error in IntOrString

* refactor: change IntOrString and ResourceQuantity from records to structs, update implicit conversions, and simplify null checks

* refactor: add JsonPropertyName attribute to Value property in IntOrString struct

* refactor: simplify V1Patch constructor and improve argument validation

* refactor: remove unnecessary CultureInfo parameter in ToInt method

* Update src/KubernetesClient/Models/ResourceQuantity.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/KubernetesClient/Models/IntOrString.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Revert "Update src/KubernetesClient/Models/ResourceQuantity.cs"

This reverts commit 62b20a691554659e28d419067220dc1a0620133b.

* refactor: remove commented-out formatting check and simplify build command

* refactor: remove IValidate.cs from project references in Aot and Classic

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-22 14:20:13 -07:00
Boshi Lian
ae79be6665 Clean up warnings in examples (#1628)
* Refactor examples to streamline code structure and improve readability

* Update LangVersion to 13.0 for improved compatibility
2025-04-29 16:55:55 -07:00
Boshi Lian
001189de77 Version 17.0 + Generate 1.33 (#1626)
* generated based on 1.33

* Update version to 17.0 in version.json

* Remove extra API endpoint from swagger.json

* Remove ModelConverter and related AutoMapper components

* Update package versions

* Refactor code to use ConfigureAwait(false) for asynchronous calls and update target framework to net9.0

* Remove ConfigureAwait(false) from OidcAuthTests for consistency in async calls

* Update SDK version in README to reflect support for net8.0 and net9.0

* Update dotnet SDK version to 9.0.x in build workflow

* Revert Fractions package version to 7.3.0 in Directory.Packages.props

* Update target framework to netstandard2.1 for improved compatibility

* Update package references for Microsoft.CodeAnalysis in Directory.Packages.props and LibKubernetesGenerator.target

* Refactor Worker class constructor documentation and standardize Dictionary type declaration in Program.cs
2025-04-27 12:55:24 -07:00
Weihan Li
007ef8946c init cpm support (#1565)
* feat: init cpm support

* remove dotnet-xunit DotNetCliToolReference

* use VersionOverride for compatibility
2024-06-15 21:41:28 -07:00
dependabot[bot]
f1b67a44c3 Bump JsonPatch.Net from 2.0.6 to 2.1.0 (#1321)
Bumps [JsonPatch.Net](https://github.com/gregsdennis/json-everything) from 2.0.6 to 2.1.0.
- [Commits](https://github.com/gregsdennis/json-everything/compare/patch-v2.0.6...patch-v2.1.0)

---
updated-dependencies:
- dependency-name: JsonPatch.Net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 13:29:58 -07:00
dependabot[bot]
4aa6728871 Bump JsonPatch.Net from 2.0.5 to 2.0.6 (#1230)
Bumps [JsonPatch.Net](https://github.com/gregsdennis/json-everything) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/gregsdennis/json-everything/releases)
- [Commits](https://github.com/gregsdennis/json-everything/compare/patch-v2.0.5...patch-v2.0.6)

---
updated-dependencies:
- dependency-name: JsonPatch.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 10:24:40 -08:00
dependabot[bot]
91cd34ae31 Bump JsonPatch.Net from 2.0.4 to 2.0.5 (#1227)
Bumps [JsonPatch.Net](https://github.com/gregsdennis/json-everything) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/gregsdennis/json-everything/releases)
- [Commits](https://github.com/gregsdennis/json-everything/compare/patch-v2.0.4...patch-v2.0.5)

---
updated-dependencies:
- dependency-name: JsonPatch.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 13:02:09 -08:00
Manuel Menegazzo
f615b5b459 Fix some compilation warnings (#1010)
* Fixe some summary warning

* Fixed more warning

* Uniformed example projects code

* Uniformed test projects code

* Fix OperatingSystems enum and GenericType summaries
2022-09-15 16:21:21 -07:00
dependabot[bot]
1ce8780e27 Bump JsonPatch.Net from 2.0.3 to 2.0.4 (#984)
Bumps [JsonPatch.Net](https://github.com/gregsdennis/json-everything) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/gregsdennis/json-everything/releases)
- [Commits](https://github.com/gregsdennis/json-everything/compare/patch-v2.0.3...patch-v2.0.4)

---
updated-dependencies:
- dependency-name: JsonPatch.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 08:43:43 -07:00
dependabot[bot]
216c999f11 Bump JsonPatch.Net from 2.0.2 to 2.0.3 (#977)
Bumps [JsonPatch.Net](https://github.com/gregsdennis/json-everything) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/gregsdennis/json-everything/releases)
- [Commits](https://github.com/gregsdennis/json-everything/compare/patch-v2.0.2...patch-v2.0.3)

---
updated-dependencies:
- dependency-name: JsonPatch.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 08:48:43 -07:00
dependabot[bot]
ad57f08e9b Bump JsonPatch.Net from 1.1.2 to 2.0.2 (#930)
Bumps [JsonPatch.Net](https://github.com/gregsdennis/json-everything) from 1.1.2 to 2.0.2.
- [Release notes](https://github.com/gregsdennis/json-everything/releases)
- [Commits](https://github.com/gregsdennis/json-everything/compare/patch-v1.1.2...patch-v2.0.2)

---
updated-dependencies:
- dependency-name: JsonPatch.Net
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-10 22:45:47 -07:00
Boshi Lian
85755ccb3e 8.0: API Group + v1.24 (#850)
* swagger 1.24

* trim converter

* api group

* before moving method

* grouped api for client

* fix classic build

* fix e2e

* move all code to v8

* fix vis to

* bump ver

* fix authtest filename
2022-05-07 13:05:17 -07:00
kibernetik542
92ccac423a chore : csr approval example using json patch net package (#816)
* chore : csr approval example using json patch net package

* chore : use top level feature, remove k8s client and use reference instead

* chore : remove target framework

* fix : remove redundant reference package
2022-04-01 15:08:33 -07:00