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;
};
};