Made a change to avoid calling _httpResponse.Content.ReadAsStringAsync() and deserialize from the content stream. (#731)
* Avoid calling _httpResponse.Content.ReadAsStringAsync() and deserialize from the content stream Made a change to avoid calling _httpResponse.Content.ReadAsStringAsync() and deserialize from the content stream, which significantly reduced memory utilization. Created Kubernetes.cs file and moved constructors and couple methods from the Kubernetes.cs.template to the Kubernetes.cs Generated Kubernetes.cs will be in a separate commit. * Separate commit for generated Kubernetes.cs
This commit is contained in:
committed by
GitHub
parent
43f8922d20
commit
e7de93dd10
@@ -137,7 +137,7 @@ namespace k8s
|
||||
private X509Certificate2 ClientCert { get; }
|
||||
private bool SkipTlsVerify { get; }
|
||||
|
||||
partial void CustomInitialize()
|
||||
private void CustomInitialize()
|
||||
{
|
||||
DeserializationSettings.Converters.Add(new V1Status.V1StatusObjectViewConverter());
|
||||
SerializationSettings.DateFormatString = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.ffffffK";
|
||||
|
||||
Reference in New Issue
Block a user