deadnix check

This commit is contained in:
GTrunSec 2022-04-02 13:41:07 -07:00
parent e0d7a66cdc
commit 890b84be5e
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0
23 changed files with 162 additions and 242 deletions

View file

@ -42,7 +42,7 @@ with lib; let
getSubOptions = finalType.getSubOptions;
getSubModules = finalType.getSubModules;
substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m);
typeMerge = t1: t2: null;
typeMerge = _t1: _t2: null;
functor = (defaultFunctor name) // {wrapped = finalType;};
};
};
@ -62,7 +62,7 @@ with lib; let
values);
submoduleOf = ref:
types.submodule ({name, ...}: {
types.submodule ({ ...}: {
options = definitions."${ref}".options or {};
config = definitions."${ref}".config or {};
});
@ -234,7 +234,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1.MutatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -454,7 +454,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -660,7 +660,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -882,7 +882,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -1148,7 +1148,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentNumberScheduled" = mkOption {
@ -1367,7 +1367,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"observedGeneration" = mkOption {
@ -1547,7 +1547,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"fullyLabeledReplicas" = mkOption {
@ -1760,7 +1760,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentReplicas" = mkOption {
@ -4094,7 +4094,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"failed" = mkOption {
@ -5421,7 +5421,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"kind" = mkOption {
@ -5662,7 +5662,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"envFrom" = mkOption {
@ -5698,7 +5698,7 @@ with lib; let
"containerPort");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"readinessProbe" = mkOption {
@ -5744,7 +5744,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumeMounts" = mkOption {
@ -5754,7 +5754,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"workingDir" = mkOption {
@ -6267,7 +6267,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"envFrom" = mkOption {
@ -6345,7 +6345,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumeMounts" = mkOption {
@ -6355,7 +6355,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"workingDir" = mkOption {
@ -7311,7 +7311,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"phase" = mkOption {
@ -7599,7 +7599,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"allocatable" = mkOption {
@ -7617,7 +7617,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"config" = mkOption {
@ -7953,7 +7953,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"phase" = mkOption {
@ -8515,7 +8515,7 @@ with lib; let
type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"dnsConfig" = mkOption {
@ -8538,7 +8538,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"hostAliases" = mkOption {
@ -8547,7 +8547,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"hostIPC" = mkOption {
@ -8573,7 +8573,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"initContainers" = mkOption {
@ -8583,7 +8583,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"nodeName" = mkOption {
@ -8670,7 +8670,7 @@ with lib; let
"topologyKey");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumes" = mkOption {
@ -8679,7 +8679,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -8730,7 +8730,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"containerStatuses" = mkOption {
@ -8776,7 +8776,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"qosClass" = mkOption {
@ -9232,7 +9232,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"fullyLabeledReplicas" = mkOption {
@ -9877,7 +9877,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -10045,7 +10045,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"publishNotReadyAddresses" = mkOption {
@ -14614,7 +14614,7 @@ with lib; let
type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -15168,7 +15168,7 @@ with lib; let
coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -17299,7 +17299,7 @@ with lib; let
"io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"resourceVersion" = mkOption {
@ -17735,7 +17735,7 @@ with lib; let
"io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -17910,7 +17910,7 @@ with lib; let
"io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};

View file

@ -42,7 +42,7 @@ with lib; let
getSubOptions = finalType.getSubOptions;
getSubModules = finalType.getSubModules;
substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m);
typeMerge = t1: t2: null;
typeMerge = _t1: _t2: null;
functor = (defaultFunctor name) // {wrapped = finalType;};
};
};
@ -62,7 +62,7 @@ with lib; let
values);
submoduleOf = ref:
types.submodule ({name, ...}: {
types.submodule ({ ...}: {
options = definitions."${ref}".options or {};
config = definitions."${ref}".config or {};
});
@ -234,7 +234,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1.MutatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -454,7 +454,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -660,7 +660,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -882,7 +882,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -1288,7 +1288,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentNumberScheduled" = mkOption {
@ -1507,7 +1507,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"observedGeneration" = mkOption {
@ -1687,7 +1687,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"fullyLabeledReplicas" = mkOption {
@ -1900,7 +1900,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentReplicas" = mkOption {
@ -4352,7 +4352,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"failed" = mkOption {
@ -5679,7 +5679,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"kind" = mkOption {
@ -5920,7 +5920,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"envFrom" = mkOption {
@ -5956,7 +5956,7 @@ with lib; let
"containerPort");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"readinessProbe" = mkOption {
@ -6002,7 +6002,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumeMounts" = mkOption {
@ -6012,7 +6012,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"workingDir" = mkOption {
@ -6525,7 +6525,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"envFrom" = mkOption {
@ -6603,7 +6603,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumeMounts" = mkOption {
@ -6613,7 +6613,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"workingDir" = mkOption {
@ -7574,7 +7574,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"phase" = mkOption {
@ -7862,7 +7862,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"allocatable" = mkOption {
@ -7880,7 +7880,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"config" = mkOption {
@ -8216,7 +8216,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"phase" = mkOption {
@ -8778,7 +8778,7 @@ with lib; let
type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"dnsConfig" = mkOption {
@ -8801,7 +8801,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"hostAliases" = mkOption {
@ -8810,7 +8810,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"hostIPC" = mkOption {
@ -8836,7 +8836,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"initContainers" = mkOption {
@ -8846,7 +8846,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"nodeName" = mkOption {
@ -8933,7 +8933,7 @@ with lib; let
"topologyKey");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumes" = mkOption {
@ -8942,7 +8942,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -8993,7 +8993,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"containerStatuses" = mkOption {
@ -9039,7 +9039,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"qosClass" = mkOption {
@ -9521,7 +9521,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"fullyLabeledReplicas" = mkOption {
@ -10166,7 +10166,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -10353,7 +10353,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"publishNotReadyAddresses" = mkOption {
@ -10417,7 +10417,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"loadBalancer" = mkOption {
@ -15473,7 +15473,7 @@ with lib; let
type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -16070,7 +16070,7 @@ with lib; let
coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -18247,7 +18247,7 @@ with lib; let
"io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"resourceVersion" = mkOption {
@ -18683,7 +18683,7 @@ with lib; let
"io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -18858,7 +18858,7 @@ with lib; let
"io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};

View file

@ -42,7 +42,7 @@ with lib; let
getSubOptions = finalType.getSubOptions;
getSubModules = finalType.getSubModules;
substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m);
typeMerge = t1: t2: null;
typeMerge = _t1: _t2: null;
functor = (defaultFunctor name) // {wrapped = finalType;};
};
};
@ -62,7 +62,7 @@ with lib; let
values);
submoduleOf = ref:
types.submodule ({name, ...}: {
types.submodule ({ ...}: {
options = definitions."${ref}".options or {};
config = definitions."${ref}".config or {};
});
@ -234,7 +234,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1.MutatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -454,7 +454,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -660,7 +660,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -882,7 +882,7 @@ with lib; let
"io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -1288,7 +1288,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentNumberScheduled" = mkOption {
@ -1507,7 +1507,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"observedGeneration" = mkOption {
@ -1687,7 +1687,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"fullyLabeledReplicas" = mkOption {
@ -1907,7 +1907,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentReplicas" = mkOption {
@ -4502,7 +4502,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"failed" = mkOption {
@ -5719,7 +5719,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"kind" = mkOption {
@ -5960,7 +5960,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"envFrom" = mkOption {
@ -5996,7 +5996,7 @@ with lib; let
"containerPort");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"readinessProbe" = mkOption {
@ -6042,7 +6042,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumeMounts" = mkOption {
@ -6052,7 +6052,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"workingDir" = mkOption {
@ -6565,7 +6565,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"envFrom" = mkOption {
@ -6643,7 +6643,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumeMounts" = mkOption {
@ -6653,7 +6653,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"workingDir" = mkOption {
@ -6699,7 +6699,7 @@ with lib; let
coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"kind" = mkOption {
@ -7638,7 +7638,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"phase" = mkOption {
@ -7926,7 +7926,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"allocatable" = mkOption {
@ -7944,7 +7944,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"config" = mkOption {
@ -8280,7 +8280,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"phase" = mkOption {
@ -8848,7 +8848,7 @@ with lib; let
type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"dnsConfig" = mkOption {
@ -8871,7 +8871,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"hostAliases" = mkOption {
@ -8880,7 +8880,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"hostIPC" = mkOption {
@ -8906,7 +8906,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"initContainers" = mkOption {
@ -8916,7 +8916,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"nodeName" = mkOption {
@ -9003,7 +9003,7 @@ with lib; let
"topologyKey");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"volumes" = mkOption {
@ -9012,7 +9012,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -9063,7 +9063,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"containerStatuses" = mkOption {
@ -9109,7 +9109,7 @@ with lib; let
types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"qosClass" = mkOption {
@ -9596,7 +9596,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"fullyLabeledReplicas" = mkOption {
@ -10241,7 +10241,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -10439,7 +10439,7 @@ with lib; let
(coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"publishNotReadyAddresses" = mkOption {
@ -10505,7 +10505,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"loadBalancer" = mkOption {
@ -13612,7 +13612,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentHealthy" = mkOption {
@ -13860,7 +13860,7 @@ with lib; let
"type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"currentHealthy" = mkOption {
@ -15525,7 +15525,7 @@ with lib; let
type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -16212,7 +16212,7 @@ with lib; let
coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name";
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -18467,7 +18467,7 @@ with lib; let
"io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
"resourceVersion" = mkOption {
@ -18903,7 +18903,7 @@ with lib; let
"io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};
@ -19078,7 +19078,7 @@ with lib; let
"io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type");
apply = values:
if values != null
then mapAttrsToList (n: v: v) values
then mapAttrsToList (_n: v: v) values
else values;
};
};