NodeKubeletConfig.fromJson constructor
NodeKubeletConfig.fromJson(
- Map json_
Implementation
NodeKubeletConfig.fromJson(core.Map json_)
: this(
allowedUnsafeSysctls: (json_['allowedUnsafeSysctls'] as core.List?)
?.map((value) => value as core.String)
.toList(),
containerLogMaxFiles: json_['containerLogMaxFiles'] as core.int?,
containerLogMaxSize: json_['containerLogMaxSize'] as core.String?,
cpuCfsQuota: json_['cpuCfsQuota'] as core.bool?,
cpuCfsQuotaPeriod: json_['cpuCfsQuotaPeriod'] as core.String?,
cpuManagerPolicy: json_['cpuManagerPolicy'] as core.String?,
imageGcHighThresholdPercent:
json_['imageGcHighThresholdPercent'] as core.int?,
imageGcLowThresholdPercent:
json_['imageGcLowThresholdPercent'] as core.int?,
imageMaximumGcAge: json_['imageMaximumGcAge'] as core.String?,
imageMinimumGcAge: json_['imageMinimumGcAge'] as core.String?,
insecureKubeletReadonlyPortEnabled:
json_['insecureKubeletReadonlyPortEnabled'] as core.bool?,
podPidsLimit: json_['podPidsLimit'] as core.String?,
);