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
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
Boshi Lian
564d23057c
fix crd code er ( #1439 )
2023-10-28 03:43:52 +02:00
leland knight
66ad77d0d2
CStatus should be status otherwise it doesn't work at all to load 'status:' ( #1348 )
2023-07-25 11:30:06 -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
stan-sz
21c41e72eb
Implement IMetadata interface ( #998 )
...
* V1PodTemplateSpec implements IMetadata interface
This will allow using the ModelExteions methods over V1PodTemplateSpec
* Typo
2022-09-12 00:47:24 -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
ianzhang366
2488c249d1
fix a typo ( #879 )
...
Signed-off-by: Ian Zhang <ianzhang@microsoft.com >
2022-05-31 07:56:53 -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
Boshi Lian
01b2aa832c
cleanup folders ( #792 )
...
* unify folders
* move dep and target outside
2022-03-07 10:06:55 -08:00
Boshi Lian
0d719f1fc6
7.1 remove old autorest ( #785 )
...
* init removal
* clean up warning
* bump ver to 7.1
* fix build
* custom http client no long supported
* cleanup unused types
* fix npe
* remove service client
* modern ssl settings
* fix test
* fix client cert null
* fix ctor
* cleanup
2022-02-25 13:33:23 -08:00
Bliamoh
2d8915dff7
Update customResource example + bump nuget packages versions ( #720 )
...
Update customResource example nuget packages + update example
Update httpClientFactory example nuget packages
Update nuget packages
Change DateTime to DateTimeOffset
Update tests nuget packages
Make KubernetesClient project reference instead of Nuget package reference
Co-authored-by: Boshi Lian <farmer1992@gmail.com >
Co-authored-by: Boshi Lian <farmer1992@gmail.com >
2021-10-14 09:02:51 -07:00
Ali Kanso
0e3cb942d1
Custom Resource example ( #540 )
...
* CR example
* minor changes
2020-12-19 08:26:25 -08:00