mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-11-03 21:05:47 +03:00
Upgrade to Kubernetes 0.13.4 (#53)
This commit is contained in:
parent
423db8a8bb
commit
f860c4e2a4
@ -3,7 +3,7 @@
|
||||
import requests
|
||||
import re
|
||||
|
||||
kubernetes_tag = 'v1.11.0'
|
||||
kubernetes_tag = 'v1.13.4'
|
||||
url = \
|
||||
'https://raw.githubusercontent.com/kubernetes/kubernetes/{tag}/api/openapi-spec/swagger.json' \
|
||||
.format(tag=kubernetes_tag)
|
||||
|
@ -4,4 +4,5 @@
|
||||
, name = _params.name
|
||||
, namespaceSelector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, rules = ([] : Optional (List ../types/io.k8s.api.admissionregistration.v1beta1.RuleWithOperations.dhall))
|
||||
, sideEffects = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall
|
||||
|
@ -1,5 +1,4 @@
|
||||
\(_params : {caBundle : (Text)}) ->
|
||||
{ caBundle = _params.caBundle
|
||||
{ caBundle = ([] : Optional (Text))
|
||||
, service = ([] : Optional (../types/io.k8s.api.admissionregistration.v1beta1.ServiceReference.dhall))
|
||||
, url = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall
|
||||
|
@ -0,0 +1,6 @@
|
||||
\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)}) ->
|
||||
{ apiVersion = ("auditregistration.k8s.io/v1alpha1" : Text)
|
||||
, kind = ("AuditSink" : Text)
|
||||
, metadata = _params.metadata
|
||||
, spec = ([] : Optional (../types/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall))
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall
|
@ -0,0 +1,6 @@
|
||||
\(_params : {items : (List ../types/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall), metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)}) ->
|
||||
{ apiVersion = ("auditregistration.k8s.io/v1alpha1" : Text)
|
||||
, items = _params.items
|
||||
, kind = ("AuditSinkList" : Text)
|
||||
, metadata = _params.metadata
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {policy : (../types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall), webhook : (../types/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall)}) ->
|
||||
{ policy = _params.policy
|
||||
, webhook = _params.webhook
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {level : (Text)}) ->
|
||||
{ level = _params.level
|
||||
, stages = ([] : Optional (List Text))
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall
|
@ -0,0 +1,5 @@
|
||||
\(_params : {name : (Text), namespace : (Text)}) ->
|
||||
{ name = _params.name
|
||||
, namespace = _params.namespace
|
||||
, path = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {clientConfig : (../types/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall)}) ->
|
||||
{ clientConfig = _params.clientConfig
|
||||
, throttle = ([] : Optional (../types/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall))
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall
|
@ -0,0 +1,4 @@
|
||||
{ caBundle = ([] : Optional (Text))
|
||||
, service = ([] : Optional (../types/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall))
|
||||
, url = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall
|
@ -0,0 +1,3 @@
|
||||
{ burst = ([] : Optional (Natural))
|
||||
, qps = ([] : Optional (Natural))
|
||||
} : ../types/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall
|
@ -1,2 +1,3 @@
|
||||
{ token = ([] : Optional (Text))
|
||||
{ audiences = ([] : Optional (List Text))
|
||||
, token = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.api.authentication.v1.TokenReviewSpec.dhall
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ authenticated = ([] : Optional (Bool))
|
||||
{ audiences = ([] : Optional (List Text))
|
||||
, authenticated = ([] : Optional (Bool))
|
||||
, error = ([] : Optional (Text))
|
||||
, user = ([] : Optional (../types/io.k8s.api.authentication.v1.UserInfo.dhall))
|
||||
} : ../types/io.k8s.api.authentication.v1.TokenReviewStatus.dhall
|
||||
|
@ -1,2 +1,3 @@
|
||||
{ token = ([] : Optional (Text))
|
||||
{ audiences = ([] : Optional (List Text))
|
||||
, token = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ authenticated = ([] : Optional (Bool))
|
||||
{ audiences = ([] : Optional (List Text))
|
||||
, authenticated = ([] : Optional (Bool))
|
||||
, error = ([] : Optional (Text))
|
||||
, user = ([] : Optional (../types/io.k8s.api.authentication.v1beta1.UserInfo.dhall))
|
||||
} : ../types/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall
|
||||
|
@ -1,6 +1,6 @@
|
||||
\(_params : {conditions : (List ../types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition.dhall), currentMetrics : (List ../types/io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall), currentReplicas : (Natural), desiredReplicas : (Natural)}) ->
|
||||
\(_params : {conditions : (List ../types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition.dhall), currentReplicas : (Natural), desiredReplicas : (Natural)}) ->
|
||||
{ conditions = _params.conditions
|
||||
, currentMetrics = _params.currentMetrics
|
||||
, currentMetrics = ([] : Optional (List ../types/io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall))
|
||||
, currentReplicas = _params.currentReplicas
|
||||
, desiredReplicas = _params.desiredReplicas
|
||||
, lastScaleTime = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall))
|
||||
|
@ -1,5 +1,7 @@
|
||||
\(_params : {metricName : (Text), target : (../types/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall), targetValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)}) ->
|
||||
{ metricName = _params.metricName
|
||||
{ averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, metricName = _params.metricName
|
||||
, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, target = _params.target
|
||||
, targetValue = _params.targetValue
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall
|
||||
|
@ -1,5 +1,7 @@
|
||||
\(_params : {currentValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall), metricName : (Text), target : (../types/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall)}) ->
|
||||
{ currentValue = _params.currentValue
|
||||
{ averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, currentValue = _params.currentValue
|
||||
, metricName = _params.metricName
|
||||
, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, target = _params.target
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall
|
||||
|
@ -1,4 +1,5 @@
|
||||
\(_params : {metricName : (Text), targetAverageValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)}) ->
|
||||
{ metricName = _params.metricName
|
||||
, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, targetAverageValue = _params.targetAverageValue
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall
|
||||
|
@ -1,4 +1,5 @@
|
||||
\(_params : {currentAverageValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall), metricName : (Text)}) ->
|
||||
{ currentAverageValue = _params.currentAverageValue
|
||||
, metricName = _params.metricName
|
||||
, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall
|
||||
|
@ -0,0 +1,5 @@
|
||||
\(_params : {apiVersion : (Text), kind : (Text), name : (Text)}) ->
|
||||
{ apiVersion = _params.apiVersion
|
||||
, kind = _params.kind
|
||||
, name = _params.name
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) ->
|
||||
{ metric = _params.metric
|
||||
, target = _params.target
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)}) ->
|
||||
{ current = _params.current
|
||||
, metric = _params.metric
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall
|
@ -0,0 +1,7 @@
|
||||
\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)}) ->
|
||||
{ apiVersion = ("autoscaling/v2beta2" : Text)
|
||||
, kind = ("HorizontalPodAutoscaler" : Text)
|
||||
, metadata = _params.metadata
|
||||
, spec = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall))
|
||||
, status = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall))
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall
|
@ -0,0 +1,7 @@
|
||||
\(_params : {status : (Text), type : (Text)}) ->
|
||||
{ lastTransitionTime = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall))
|
||||
, message = ([] : Optional (Text))
|
||||
, reason = ([] : Optional (Text))
|
||||
, status = _params.status
|
||||
, type = _params.type
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall
|
@ -0,0 +1,6 @@
|
||||
\(_params : {items : (List ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall), metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)}) ->
|
||||
{ apiVersion = ("autoscaling/v2beta2" : Text)
|
||||
, items = _params.items
|
||||
, kind = ("HorizontalPodAutoscalerList" : Text)
|
||||
, metadata = _params.metadata
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall
|
@ -0,0 +1,6 @@
|
||||
\(_params : {maxReplicas : (Natural), scaleTargetRef : (../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall)}) ->
|
||||
{ maxReplicas = _params.maxReplicas
|
||||
, metrics = ([] : Optional (List ../types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall))
|
||||
, minReplicas = ([] : Optional (Natural))
|
||||
, scaleTargetRef = _params.scaleTargetRef
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall
|
@ -0,0 +1,8 @@
|
||||
\(_params : {conditions : (List ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall), currentReplicas : (Natural), desiredReplicas : (Natural)}) ->
|
||||
{ conditions = _params.conditions
|
||||
, currentMetrics = ([] : Optional (List ../types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall))
|
||||
, currentReplicas = _params.currentReplicas
|
||||
, desiredReplicas = _params.desiredReplicas
|
||||
, lastScaleTime = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall))
|
||||
, observedGeneration = ([] : Optional (Natural))
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {name : (Text)}) ->
|
||||
{ name = _params.name
|
||||
, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall
|
7
default/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall
Normal file
7
default/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall
Normal file
@ -0,0 +1,7 @@
|
||||
\(_params : {type : (Text)}) ->
|
||||
{ external = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall))
|
||||
, object = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall))
|
||||
, pods = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall))
|
||||
, resource = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall))
|
||||
, type = _params.type
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall
|
@ -0,0 +1,7 @@
|
||||
\(_params : {type : (Text)}) ->
|
||||
{ external = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall))
|
||||
, object = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall))
|
||||
, pods = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall))
|
||||
, resource = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall))
|
||||
, type = _params.type
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall
|
@ -0,0 +1,6 @@
|
||||
\(_params : {type : (Text)}) ->
|
||||
{ averageUtilization = ([] : Optional (Natural))
|
||||
, averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, type = _params.type
|
||||
, value = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall
|
@ -0,0 +1,4 @@
|
||||
{ averageUtilization = ([] : Optional (Natural))
|
||||
, averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, value = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall
|
@ -0,0 +1,5 @@
|
||||
\(_params : {describedObject : (../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) ->
|
||||
{ describedObject = _params.describedObject
|
||||
, metric = _params.metric
|
||||
, target = _params.target
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall
|
@ -0,0 +1,5 @@
|
||||
\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), describedObject : (../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)}) ->
|
||||
{ current = _params.current
|
||||
, describedObject = _params.describedObject
|
||||
, metric = _params.metric
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) ->
|
||||
{ metric = _params.metric
|
||||
, target = _params.target
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)}) ->
|
||||
{ current = _params.current
|
||||
, metric = _params.metric
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {name : (Text), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) ->
|
||||
{ name = _params.name
|
||||
, target = _params.target
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), name : (Text)}) ->
|
||||
{ current = _params.current
|
||||
, name = _params.name
|
||||
} : ../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall
|
@ -6,4 +6,5 @@
|
||||
, parallelism = ([] : Optional (Natural))
|
||||
, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, template = _params.template
|
||||
, ttlSecondsAfterFinished = ([] : Optional (Natural))
|
||||
} : ../types/io.k8s.api.batch.v1.JobSpec.dhall
|
||||
|
@ -0,0 +1,6 @@
|
||||
\(_params : {endpoints : (Text), path : (Text)}) ->
|
||||
{ endpoints = _params.endpoints
|
||||
, endpointsNamespace = ([] : Optional (Text))
|
||||
, path = _params.path
|
||||
, readOnly = ([] : Optional (Bool))
|
||||
} : ../types/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall
|
@ -1,3 +1,4 @@
|
||||
\(_params : {path : (Text)}) ->
|
||||
{ path = _params.path
|
||||
{ fsType = ([] : Optional (Text))
|
||||
, path = _params.path
|
||||
} : ../types/io.k8s.api.core.v1.LocalVolumeSource.dhall
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ accessModes = ([] : Optional (List Text))
|
||||
, dataSource = ([] : Optional (../types/io.k8s.api.core.v1.TypedLocalObjectReference.dhall))
|
||||
, resources = ([] : Optional (../types/io.k8s.api.core.v1.ResourceRequirements.dhall))
|
||||
, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, storageClassName = ([] : Optional (Text))
|
||||
|
@ -11,7 +11,7 @@
|
||||
, flexVolume = ([] : Optional (../types/io.k8s.api.core.v1.FlexPersistentVolumeSource.dhall))
|
||||
, flocker = ([] : Optional (../types/io.k8s.api.core.v1.FlockerVolumeSource.dhall))
|
||||
, gcePersistentDisk = ([] : Optional (../types/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource.dhall))
|
||||
, glusterfs = ([] : Optional (../types/io.k8s.api.core.v1.GlusterfsVolumeSource.dhall))
|
||||
, glusterfs = ([] : Optional (../types/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall))
|
||||
, hostPath = ([] : Optional (../types/io.k8s.api.core.v1.HostPathVolumeSource.dhall))
|
||||
, iscsi = ([] : Optional (../types/io.k8s.api.core.v1.ISCSIPersistentVolumeSource.dhall))
|
||||
, local = ([] : Optional (../types/io.k8s.api.core.v1.LocalVolumeSource.dhall))
|
||||
|
@ -5,6 +5,7 @@
|
||||
, containers = _params.containers
|
||||
, dnsConfig = ([] : Optional (../types/io.k8s.api.core.v1.PodDNSConfig.dhall))
|
||||
, dnsPolicy = ([] : Optional (Text))
|
||||
, enableServiceLinks = ([] : Optional (Bool))
|
||||
, hostAliases = ([] : Optional (List ../types/io.k8s.api.core.v1.HostAlias.dhall))
|
||||
, hostIPC = ([] : Optional (Bool))
|
||||
, hostNetwork = ([] : Optional (Bool))
|
||||
@ -18,6 +19,7 @@
|
||||
, priorityClassName = ([] : Optional (Text))
|
||||
, readinessGates = ([] : Optional (List ../types/io.k8s.api.core.v1.PodReadinessGate.dhall))
|
||||
, restartPolicy = ([] : Optional (Text))
|
||||
, runtimeClassName = ([] : Optional (Text))
|
||||
, schedulerName = ([] : Optional (Text))
|
||||
, securityContext = ([] : Optional (../types/io.k8s.api.core.v1.PodSecurityContext.dhall))
|
||||
, serviceAccount = ([] : Optional (Text))
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ allowPrivilegeEscalation = ([] : Optional (Bool))
|
||||
, capabilities = ([] : Optional (../types/io.k8s.api.core.v1.Capabilities.dhall))
|
||||
, privileged = ([] : Optional (Bool))
|
||||
, procMount = ([] : Optional (Text))
|
||||
, readOnlyRootFilesystem = ([] : Optional (Bool))
|
||||
, runAsGroup = ([] : Optional (Natural))
|
||||
, runAsNonRoot = ([] : Optional (Bool))
|
||||
|
@ -0,0 +1,5 @@
|
||||
\(_params : {kind : (Text), name : (Text)}) ->
|
||||
{ apiGroup = ([] : Optional (Text))
|
||||
, kind = _params.kind
|
||||
, name = _params.name
|
||||
} : ../types/io.k8s.api.core.v1.TypedLocalObjectReference.dhall
|
@ -3,6 +3,7 @@
|
||||
, allowedCapabilities = ([] : Optional (List Text))
|
||||
, allowedFlexVolumes = ([] : Optional (List ../types/io.k8s.api.extensions.v1beta1.AllowedFlexVolume.dhall))
|
||||
, allowedHostPaths = ([] : Optional (List ../types/io.k8s.api.extensions.v1beta1.AllowedHostPath.dhall))
|
||||
, allowedProcMountTypes = ([] : Optional (List Text))
|
||||
, allowedUnsafeSysctls = ([] : Optional (List Text))
|
||||
, defaultAddCapabilities = ([] : Optional (List Text))
|
||||
, defaultAllowPrivilegeEscalation = ([] : Optional (Bool))
|
||||
@ -15,6 +16,7 @@
|
||||
, privileged = ([] : Optional (Bool))
|
||||
, readOnlyRootFilesystem = ([] : Optional (Bool))
|
||||
, requiredDropCapabilities = ([] : Optional (List Text))
|
||||
, runAsGroup = ([] : Optional (../types/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall))
|
||||
, runAsUser = _params.runAsUser
|
||||
, seLinux = _params.seLinux
|
||||
, supplementalGroups = _params.supplementalGroups
|
||||
|
@ -0,0 +1,4 @@
|
||||
\(_params : {rule : (Text)}) ->
|
||||
{ ranges = ([] : Optional (List ../types/io.k8s.api.extensions.v1beta1.IDRange.dhall))
|
||||
, rule = _params.rule
|
||||
} : ../types/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall
|
@ -1,7 +1,7 @@
|
||||
\(_params : {currentHealthy : (Natural), desiredHealthy : (Natural), disruptedPods : ((List {mapKey : Text, mapValue : Text})), disruptionsAllowed : (Natural), expectedPods : (Natural)}) ->
|
||||
\(_params : {currentHealthy : (Natural), desiredHealthy : (Natural), disruptionsAllowed : (Natural), expectedPods : (Natural)}) ->
|
||||
{ currentHealthy = _params.currentHealthy
|
||||
, desiredHealthy = _params.desiredHealthy
|
||||
, disruptedPods = _params.disruptedPods
|
||||
, disruptedPods = ([] : Optional ((List {mapKey : Text, mapValue : Text})))
|
||||
, disruptionsAllowed = _params.disruptionsAllowed
|
||||
, expectedPods = _params.expectedPods
|
||||
, observedGeneration = ([] : Optional (Natural))
|
||||
|
@ -3,6 +3,7 @@
|
||||
, allowedCapabilities = ([] : Optional (List Text))
|
||||
, allowedFlexVolumes = ([] : Optional (List ../types/io.k8s.api.policy.v1beta1.AllowedFlexVolume.dhall))
|
||||
, allowedHostPaths = ([] : Optional (List ../types/io.k8s.api.policy.v1beta1.AllowedHostPath.dhall))
|
||||
, allowedProcMountTypes = ([] : Optional (List Text))
|
||||
, allowedUnsafeSysctls = ([] : Optional (List Text))
|
||||
, defaultAddCapabilities = ([] : Optional (List Text))
|
||||
, defaultAllowPrivilegeEscalation = ([] : Optional (Bool))
|
||||
@ -15,6 +16,7 @@
|
||||
, privileged = ([] : Optional (Bool))
|
||||
, readOnlyRootFilesystem = ([] : Optional (Bool))
|
||||
, requiredDropCapabilities = ([] : Optional (List Text))
|
||||
, runAsGroup = ([] : Optional (../types/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall))
|
||||
, runAsUser = _params.runAsUser
|
||||
, seLinux = _params.seLinux
|
||||
, supplementalGroups = _params.supplementalGroups
|
||||
|
@ -0,0 +1,4 @@
|
||||
\(_params : {rule : (Text)}) ->
|
||||
{ ranges = ([] : Optional (List ../types/io.k8s.api.policy.v1beta1.IDRange.dhall))
|
||||
, rule = _params.rule
|
||||
} : ../types/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall
|
7
default/io.k8s.api.storage.v1.VolumeAttachment.dhall
Normal file
7
default/io.k8s.api.storage.v1.VolumeAttachment.dhall
Normal file
@ -0,0 +1,7 @@
|
||||
\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall), spec : (../types/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall)}) ->
|
||||
{ apiVersion = ("storage.k8s.io/v1" : Text)
|
||||
, kind = ("VolumeAttachment" : Text)
|
||||
, metadata = _params.metadata
|
||||
, spec = _params.spec
|
||||
, status = ([] : Optional (../types/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall))
|
||||
} : ../types/io.k8s.api.storage.v1.VolumeAttachment.dhall
|
6
default/io.k8s.api.storage.v1.VolumeAttachmentList.dhall
Normal file
6
default/io.k8s.api.storage.v1.VolumeAttachmentList.dhall
Normal file
@ -0,0 +1,6 @@
|
||||
\(_params : {items : (List ../types/io.k8s.api.storage.v1.VolumeAttachment.dhall), metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)}) ->
|
||||
{ apiVersion = ("storage.k8s.io/v1" : Text)
|
||||
, items = _params.items
|
||||
, kind = ("VolumeAttachmentList" : Text)
|
||||
, metadata = _params.metadata
|
||||
} : ../types/io.k8s.api.storage.v1.VolumeAttachmentList.dhall
|
@ -0,0 +1,2 @@
|
||||
{ persistentVolumeName = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall
|
5
default/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall
Normal file
5
default/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall
Normal file
@ -0,0 +1,5 @@
|
||||
\(_params : {attacher : (Text), nodeName : (Text), source : (../types/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall)}) ->
|
||||
{ attacher = _params.attacher
|
||||
, nodeName = _params.nodeName
|
||||
, source = _params.source
|
||||
} : ../types/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall
|
@ -0,0 +1,6 @@
|
||||
\(_params : {attached : (Bool)}) ->
|
||||
{ attachError = ([] : Optional (../types/io.k8s.api.storage.v1.VolumeError.dhall))
|
||||
, attached = _params.attached
|
||||
, attachmentMetadata = ([] : Optional ((List {mapKey : Text, mapValue : Text})))
|
||||
, detachError = ([] : Optional (../types/io.k8s.api.storage.v1.VolumeError.dhall))
|
||||
} : ../types/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall
|
3
default/io.k8s.api.storage.v1.VolumeError.dhall
Normal file
3
default/io.k8s.api.storage.v1.VolumeError.dhall
Normal file
@ -0,0 +1,3 @@
|
||||
{ message = ([] : Optional (Text))
|
||||
, time = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall))
|
||||
} : ../types/io.k8s.api.storage.v1.VolumeError.dhall
|
@ -0,0 +1,4 @@
|
||||
\(_params : {strategy : (Text)}) ->
|
||||
{ strategy = _params.strategy
|
||||
, webhookClientConfig = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall))
|
||||
} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall
|
@ -1,7 +1,7 @@
|
||||
\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)}) ->
|
||||
\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall), spec : (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall)}) ->
|
||||
{ apiVersion = ("apiextensions.k8s.io/v1beta1" : Text)
|
||||
, kind = ("CustomResourceDefinition" : Text)
|
||||
, metadata = _params.metadata
|
||||
, spec = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall))
|
||||
, spec = _params.spec
|
||||
, status = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus.dhall))
|
||||
} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall
|
||||
|
@ -1,5 +1,6 @@
|
||||
\(_params : {group : (Text), names : (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames.dhall), scope : (Text)}) ->
|
||||
{ additionalPrinterColumns = ([] : Optional (List ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition.dhall))
|
||||
, conversion = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall))
|
||||
, group = _params.group
|
||||
, names = _params.names
|
||||
, scope = _params.scope
|
||||
|
@ -1,5 +1,8 @@
|
||||
\(_params : {name : (Text), served : (Bool), storage : (Bool)}) ->
|
||||
{ name = _params.name
|
||||
{ additionalPrinterColumns = ([] : Optional (List ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition.dhall))
|
||||
, name = _params.name
|
||||
, schema = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation.dhall))
|
||||
, served = _params.served
|
||||
, storage = _params.storage
|
||||
, subresources = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources.dhall))
|
||||
} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall
|
||||
|
@ -0,0 +1,5 @@
|
||||
\(_params : {name : (Text), namespace : (Text)}) ->
|
||||
{ name = _params.name
|
||||
, namespace = _params.namespace
|
||||
, path = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall
|
@ -0,0 +1,4 @@
|
||||
{ caBundle = ([] : Optional (Text))
|
||||
, service = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall))
|
||||
, url = ([] : Optional (Text))
|
||||
} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall
|
@ -1,5 +1,6 @@
|
||||
\(_params : {apiVersion : (Text), kind : (Text)}) ->
|
||||
{ apiVersion = _params.apiVersion
|
||||
, dryRun = ([] : Optional (List Text))
|
||||
, gracePeriodSeconds = ([] : Optional (Natural))
|
||||
, kind = _params.kind
|
||||
, orphanDependents = ([] : Optional (Bool))
|
||||
|
@ -17,7 +17,8 @@ ignored_failures = {
|
||||
'./default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation.dhall',
|
||||
'./default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps.dhall',
|
||||
'./default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall',
|
||||
'./default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList.dhall'
|
||||
'./default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList.dhall',
|
||||
'./default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall'
|
||||
}
|
||||
|
||||
default_files = glob('./default/*.dhall')
|
||||
|
@ -3,4 +3,5 @@
|
||||
, name : (Text)
|
||||
, namespaceSelector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, rules : (Optional (List ./io.k8s.api.admissionregistration.v1beta1.RuleWithOperations.dhall))
|
||||
, sideEffects : (Optional (Text))
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ caBundle : (Text)
|
||||
{ caBundle : (Optional (Text))
|
||||
, service : (Optional (./io.k8s.api.admissionregistration.v1beta1.ServiceReference.dhall))
|
||||
, url : (Optional (Text))
|
||||
}
|
||||
|
@ -0,0 +1,5 @@
|
||||
{ apiVersion : (Text)
|
||||
, kind : (Text)
|
||||
, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)
|
||||
, spec : (Optional (./io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall))
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{ apiVersion : (Text)
|
||||
, items : (List ./io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall)
|
||||
, kind : (Text)
|
||||
, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{ policy : (./io.k8s.api.auditregistration.v1alpha1.Policy.dhall)
|
||||
, webhook : (./io.k8s.api.auditregistration.v1alpha1.Webhook.dhall)
|
||||
}
|
3
types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall
Normal file
3
types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall
Normal file
@ -0,0 +1,3 @@
|
||||
{ level : (Text)
|
||||
, stages : (Optional (List Text))
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{ name : (Text)
|
||||
, namespace : (Text)
|
||||
, path : (Optional (Text))
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{ clientConfig : (./io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall)
|
||||
, throttle : (Optional (./io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall))
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{ caBundle : (Optional (Text))
|
||||
, service : (Optional (./io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall))
|
||||
, url : (Optional (Text))
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{ burst : (Optional (Natural))
|
||||
, qps : (Optional (Natural))
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
{ token : (Optional (Text))
|
||||
{ audiences : (Optional (List Text))
|
||||
, token : (Optional (Text))
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ authenticated : (Optional (Bool))
|
||||
{ audiences : (Optional (List Text))
|
||||
, authenticated : (Optional (Bool))
|
||||
, error : (Optional (Text))
|
||||
, user : (Optional (./io.k8s.api.authentication.v1.UserInfo.dhall))
|
||||
}
|
||||
|
@ -1,2 +1,3 @@
|
||||
{ token : (Optional (Text))
|
||||
{ audiences : (Optional (List Text))
|
||||
, token : (Optional (Text))
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ authenticated : (Optional (Bool))
|
||||
{ audiences : (Optional (List Text))
|
||||
, authenticated : (Optional (Bool))
|
||||
, error : (Optional (Text))
|
||||
, user : (Optional (./io.k8s.api.authentication.v1beta1.UserInfo.dhall))
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ conditions : (List ./io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition.dhall)
|
||||
, currentMetrics : (List ./io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall)
|
||||
, currentMetrics : (Optional (List ./io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall))
|
||||
, currentReplicas : (Natural)
|
||||
, desiredReplicas : (Natural)
|
||||
, lastScaleTime : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall))
|
||||
|
@ -1,4 +1,6 @@
|
||||
{ metricName : (Text)
|
||||
{ averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, metricName : (Text)
|
||||
, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, target : (./io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall)
|
||||
, targetValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)
|
||||
}
|
||||
|
@ -1,4 +1,6 @@
|
||||
{ currentValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)
|
||||
{ averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, currentValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)
|
||||
, metricName : (Text)
|
||||
, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, target : (./io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall)
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{ metricName : (Text)
|
||||
, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
, targetAverageValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{ currentAverageValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)
|
||||
, metricName : (Text)
|
||||
, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
}
|
||||
|
@ -0,0 +1,4 @@
|
||||
{ apiVersion : (Text)
|
||||
, kind : (Text)
|
||||
, name : (Text)
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{ metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)
|
||||
, target : (./io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{ current : (./io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall)
|
||||
, metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{ apiVersion : (Text)
|
||||
, kind : (Text)
|
||||
, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)
|
||||
, spec : (Optional (./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall))
|
||||
, status : (Optional (./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall))
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{ lastTransitionTime : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall))
|
||||
, message : (Optional (Text))
|
||||
, reason : (Optional (Text))
|
||||
, status : (Text)
|
||||
, type : (Text)
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{ apiVersion : (Text)
|
||||
, items : (List ./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall)
|
||||
, kind : (Text)
|
||||
, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{ maxReplicas : (Natural)
|
||||
, metrics : (Optional (List ./io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall))
|
||||
, minReplicas : (Optional (Natural))
|
||||
, scaleTargetRef : (./io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall)
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{ conditions : (List ./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall)
|
||||
, currentMetrics : (Optional (List ./io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall))
|
||||
, currentReplicas : (Natural)
|
||||
, desiredReplicas : (Natural)
|
||||
, lastScaleTime : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall))
|
||||
, observedGeneration : (Optional (Natural))
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{ name : (Text)
|
||||
, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall))
|
||||
}
|
6
types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall
Normal file
6
types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall
Normal file
@ -0,0 +1,6 @@
|
||||
{ external : (Optional (./io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall))
|
||||
, object : (Optional (./io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall))
|
||||
, pods : (Optional (./io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall))
|
||||
, resource : (Optional (./io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall))
|
||||
, type : (Text)
|
||||
}
|
6
types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall
Normal file
6
types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall
Normal file
@ -0,0 +1,6 @@
|
||||
{ external : (Optional (./io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall))
|
||||
, object : (Optional (./io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall))
|
||||
, pods : (Optional (./io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall))
|
||||
, resource : (Optional (./io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall))
|
||||
, type : (Text)
|
||||
}
|
5
types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall
Normal file
5
types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall
Normal file
@ -0,0 +1,5 @@
|
||||
{ averageUtilization : (Optional (Natural))
|
||||
, averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, type : (Text)
|
||||
, value : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{ averageUtilization : (Optional (Natural))
|
||||
, averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
, value : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall))
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{ describedObject : (./io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall)
|
||||
, metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)
|
||||
, target : (./io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{ current : (./io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall)
|
||||
, describedObject : (./io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall)
|
||||
, metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user