PolicyControllerPolicyControllerDeploymentConfig.fromJson constructor
PolicyControllerPolicyControllerDeploymentConfig.fromJson(
- Map json_
Implementation
PolicyControllerPolicyControllerDeploymentConfig.fromJson(core.Map json_)
: this(
containerResources: json_.containsKey('containerResources')
? PolicyControllerResourceRequirements.fromJson(
json_['containerResources']
as core.Map<core.String, core.dynamic>)
: null,
podAffinity: json_.containsKey('podAffinity')
? json_['podAffinity'] as core.String
: null,
podAntiAffinity: json_.containsKey('podAntiAffinity')
? json_['podAntiAffinity'] as core.bool
: null,
podTolerations: json_.containsKey('podTolerations')
? (json_['podTolerations'] as core.List)
.map((value) => PolicyControllerToleration.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
replicaCount: json_.containsKey('replicaCount')
? json_['replicaCount'] as core.String
: null,
);