Skip to content

Commit

Permalink
Pass natural/integer preference args to openapi-to-dhall (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
arobertn authored Jan 14, 2022
1 parent 49d1d68 commit bc7719e
Show file tree
Hide file tree
Showing 2,211 changed files with 13,442 additions and 13,419 deletions.
204 changes: 102 additions & 102 deletions 1.12/defaults.dhall

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.apps.v1.DaemonSetSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ minReadySeconds = None Integer
, revisionHistoryLimit = None Integer
{ minReadySeconds = None Natural
, revisionHistoryLimit = None Natural
, updateStrategy =
None ./../types/io.k8s.api.apps.v1.DaemonSetUpdateStrategy.dhall
}
10 changes: 5 additions & 5 deletions 1.12/defaults/io.k8s.api.apps.v1.DaemonSetStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ collisionCount = None Integer
{ collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1.DaemonSetCondition.dhall)
, numberAvailable = None Integer
, numberUnavailable = None Integer
, observedGeneration = None Integer
, updatedNumberScheduled = None Integer
, numberAvailable = None Natural
, numberUnavailable = None Natural
, observedGeneration = None Natural
, updatedNumberScheduled = None Natural
}
8 changes: 4 additions & 4 deletions 1.12/defaults/io.k8s.api.apps.v1.DeploymentSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ minReadySeconds = None Integer
{ minReadySeconds = None Natural
, paused = None Bool
, progressDeadlineSeconds = None Integer
, replicas = None Integer
, revisionHistoryLimit = None Integer
, progressDeadlineSeconds = None Natural
, replicas = None Natural
, revisionHistoryLimit = None Natural
, strategy = None ./../types/io.k8s.api.apps.v1.DeploymentStrategy.dhall
}
14 changes: 7 additions & 7 deletions 1.12/defaults/io.k8s.api.apps.v1.DeploymentStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ availableReplicas = None Integer
, collisionCount = None Integer
{ availableReplicas = None Natural
, collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1.DeploymentCondition.dhall)
, observedGeneration = None Integer
, readyReplicas = None Integer
, replicas = None Integer
, unavailableReplicas = None Integer
, updatedReplicas = None Integer
, observedGeneration = None Natural
, readyReplicas = None Natural
, replicas = None Natural
, unavailableReplicas = None Natural
, updatedReplicas = None Natural
}
4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.apps.v1.ReplicaSetSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ minReadySeconds = None Integer
, replicas = None Integer
{ minReadySeconds = None Natural
, replicas = None Natural
, template = None ./../types/io.k8s.api.core.v1.PodTemplateSpec.dhall
}
8 changes: 4 additions & 4 deletions 1.12/defaults/io.k8s.api.apps.v1.ReplicaSetStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ availableReplicas = None Integer
{ availableReplicas = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1.ReplicaSetCondition.dhall)
, fullyLabeledReplicas = None Integer
, observedGeneration = None Integer
, readyReplicas = None Integer
, fullyLabeledReplicas = None Natural
, observedGeneration = None Natural
, readyReplicas = None Natural
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ partition = None Integer }
{ partition = None Natural }
4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.apps.v1.StatefulSetSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ podManagementPolicy = None Text
, replicas = None Integer
, revisionHistoryLimit = None Integer
, replicas = None Natural
, revisionHistoryLimit = None Natural
, updateStrategy =
None ./../types/io.k8s.api.apps.v1.StatefulSetUpdateStrategy.dhall
, volumeClaimTemplates =
Expand Down
10 changes: 5 additions & 5 deletions 1.12/defaults/io.k8s.api.apps.v1.StatefulSetStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ collisionCount = None Integer
{ collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1.StatefulSetCondition.dhall)
, currentReplicas = None Integer
, currentReplicas = None Natural
, currentRevision = None Text
, observedGeneration = None Integer
, readyReplicas = None Integer
, observedGeneration = None Natural
, readyReplicas = None Natural
, updateRevision = None Text
, updatedReplicas = None Integer
, updatedReplicas = None Natural
}
8 changes: 4 additions & 4 deletions 1.12/defaults/io.k8s.api.apps.v1beta1.DeploymentSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ minReadySeconds = None Integer
{ minReadySeconds = None Natural
, paused = None Bool
, progressDeadlineSeconds = None Integer
, replicas = None Integer
, revisionHistoryLimit = None Integer
, progressDeadlineSeconds = None Natural
, replicas = None Natural
, revisionHistoryLimit = None Natural
, rollbackTo = None ./../types/io.k8s.api.apps.v1beta1.RollbackConfig.dhall
, selector =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall
Expand Down
14 changes: 7 additions & 7 deletions 1.12/defaults/io.k8s.api.apps.v1beta1.DeploymentStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ availableReplicas = None Integer
, collisionCount = None Integer
{ availableReplicas = None Natural
, collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1beta1.DeploymentCondition.dhall)
, observedGeneration = None Integer
, readyReplicas = None Integer
, replicas = None Integer
, unavailableReplicas = None Integer
, updatedReplicas = None Integer
, observedGeneration = None Natural
, readyReplicas = None Natural
, replicas = None Natural
, unavailableReplicas = None Natural
, updatedReplicas = None Natural
}
2 changes: 1 addition & 1 deletion 1.12/defaults/io.k8s.api.apps.v1beta1.RollbackConfig.dhall
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ revision = None Integer }
{ revision = None Natural }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ partition = None Integer }
{ partition = None Natural }
2 changes: 1 addition & 1 deletion 1.12/defaults/io.k8s.api.apps.v1beta1.ScaleSpec.dhall
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ replicas = None Integer }
{ replicas = None Natural }
4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.apps.v1beta1.StatefulSetSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ podManagementPolicy = None Text
, replicas = None Integer
, revisionHistoryLimit = None Integer
, replicas = None Natural
, revisionHistoryLimit = None Natural
, selector =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall
, updateStrategy =
Expand Down
10 changes: 5 additions & 5 deletions 1.12/defaults/io.k8s.api.apps.v1beta1.StatefulSetStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ collisionCount = None Integer
{ collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1beta1.StatefulSetCondition.dhall)
, currentReplicas = None Integer
, currentReplicas = None Natural
, currentRevision = None Text
, observedGeneration = None Integer
, readyReplicas = None Integer
, observedGeneration = None Natural
, readyReplicas = None Natural
, updateRevision = None Text
, updatedReplicas = None Integer
, updatedReplicas = None Natural
}
4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.DaemonSetSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ minReadySeconds = None Integer
, revisionHistoryLimit = None Integer
{ minReadySeconds = None Natural
, revisionHistoryLimit = None Natural
, updateStrategy =
None ./../types/io.k8s.api.apps.v1beta2.DaemonSetUpdateStrategy.dhall
}
10 changes: 5 additions & 5 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.DaemonSetStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ collisionCount = None Integer
{ collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1beta2.DaemonSetCondition.dhall)
, numberAvailable = None Integer
, numberUnavailable = None Integer
, observedGeneration = None Integer
, updatedNumberScheduled = None Integer
, numberAvailable = None Natural
, numberUnavailable = None Natural
, observedGeneration = None Natural
, updatedNumberScheduled = None Natural
}
8 changes: 4 additions & 4 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.DeploymentSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ minReadySeconds = None Integer
{ minReadySeconds = None Natural
, paused = None Bool
, progressDeadlineSeconds = None Integer
, replicas = None Integer
, revisionHistoryLimit = None Integer
, progressDeadlineSeconds = None Natural
, replicas = None Natural
, revisionHistoryLimit = None Natural
, strategy = None ./../types/io.k8s.api.apps.v1beta2.DeploymentStrategy.dhall
}
14 changes: 7 additions & 7 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.DeploymentStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ availableReplicas = None Integer
, collisionCount = None Integer
{ availableReplicas = None Natural
, collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1beta2.DeploymentCondition.dhall)
, observedGeneration = None Integer
, readyReplicas = None Integer
, replicas = None Integer
, unavailableReplicas = None Integer
, updatedReplicas = None Integer
, observedGeneration = None Natural
, readyReplicas = None Natural
, replicas = None Natural
, unavailableReplicas = None Natural
, updatedReplicas = None Natural
}
4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.ReplicaSetSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ minReadySeconds = None Integer
, replicas = None Integer
{ minReadySeconds = None Natural
, replicas = None Natural
, template = None ./../types/io.k8s.api.core.v1.PodTemplateSpec.dhall
}
8 changes: 4 additions & 4 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.ReplicaSetStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ availableReplicas = None Integer
{ availableReplicas = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1beta2.ReplicaSetCondition.dhall)
, fullyLabeledReplicas = None Integer
, observedGeneration = None Integer
, readyReplicas = None Integer
, fullyLabeledReplicas = None Natural
, observedGeneration = None Natural
, readyReplicas = None Natural
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ partition = None Integer }
{ partition = None Natural }
2 changes: 1 addition & 1 deletion 1.12/defaults/io.k8s.api.apps.v1beta2.ScaleSpec.dhall
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ replicas = None Integer }
{ replicas = None Natural }
4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.StatefulSetSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ podManagementPolicy = None Text
, replicas = None Integer
, revisionHistoryLimit = None Integer
, replicas = None Natural
, revisionHistoryLimit = None Natural
, updateStrategy =
None ./../types/io.k8s.api.apps.v1beta2.StatefulSetUpdateStrategy.dhall
, volumeClaimTemplates =
Expand Down
10 changes: 5 additions & 5 deletions 1.12/defaults/io.k8s.api.apps.v1beta2.StatefulSetStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ collisionCount = None Integer
{ collisionCount = None Natural
, conditions =
None (List ./../types/io.k8s.api.apps.v1beta2.StatefulSetCondition.dhall)
, currentReplicas = None Integer
, currentReplicas = None Natural
, currentRevision = None Text
, observedGeneration = None Integer
, readyReplicas = None Integer
, observedGeneration = None Natural
, readyReplicas = None Natural
, updateRevision = None Text
, updatedReplicas = None Integer
, updatedReplicas = None Natural
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ minReplicas = None Integer, targetCPUUtilizationPercentage = None Integer }
{ minReplicas = None Natural, targetCPUUtilizationPercentage = None Natural }
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ currentCPUUtilizationPercentage = None Integer
{ currentCPUUtilizationPercentage = None Natural
, lastScaleTime =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall
, observedGeneration = None Integer
, observedGeneration = None Natural
}
2 changes: 1 addition & 1 deletion 1.12/defaults/io.k8s.api.autoscaling.v1.ScaleSpec.dhall
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ replicas = None Integer }
{ replicas = None Natural }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ metrics =
None (List ./../types/io.k8s.api.autoscaling.v2beta1.MetricSpec.dhall)
, minReplicas = None Integer
, minReplicas = None Natural
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
None (List ./../types/io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall)
, lastScaleTime =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall
, observedGeneration = None Integer
, observedGeneration = None Natural
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ targetAverageUtilization = None Integer
{ targetAverageUtilization = None Natural
, targetAverageValue =
None ./../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ currentAverageUtilization = None Integer }
{ currentAverageUtilization = None Natural }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ metrics =
None (List ./../types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall)
, minReplicas = None Integer
, minReplicas = None Natural
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
None (List ./../types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall)
, lastScaleTime =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall
, observedGeneration = None Integer
, observedGeneration = None Natural
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ averageUtilization = None Integer
{ averageUtilization = None Natural
, averageValue =
None ./../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall
, value = None ./../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ averageUtilization = None Integer
{ averageUtilization = None Natural
, averageValue =
None ./../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall
, value = None ./../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall
Expand Down
10 changes: 5 additions & 5 deletions 1.12/defaults/io.k8s.api.batch.v1.JobSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ activeDeadlineSeconds = None Integer
, backoffLimit = None Integer
, completions = None Integer
{ activeDeadlineSeconds = None Natural
, backoffLimit = None Natural
, completions = None Natural
, manualSelector = None Bool
, parallelism = None Integer
, parallelism = None Natural
, selector =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall
, ttlSecondsAfterFinished = None Integer
, ttlSecondsAfterFinished = None Natural
}
6 changes: 3 additions & 3 deletions 1.12/defaults/io.k8s.api.batch.v1.JobStatus.dhall
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ active = None Integer
{ active = None Natural
, completionTime =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall
, conditions = None (List ./../types/io.k8s.api.batch.v1.JobCondition.dhall)
, failed = None Integer
, failed = None Natural
, startTime = None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall
, succeeded = None Integer
, succeeded = None Natural
}
6 changes: 3 additions & 3 deletions 1.12/defaults/io.k8s.api.batch.v1beta1.CronJobSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ concurrencyPolicy = None Text
, failedJobsHistoryLimit = None Integer
, startingDeadlineSeconds = None Integer
, successfulJobsHistoryLimit = None Integer
, failedJobsHistoryLimit = None Natural
, startingDeadlineSeconds = None Natural
, successfulJobsHistoryLimit = None Natural
, suspend = None Bool
}
6 changes: 3 additions & 3 deletions 1.12/defaults/io.k8s.api.batch.v2alpha1.CronJobSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ concurrencyPolicy = None Text
, failedJobsHistoryLimit = None Integer
, startingDeadlineSeconds = None Integer
, successfulJobsHistoryLimit = None Integer
, failedJobsHistoryLimit = None Natural
, startingDeadlineSeconds = None Natural
, successfulJobsHistoryLimit = None Natural
, suspend = None Bool
}
4 changes: 2 additions & 2 deletions 1.12/defaults/io.k8s.api.coordination.v1beta1.LeaseSpec.dhall
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ acquireTime =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime.dhall
, holderIdentity = None Text
, leaseDurationSeconds = None Integer
, leaseTransitions = None Integer
, leaseDurationSeconds = None Natural
, leaseTransitions = None Natural
, renewTime =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime.dhall
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ fsType = None Text, partition = None Integer, readOnly = None Bool }
{ fsType = None Text, partition = None Natural, readOnly = None Bool }
2 changes: 1 addition & 1 deletion 1.12/defaults/io.k8s.api.core.v1.ClientIPConfig.dhall
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ timeoutSeconds = None Integer }
{ timeoutSeconds = None Natural }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ defaultMode = None Integer
{ defaultMode = None Natural
, items = None (List ./../types/io.k8s.api.core.v1.KeyToPath.dhall)
, name = None Text
, optional = None Bool
Expand Down
2 changes: 1 addition & 1 deletion 1.12/defaults/io.k8s.api.core.v1.ContainerImage.dhall
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ sizeBytes = None Integer }
{ sizeBytes = None Natural }
Loading

0 comments on commit bc7719e

Please sign in to comment.