feat: enhance Kubernetes client with watch functionality #1886
buildtest.yaml
on: pull_request
MSBuild build
3m 13s
e2e
10m 30s
Matrix: Dotnet build
Annotations
60 warnings and 2 notices
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StoragemigrationV1alpha1OperationsExtensions.g.cs#L905
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StoragemigrationV1alpha1OperationsExtensions.g.cs#L774
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2719
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2598
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1460
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1343
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L757
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L640
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
MSBuild build:
src/KubernetesClient/Models/IntOrString.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
MSBuild build:
src/LibKubernetesGenerator/TypeHelper.cs#L309
Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)
|
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (macOS-latest):
src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected
|
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (macOS-latest):
src/KubernetesClient/Models/IntOrString.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Dotnet build (macOS-latest):
src/LibKubernetesGenerator/TypeHelper.cs#L309
Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)
|
Dotnet build (ubuntu-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (ubuntu-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (ubuntu-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (ubuntu-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (ubuntu-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (ubuntu-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (ubuntu-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (ubuntu-latest):
src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected
|
Dotnet build (ubuntu-latest):
src/KubernetesClient/Models/IntOrString.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Dotnet build (ubuntu-latest):
src/LibKubernetesGenerator/TypeHelper.cs#L309
Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StoragemigrationV1alpha1OperationsExtensions.g.cs#L774
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L576
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L448
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2719
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2598
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1460
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1343
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L757
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient.Aot/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L640
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/Models/IntOrString.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/NamespaceClient.g.cs#L277
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/EndpointsClient.g.cs#L277
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/ComponentStatusClient.g.cs#L405
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/ComponentStatusClient.g.cs#L277
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L576
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/LimitRangeClient.g.cs#L405
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/LimitRangeClient.g.cs#L277
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L448
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
e2e:
src/KubernetesClient/Models/IntOrString.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
e2e:
src/LibKubernetesGenerator/TypeHelper.cs#L309
Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)
|
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions.'
|
Dotnet build (windows-latest):
src/KubernetesClient/Models/IntOrString.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Dotnet build (windows-latest):
src/KubernetesClient/Models/IntOrString.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Dotnet build (windows-latest):
src/LibKubernetesGenerator/TypeHelper.cs#L309
Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)
|
MSBuild build
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Dotnet build (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
test-results-macOS-latest
|
3.7 MB |
sha256:498dafbacfc5d8f1f18347c19a3b3a2c9e86ce74066f4ab757c36dc59df0d4d5
|
|
test-results-ubuntu-latest
|
5.95 MB |
sha256:a37f946b780eb1e89acea17124be3971159e6f19428dc0b92f0c1b5a72c5c23d
|
|
test-results-windows-latest
|
6.82 MB |
sha256:9e3327142a3d6b05750a1b023a3d7c6e91554e2c4d230dfa576320dbd3dba51a
|
|