NodeConfigDefaults.fromJson constructor

NodeConfigDefaults.fromJson(
  1. Map json_
)

Implementation

NodeConfigDefaults.fromJson(core.Map json_)
    : this(
        containerdConfig: json_.containsKey('containerdConfig')
            ? ContainerdConfig.fromJson(json_['containerdConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        gcfsConfig: json_.containsKey('gcfsConfig')
            ? GcfsConfig.fromJson(
                json_['gcfsConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        loggingConfig: json_.containsKey('loggingConfig')
            ? NodePoolLoggingConfig.fromJson(
                json_['loggingConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        nodeKubeletConfig: json_.containsKey('nodeKubeletConfig')
            ? NodeKubeletConfig.fromJson(json_['nodeKubeletConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );