Skip to content

Commit

Permalink
chore: sync API
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudNativePG Automated Updates committed Dec 2, 2024
1 parent e1b2e11 commit 3f11b98
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/api/v1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1566,6 +1566,20 @@ type Import struct {
// `pg_restore` are invoked, avoiding data import. Default: `false`.
// +optional
SchemaOnly bool `json:"schemaOnly,omitempty"`

// List of custom options to pass to the `pg_dump` command. IMPORTANT:
// Use these options with caution and at your own risk, as the operator
// does not validate their content. Be aware that certain options may
// conflict with the operator's intended functionality or design.
// +optional
PgDumpExtraOptions []string `json:"pgDumpExtraOptions,omitempty"`

// List of custom options to pass to the `pg_restore` command. IMPORTANT:
// Use these options with caution and at your own risk, as the operator
// does not validate their content. Be aware that certain options may
// conflict with the operator's intended functionality or design.
// +optional
PgRestoreExtraOptions []string `json:"pgRestoreExtraOptions,omitempty"`
}

// ImportSource describes the source for the logical snapshot
Expand Down
10 changes: 10 additions & 0 deletions pkg/api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f11b98

Please sign in to comment.