|
1165 | 1165 | plugin: { |
1166 | 1166 | '#withEnabled':: d.fn(help='"Enabled is true if this plugin will be used"', args=[d.arg(name='enabled', type=d.T.boolean)]), |
1167 | 1167 | withEnabled(enabled): { plugin+: { enabled: enabled } }, |
| 1168 | + '#withIsWALArchiver':: d.fn(help='"Only one plugin can be declared as WALArchiver.\\nCannot be active if \\".spec.backup.barmanObjectStore\\" configuration is present."', args=[d.arg(name='isWALArchiver', type=d.T.boolean)]), |
| 1169 | + withIsWALArchiver(isWALArchiver): { plugin+: { isWALArchiver: isWALArchiver } }, |
1168 | 1170 | '#withName':: d.fn(help='"Name is the plugin name"', args=[d.arg(name='name', type=d.T.string)]), |
1169 | 1171 | withName(name): { plugin+: { name: name } }, |
1170 | 1172 | '#withParameters':: d.fn(help='"Parameters is the configuration of the plugin"', args=[d.arg(name='parameters', type=d.T.object)]), |
|
1479 | 1481 | plugins: { |
1480 | 1482 | '#withEnabled':: d.fn(help='"Enabled is true if this plugin will be used"', args=[d.arg(name='enabled', type=d.T.boolean)]), |
1481 | 1483 | withEnabled(enabled): { enabled: enabled }, |
| 1484 | + '#withIsWALArchiver':: d.fn(help='"Only one plugin can be declared as WALArchiver.\\nCannot be active if \\".spec.backup.barmanObjectStore\\" configuration is present."', args=[d.arg(name='isWALArchiver', type=d.T.boolean)]), |
| 1485 | + withIsWALArchiver(isWALArchiver): { isWALArchiver: isWALArchiver }, |
1482 | 1486 | '#withName':: d.fn(help='"Name is the plugin name"', args=[d.arg(name='name', type=d.T.string)]), |
1483 | 1487 | withName(name): { name: name }, |
1484 | 1488 | '#withParameters':: d.fn(help='"Parameters is the configuration of the plugin"', args=[d.arg(name='parameters', type=d.T.object)]), |
|
1598 | 1602 | withFailureThreshold(failureThreshold): { spec+: { probes+: { readiness+: { failureThreshold: failureThreshold } } } }, |
1599 | 1603 | '#withInitialDelaySeconds':: d.fn(help='"Number of seconds after the container has started before liveness probes are initiated.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='initialDelaySeconds', type=d.T.integer)]), |
1600 | 1604 | withInitialDelaySeconds(initialDelaySeconds): { spec+: { probes+: { readiness+: { initialDelaySeconds: initialDelaySeconds } } } }, |
| 1605 | + '#withMaximumLag':: d.fn(help='"Lag limit. Used only for `streaming` strategy"', args=[d.arg(name='maximumLag', type=d.T.any)]), |
| 1606 | + withMaximumLag(maximumLag): { spec+: { probes+: { readiness+: { maximumLag: maximumLag } } } }, |
1601 | 1607 | '#withPeriodSeconds':: d.fn(help='"How often (in seconds) to perform the probe.\\nDefault to 10 seconds. Minimum value is 1."', args=[d.arg(name='periodSeconds', type=d.T.integer)]), |
1602 | 1608 | withPeriodSeconds(periodSeconds): { spec+: { probes+: { readiness+: { periodSeconds: periodSeconds } } } }, |
1603 | 1609 | '#withSuccessThreshold':: d.fn(help='"Minimum consecutive successes for the probe to be considered successful after having failed.\\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."', args=[d.arg(name='successThreshold', type=d.T.integer)]), |
|
1606 | 1612 | withTerminationGracePeriodSeconds(terminationGracePeriodSeconds): { spec+: { probes+: { readiness+: { terminationGracePeriodSeconds: terminationGracePeriodSeconds } } } }, |
1607 | 1613 | '#withTimeoutSeconds':: d.fn(help='"Number of seconds after which the probe times out.\\nDefaults to 1 second. Minimum value is 1.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]), |
1608 | 1614 | withTimeoutSeconds(timeoutSeconds): { spec+: { probes+: { readiness+: { timeoutSeconds: timeoutSeconds } } } }, |
| 1615 | + '#withType':: d.fn(help='"The probe strategy"', args=[d.arg(name='type', type=d.T.string)]), |
| 1616 | + withType(type): { spec+: { probes+: { readiness+: { type: type } } } }, |
1609 | 1617 | }, |
1610 | 1618 | '#startup':: d.obj(help='"The startup probe configuration"'), |
1611 | 1619 | startup: { |
1612 | 1620 | '#withFailureThreshold':: d.fn(help='"Minimum consecutive failures for the probe to be considered failed after having succeeded.\\nDefaults to 3. Minimum value is 1."', args=[d.arg(name='failureThreshold', type=d.T.integer)]), |
1613 | 1621 | withFailureThreshold(failureThreshold): { spec+: { probes+: { startup+: { failureThreshold: failureThreshold } } } }, |
1614 | 1622 | '#withInitialDelaySeconds':: d.fn(help='"Number of seconds after the container has started before liveness probes are initiated.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='initialDelaySeconds', type=d.T.integer)]), |
1615 | 1623 | withInitialDelaySeconds(initialDelaySeconds): { spec+: { probes+: { startup+: { initialDelaySeconds: initialDelaySeconds } } } }, |
| 1624 | + '#withMaximumLag':: d.fn(help='"Lag limit. Used only for `streaming` strategy"', args=[d.arg(name='maximumLag', type=d.T.any)]), |
| 1625 | + withMaximumLag(maximumLag): { spec+: { probes+: { startup+: { maximumLag: maximumLag } } } }, |
1616 | 1626 | '#withPeriodSeconds':: d.fn(help='"How often (in seconds) to perform the probe.\\nDefault to 10 seconds. Minimum value is 1."', args=[d.arg(name='periodSeconds', type=d.T.integer)]), |
1617 | 1627 | withPeriodSeconds(periodSeconds): { spec+: { probes+: { startup+: { periodSeconds: periodSeconds } } } }, |
1618 | 1628 | '#withSuccessThreshold':: d.fn(help='"Minimum consecutive successes for the probe to be considered successful after having failed.\\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."', args=[d.arg(name='successThreshold', type=d.T.integer)]), |
|
1621 | 1631 | withTerminationGracePeriodSeconds(terminationGracePeriodSeconds): { spec+: { probes+: { startup+: { terminationGracePeriodSeconds: terminationGracePeriodSeconds } } } }, |
1622 | 1632 | '#withTimeoutSeconds':: d.fn(help='"Number of seconds after which the probe times out.\\nDefaults to 1 second. Minimum value is 1.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]), |
1623 | 1633 | withTimeoutSeconds(timeoutSeconds): { spec+: { probes+: { startup+: { timeoutSeconds: timeoutSeconds } } } }, |
| 1634 | + '#withType':: d.fn(help='"The probe strategy"', args=[d.arg(name='type', type=d.T.string)]), |
| 1635 | + withType(type): { spec+: { probes+: { startup+: { type: type } } } }, |
1624 | 1636 | }, |
1625 | 1637 | }, |
1626 | 1638 | '#projectedVolumeTemplate':: d.obj(help='"Template to be used to define projected volumes, projected volumes will be mounted\\nunder `/projected` base folder"'), |
|
0 commit comments