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 (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 (podPidsLimit != null) 'podPidsLimit': podPidsLimit!,
    };