|
626 | 626 | withDatabases(databases): { spec+: { bootstrap+: { initdb+: { 'import'+: { databases: if std.isArray(v=databases) then databases else [databases] } } } } }, |
627 | 627 | '#withDatabasesMixin':: d.fn(help='"The databases to import"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='databases', type=d.T.array)]), |
628 | 628 | withDatabasesMixin(databases): { spec+: { bootstrap+: { initdb+: { 'import'+: { databases+: if std.isArray(v=databases) then databases else [databases] } } } } }, |
629 | | - '#withPgDumpExtraOptions':: d.fn(help="\"List of custom options to pass to the `pg_dump` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"", args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]), |
| 629 | + '#withPgDumpExtraOptions':: d.fn(help='"List of custom options to pass to the `pg_dump` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]), |
630 | 630 | withPgDumpExtraOptions(pgDumpExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgDumpExtraOptions: if std.isArray(v=pgDumpExtraOptions) then pgDumpExtraOptions else [pgDumpExtraOptions] } } } } }, |
631 | | - '#withPgDumpExtraOptionsMixin':: d.fn(help="\"List of custom options to pass to the `pg_dump` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]), |
| 631 | + '#withPgDumpExtraOptionsMixin':: d.fn(help='"List of custom options to pass to the `pg_dump` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]), |
632 | 632 | withPgDumpExtraOptionsMixin(pgDumpExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgDumpExtraOptions+: if std.isArray(v=pgDumpExtraOptions) then pgDumpExtraOptions else [pgDumpExtraOptions] } } } } }, |
633 | | - '#withPgRestoreExtraOptions':: d.fn(help="\"List of custom options to pass to the `pg_restore` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"", args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]), |
| 633 | + '#withPgRestoreDataOptions':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestoreDataOptions', type=d.T.array)]), |
| 634 | + withPgRestoreDataOptions(pgRestoreDataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreDataOptions: if std.isArray(v=pgRestoreDataOptions) then pgRestoreDataOptions else [pgRestoreDataOptions] } } } } }, |
| 635 | + '#withPgRestoreDataOptionsMixin':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestoreDataOptions', type=d.T.array)]), |
| 636 | + withPgRestoreDataOptionsMixin(pgRestoreDataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreDataOptions+: if std.isArray(v=pgRestoreDataOptions) then pgRestoreDataOptions else [pgRestoreDataOptions] } } } } }, |
| 637 | + '#withPgRestoreExtraOptions':: d.fn(help='"List of custom options to pass to the `pg_restore` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]), |
634 | 638 | withPgRestoreExtraOptions(pgRestoreExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreExtraOptions: if std.isArray(v=pgRestoreExtraOptions) then pgRestoreExtraOptions else [pgRestoreExtraOptions] } } } } }, |
635 | | - '#withPgRestoreExtraOptionsMixin':: d.fn(help="\"List of custom options to pass to the `pg_restore` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]), |
| 639 | + '#withPgRestoreExtraOptionsMixin':: d.fn(help='"List of custom options to pass to the `pg_restore` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]), |
636 | 640 | withPgRestoreExtraOptionsMixin(pgRestoreExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreExtraOptions+: if std.isArray(v=pgRestoreExtraOptions) then pgRestoreExtraOptions else [pgRestoreExtraOptions] } } } } }, |
| 641 | + '#withPgRestorePostdataOptions':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `post-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestorePostdataOptions', type=d.T.array)]), |
| 642 | + withPgRestorePostdataOptions(pgRestorePostdataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePostdataOptions: if std.isArray(v=pgRestorePostdataOptions) then pgRestorePostdataOptions else [pgRestorePostdataOptions] } } } } }, |
| 643 | + '#withPgRestorePostdataOptionsMixin':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `post-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestorePostdataOptions', type=d.T.array)]), |
| 644 | + withPgRestorePostdataOptionsMixin(pgRestorePostdataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePostdataOptions+: if std.isArray(v=pgRestorePostdataOptions) then pgRestorePostdataOptions else [pgRestorePostdataOptions] } } } } }, |
| 645 | + '#withPgRestorePredataOptions':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `pre-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestorePredataOptions', type=d.T.array)]), |
| 646 | + withPgRestorePredataOptions(pgRestorePredataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePredataOptions: if std.isArray(v=pgRestorePredataOptions) then pgRestorePredataOptions else [pgRestorePredataOptions] } } } } }, |
| 647 | + '#withPgRestorePredataOptionsMixin':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `pre-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestorePredataOptions', type=d.T.array)]), |
| 648 | + withPgRestorePredataOptionsMixin(pgRestorePredataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePredataOptions+: if std.isArray(v=pgRestorePredataOptions) then pgRestorePredataOptions else [pgRestorePredataOptions] } } } } }, |
637 | 649 | '#withPostImportApplicationSQL':: d.fn(help='"List of SQL queries to be executed as a superuser in the application\\ndatabase right after is imported - to be used with extreme care\\n(by default empty). Only available in microservice type."', args=[d.arg(name='postImportApplicationSQL', type=d.T.array)]), |
638 | 650 | withPostImportApplicationSQL(postImportApplicationSQL): { spec+: { bootstrap+: { initdb+: { 'import'+: { postImportApplicationSQL: if std.isArray(v=postImportApplicationSQL) then postImportApplicationSQL else [postImportApplicationSQL] } } } } }, |
639 | 651 | '#withPostImportApplicationSQLMixin':: d.fn(help='"List of SQL queries to be executed as a superuser in the application\\ndatabase right after is imported - to be used with extreme care\\n(by default empty). Only available in microservice type."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='postImportApplicationSQL', type=d.T.array)]), |
|
1578 | 1590 | synchronous: { |
1579 | 1591 | '#withDataDurability':: d.fn(help='"If set to \\"required\\", data durability is strictly enforced. Write operations\\nwith synchronous commit settings (`on`, `remote_write`, or `remote_apply`) will\\nblock if there are insufficient healthy replicas, ensuring data persistence.\\nIf set to \\"preferred\\", data durability is maintained when healthy replicas\\nare available, but the required number of instances will adjust dynamically\\nif replicas become unavailable. This setting relaxes strict durability enforcement\\nto allow for operational continuity. This setting is only applicable if both\\n`standbyNamesPre` and `standbyNamesPost` are unset (empty)."', args=[d.arg(name='dataDurability', type=d.T.string)]), |
1580 | 1592 | withDataDurability(dataDurability): { spec+: { postgresql+: { synchronous+: { dataDurability: dataDurability } } } }, |
| 1593 | + '#withFailoverQuorum':: d.fn(help='"FailoverQuorum enables a quorum-based check before failover, improving\\ndata durability and safety during failover events in CloudNativePG-managed\\nPostgreSQL clusters."', args=[d.arg(name='failoverQuorum', type=d.T.boolean)]), |
| 1594 | + withFailoverQuorum(failoverQuorum): { spec+: { postgresql+: { synchronous+: { failoverQuorum: failoverQuorum } } } }, |
1581 | 1595 | '#withMaxStandbyNamesFromCluster':: d.fn(help='"Specifies the maximum number of local cluster pods that can be\\nautomatically included in the `synchronous_standby_names` option in\\nPostgreSQL."', args=[d.arg(name='maxStandbyNamesFromCluster', type=d.T.integer)]), |
1582 | 1596 | withMaxStandbyNamesFromCluster(maxStandbyNamesFromCluster): { spec+: { postgresql+: { synchronous+: { maxStandbyNamesFromCluster: maxStandbyNamesFromCluster } } } }, |
1583 | 1597 | '#withMethod':: d.fn(help="\"Method to select synchronous replication standbys from the listed\\nservers, accepting 'any' (quorum-based synchronous replication) or\\n'first' (priority-based synchronous replication) as values.\"", args=[d.arg(name='method', type=d.T.string)]), |
|
0 commit comments