|
1613 | 1613 | '#withVolumeName':: d.fn(help='"VolumeName is the binding reference to the PersistentVolume backing this claim."', args=[d.arg(name='volumeName', type=d.T.string)]), |
1614 | 1614 | withVolumeName(volumeName): { spec+: { storage+: { volumeClaimTemplate+: { spec+: { volumeName: volumeName } } } } }, |
1615 | 1615 | }, |
1616 | | - '#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"'), |
1617 | | - status: { |
1618 | | - '#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'.\""), |
1619 | | - conditions: { |
1620 | | - '#withLastProbeTime':: d.fn(help='"Last time we probed the condition."', args=[d.arg(name='lastProbeTime', type=d.T.string)]), |
1621 | | - withLastProbeTime(lastProbeTime): { lastProbeTime: lastProbeTime }, |
1622 | | - '#withLastTransitionTime':: d.fn(help='"Last time the condition transitioned from one status to another."', args=[d.arg(name='lastTransitionTime', type=d.T.string)]), |
1623 | | - withLastTransitionTime(lastTransitionTime): { lastTransitionTime: lastTransitionTime }, |
1624 | | - '#withMessage':: d.fn(help='"Human-readable message indicating details about last transition."', args=[d.arg(name='message', type=d.T.string)]), |
1625 | | - withMessage(message): { message: message }, |
1626 | | - '#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)]), |
1627 | | - withReason(reason): { reason: reason }, |
1628 | | - '#withStatus':: d.fn(help='', args=[d.arg(name='status', type=d.T.string)]), |
1629 | | - withStatus(status): { status: status }, |
1630 | | - '#withType':: d.fn(help='"PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type"', args=[d.arg(name='type', type=d.T.string)]), |
1631 | | - withType(type): { type: type }, |
1632 | | - }, |
1633 | | - '#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)]), |
1634 | | - withAccessModes(accessModes): { spec+: { storage+: { volumeClaimTemplate+: { status+: { accessModes: if std.isArray(v=accessModes) then accessModes else [accessModes] } } } } }, |
1635 | | - '#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)]), |
1636 | | - withAccessModesMixin(accessModes): { spec+: { storage+: { volumeClaimTemplate+: { status+: { accessModes+: if std.isArray(v=accessModes) then accessModes else [accessModes] } } } } }, |
1637 | | - '#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)]), |
1638 | | - withAllocatedResources(allocatedResources): { spec+: { storage+: { volumeClaimTemplate+: { status+: { allocatedResources: allocatedResources } } } } }, |
1639 | | - '#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)]), |
1640 | | - withAllocatedResourcesMixin(allocatedResources): { spec+: { storage+: { volumeClaimTemplate+: { status+: { allocatedResources+: allocatedResources } } } } }, |
1641 | | - '#withCapacity':: d.fn(help='"Represents the actual resources of the underlying volume."', args=[d.arg(name='capacity', type=d.T.object)]), |
1642 | | - withCapacity(capacity): { spec+: { storage+: { volumeClaimTemplate+: { status+: { capacity: capacity } } } } }, |
1643 | | - '#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)]), |
1644 | | - withCapacityMixin(capacity): { spec+: { storage+: { volumeClaimTemplate+: { status+: { capacity+: capacity } } } } }, |
1645 | | - '#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)]), |
1646 | | - withConditions(conditions): { spec+: { storage+: { volumeClaimTemplate+: { status+: { conditions: if std.isArray(v=conditions) then conditions else [conditions] } } } } }, |
1647 | | - '#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)]), |
1648 | | - withConditionsMixin(conditions): { spec+: { storage+: { volumeClaimTemplate+: { status+: { conditions+: if std.isArray(v=conditions) then conditions else [conditions] } } } } }, |
1649 | | - '#withPhase':: d.fn(help='"Phase represents the current phase of PersistentVolumeClaim."', args=[d.arg(name='phase', type=d.T.string)]), |
1650 | | - withPhase(phase): { spec+: { storage+: { volumeClaimTemplate+: { status+: { phase: phase } } } } }, |
1651 | | - '#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)]), |
1652 | | - withResizeStatus(resizeStatus): { spec+: { storage+: { volumeClaimTemplate+: { status+: { resizeStatus: resizeStatus } } } } }, |
1653 | | - }, |
1654 | 1616 | '#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)]), |
1655 | 1617 | withApiVersion(apiVersion): { spec+: { storage+: { volumeClaimTemplate+: { apiVersion: apiVersion } } } }, |
1656 | 1618 | '#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)]), |
|
0 commit comments