toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowedUnsafeSysctls != null)
    'allowedUnsafeSysctls': allowedUnsafeSysctls!,
  if (containerLogMaxFiles != null)
    'containerLogMaxFiles': containerLogMaxFiles!,
  if (containerLogMaxSize != null)
    'containerLogMaxSize': containerLogMaxSize!,
  if (cpuCfsQuota != null) 'cpuCfsQuota': cpuCfsQuota!,
  if (cpuCfsQuotaPeriod != null) 'cpuCfsQuotaPeriod': cpuCfsQuotaPeriod!,
  if (cpuManagerPolicy != null) 'cpuManagerPolicy': cpuManagerPolicy!,
  if (evictionMaxPodGracePeriodSeconds != null)
    'evictionMaxPodGracePeriodSeconds': evictionMaxPodGracePeriodSeconds!,
  if (evictionMinimumReclaim != null)
    'evictionMinimumReclaim': evictionMinimumReclaim!,
  if (evictionSoft != null) 'evictionSoft': evictionSoft!,
  if (evictionSoftGracePeriod != null)
    'evictionSoftGracePeriod': evictionSoftGracePeriod!,
  if (imageGcHighThresholdPercent != null)
    'imageGcHighThresholdPercent': imageGcHighThresholdPercent!,
  if (imageGcLowThresholdPercent != null)
    'imageGcLowThresholdPercent': imageGcLowThresholdPercent!,
  if (imageMaximumGcAge != null) 'imageMaximumGcAge': imageMaximumGcAge!,
  if (imageMinimumGcAge != null) 'imageMinimumGcAge': imageMinimumGcAge!,
  if (insecureKubeletReadonlyPortEnabled != null)
    'insecureKubeletReadonlyPortEnabled': insecureKubeletReadonlyPortEnabled!,
  if (maxParallelImagePulls != null)
    'maxParallelImagePulls': maxParallelImagePulls!,
  if (memoryManager != null) 'memoryManager': memoryManager!,
  if (podPidsLimit != null) 'podPidsLimit': podPidsLimit!,
  if (singleProcessOomKill != null)
    'singleProcessOomKill': singleProcessOomKill!,
  if (topologyManager != null) 'topologyManager': topologyManager!,
};