Skip to content

Commit

Permalink
update: source github.com/jsonnet-libs/k8s@7a022efb
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne authored and jsonnet-libs-bot committed Apr 30, 2023
1 parent 822106f commit c6ec3c3
Show file tree
Hide file tree
Showing 30 changed files with 0 additions and 2,790 deletions.
38 changes: 0 additions & 38 deletions 0.10/_gen/monitoring/v1/alertmanager.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -1613,44 +1613,6 @@
'#withVolumeName':: d.fn(help='"VolumeName is the binding reference to the PersistentVolume backing this claim."', args=[d.arg(name='volumeName', type=d.T.string)]),
withVolumeName(volumeName): { spec+: { storage+: { volumeClaimTemplate+: { spec+: { volumeName: volumeName } } } } },
},
'#status':: d.obj(help='"Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"'),
status: {
'#conditions':: d.obj(help="\"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.\""),
conditions: {
'#withLastProbeTime':: d.fn(help='"Last time we probed the condition."', args=[d.arg(name='lastProbeTime', type=d.T.string)]),
withLastProbeTime(lastProbeTime): { lastProbeTime: lastProbeTime },
'#withLastTransitionTime':: d.fn(help='"Last time the condition transitioned from one status to another."', args=[d.arg(name='lastTransitionTime', type=d.T.string)]),
withLastTransitionTime(lastTransitionTime): { lastTransitionTime: lastTransitionTime },
'#withMessage':: d.fn(help='"Human-readable message indicating details about last transition."', args=[d.arg(name='message', type=d.T.string)]),
withMessage(message): { message: message },
'#withReason':: d.fn(help="\"Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \\\"ResizeStarted\\\" that means the underlying persistent volume is being resized.\"", args=[d.arg(name='reason', type=d.T.string)]),
withReason(reason): { reason: reason },
'#withStatus':: d.fn(help='', args=[d.arg(name='status', type=d.T.string)]),
withStatus(status): { status: status },
'#withType':: d.fn(help='"PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type"', args=[d.arg(name='type', type=d.T.string)]),
withType(type): { type: type },
},
'#withAccessModes':: d.fn(help='"AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"', args=[d.arg(name='accessModes', type=d.T.array)]),
withAccessModes(accessModes): { spec+: { storage+: { volumeClaimTemplate+: { status+: { accessModes: if std.isArray(v=accessModes) then accessModes else [accessModes] } } } } },
'#withAccessModesMixin':: d.fn(help='"AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='accessModes', type=d.T.array)]),
withAccessModesMixin(accessModes): { spec+: { storage+: { volumeClaimTemplate+: { status+: { accessModes+: if std.isArray(v=accessModes) then accessModes else [accessModes] } } } } },
'#withAllocatedResources':: d.fn(help='"The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."', args=[d.arg(name='allocatedResources', type=d.T.object)]),
withAllocatedResources(allocatedResources): { spec+: { storage+: { volumeClaimTemplate+: { status+: { allocatedResources: allocatedResources } } } } },
'#withAllocatedResourcesMixin':: d.fn(help='"The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='allocatedResources', type=d.T.object)]),
withAllocatedResourcesMixin(allocatedResources): { spec+: { storage+: { volumeClaimTemplate+: { status+: { allocatedResources+: allocatedResources } } } } },
'#withCapacity':: d.fn(help='"Represents the actual resources of the underlying volume."', args=[d.arg(name='capacity', type=d.T.object)]),
withCapacity(capacity): { spec+: { storage+: { volumeClaimTemplate+: { status+: { capacity: capacity } } } } },
'#withCapacityMixin':: d.fn(help='"Represents the actual resources of the underlying volume."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='capacity', type=d.T.object)]),
withCapacityMixin(capacity): { spec+: { storage+: { volumeClaimTemplate+: { status+: { capacity+: capacity } } } } },
'#withConditions':: d.fn(help="\"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.\"", args=[d.arg(name='conditions', type=d.T.array)]),
withConditions(conditions): { spec+: { storage+: { volumeClaimTemplate+: { status+: { conditions: if std.isArray(v=conditions) then conditions else [conditions] } } } } },
'#withConditionsMixin':: d.fn(help="\"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='conditions', type=d.T.array)]),
withConditionsMixin(conditions): { spec+: { storage+: { volumeClaimTemplate+: { status+: { conditions+: if std.isArray(v=conditions) then conditions else [conditions] } } } } },
'#withPhase':: d.fn(help='"Phase represents the current phase of PersistentVolumeClaim."', args=[d.arg(name='phase', type=d.T.string)]),
withPhase(phase): { spec+: { storage+: { volumeClaimTemplate+: { status+: { phase: phase } } } } },
'#withResizeStatus':: d.fn(help='"ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."', args=[d.arg(name='resizeStatus', type=d.T.string)]),
withResizeStatus(resizeStatus): { spec+: { storage+: { volumeClaimTemplate+: { status+: { resizeStatus: resizeStatus } } } } },
},
'#withApiVersion':: d.fn(help='"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"', args=[d.arg(name='apiVersion', type=d.T.string)]),
withApiVersion(apiVersion): { spec+: { storage+: { volumeClaimTemplate+: { apiVersion: apiVersion } } } },
'#withKind':: d.fn(help='"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"', args=[d.arg(name='kind', type=d.T.string)]),
Expand Down
38 changes: 0 additions & 38 deletions 0.10/_gen/monitoring/v1/prometheus.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2433,44 +2433,6 @@
'#withVolumeName':: d.fn(help='"VolumeName is the binding reference to the PersistentVolume backing this claim."', args=[d.arg(name='volumeName', type=d.T.string)]),
withVolumeName(volumeName): { spec+: { storage+: { volumeClaimTemplate+: { spec+: { volumeName: volumeName } } } } },
},
'#status':: d.obj(help='"Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"'),
status: {
'#conditions':: d.obj(help="\"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.\""),
conditions: {
'#withLastProbeTime':: d.fn(help='"Last time we probed the condition."', args=[d.arg(name='lastProbeTime', type=d.T.string)]),
withLastProbeTime(lastProbeTime): { lastProbeTime: lastProbeTime },
'#withLastTransitionTime':: d.fn(help='"Last time the condition transitioned from one status to another."', args=[d.arg(name='lastTransitionTime', type=d.T.string)]),
withLastTransitionTime(lastTransitionTime): { lastTransitionTime: lastTransitionTime },
'#withMessage':: d.fn(help='"Human-readable message indicating details about last transition."', args=[d.arg(name='message', type=d.T.string)]),
withMessage(message): { message: message },
'#withReason':: d.fn(help="\"Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \\\"ResizeStarted\\\" that means the underlying persistent volume is being resized.\"", args=[d.arg(name='reason', type=d.T.string)]),
withReason(reason): { reason: reason },
'#withStatus':: d.fn(help='', args=[d.arg(name='status', type=d.T.string)]),
withStatus(status): { status: status },
'#withType':: d.fn(help='"PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type"', args=[d.arg(name='type', type=d.T.string)]),
withType(type): { type: type },
},
'#withAccessModes':: d.fn(help='"AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"', args=[d.arg(name='accessModes', type=d.T.array)]),
withAccessModes(accessModes): { spec+: { storage+: { volumeClaimTemplate+: { status+: { accessModes: if std.isArray(v=accessModes) then accessModes else [accessModes] } } } } },
'#withAccessModesMixin':: d.fn(help='"AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='accessModes', type=d.T.array)]),
withAccessModesMixin(accessModes): { spec+: { storage+: { volumeClaimTemplate+: { status+: { accessModes+: if std.isArray(v=accessModes) then accessModes else [accessModes] } } } } },
'#withAllocatedResources':: d.fn(help='"The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."', args=[d.arg(name='allocatedResources', type=d.T.object)]),
withAllocatedResources(allocatedResources): { spec+: { storage+: { volumeClaimTemplate+: { status+: { allocatedResources: allocatedResources } } } } },
'#withAllocatedResourcesMixin':: d.fn(help='"The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='allocatedResources', type=d.T.object)]),
withAllocatedResourcesMixin(allocatedResources): { spec+: { storage+: { volumeClaimTemplate+: { status+: { allocatedResources+: allocatedResources } } } } },
'#withCapacity':: d.fn(help='"Represents the actual resources of the underlying volume."', args=[d.arg(name='capacity', type=d.T.object)]),
withCapacity(capacity): { spec+: { storage+: { volumeClaimTemplate+: { status+: { capacity: capacity } } } } },
'#withCapacityMixin':: d.fn(help='"Represents the actual resources of the underlying volume."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='capacity', type=d.T.object)]),
withCapacityMixin(capacity): { spec+: { storage+: { volumeClaimTemplate+: { status+: { capacity+: capacity } } } } },
'#withConditions':: d.fn(help="\"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.\"", args=[d.arg(name='conditions', type=d.T.array)]),
withConditions(conditions): { spec+: { storage+: { volumeClaimTemplate+: { status+: { conditions: if std.isArray(v=conditions) then conditions else [conditions] } } } } },
'#withConditionsMixin':: d.fn(help="\"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='conditions', type=d.T.array)]),
withConditionsMixin(conditions): { spec+: { storage+: { volumeClaimTemplate+: { status+: { conditions+: if std.isArray(v=conditions) then conditions else [conditions] } } } } },
'#withPhase':: d.fn(help='"Phase represents the current phase of PersistentVolumeClaim."', args=[d.arg(name='phase', type=d.T.string)]),
withPhase(phase): { spec+: { storage+: { volumeClaimTemplate+: { status+: { phase: phase } } } } },
'#withResizeStatus':: d.fn(help='"ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."', args=[d.arg(name='resizeStatus', type=d.T.string)]),
withResizeStatus(resizeStatus): { spec+: { storage+: { volumeClaimTemplate+: { status+: { resizeStatus: resizeStatus } } } } },
},
'#withApiVersion':: d.fn(help='"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"', args=[d.arg(name='apiVersion', type=d.T.string)]),
withApiVersion(apiVersion): { spec+: { storage+: { volumeClaimTemplate+: { apiVersion: apiVersion } } } },
'#withKind':: d.fn(help='"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"', args=[d.arg(name='kind', type=d.T.string)]),
Expand Down
Loading

0 comments on commit c6ec3c3

Please sign in to comment.