NodeKubeletConfig.fromJson constructor

NodeKubeletConfig.fromJson(
  1. Map json_
)

Implementation

NodeKubeletConfig.fromJson(core.Map json_)
    : this(
        cpuCfsQuota: json_.containsKey('cpuCfsQuota')
            ? json_['cpuCfsQuota'] as core.bool
            : null,
        cpuCfsQuotaPeriod: json_.containsKey('cpuCfsQuotaPeriod')
            ? json_['cpuCfsQuotaPeriod'] as core.String
            : null,
        cpuManagerPolicy: json_.containsKey('cpuManagerPolicy')
            ? json_['cpuManagerPolicy'] as core.String
            : null,
        insecureKubeletReadonlyPortEnabled:
            json_.containsKey('insecureKubeletReadonlyPortEnabled')
                ? json_['insecureKubeletReadonlyPortEnabled'] as core.bool
                : null,
        podPidsLimit: json_.containsKey('podPidsLimit')
            ? json_['podPidsLimit'] as core.String
            : null,
      );