|
| 1 | +# API Reference |
| 2 | + |
| 3 | +## Packages |
| 4 | +- [barmancloud.cnpg.io/v1](#barmancloudcnpgiov1) |
| 5 | + |
| 6 | + |
| 7 | +## barmancloud.cnpg.io/v1 |
| 8 | + |
| 9 | +Package v1 contains API Schema definitions for the barmancloud v1 API group |
| 10 | + |
| 11 | +### Resource Types |
| 12 | +- [ObjectStore](#objectstore) |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +#### InstanceSidecarConfiguration |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +InstanceSidecarConfiguration defines the configuration for the sidecar that runs in the instance pods. |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +_Appears in:_ |
| 25 | +- [ObjectStoreSpec](#objectstorespec) |
| 26 | + |
| 27 | +| Field | Description | Required | Default | Validation | |
| 28 | +| --- | --- | --- | --- | --- | |
| 29 | +| `env` _[EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#envvar-v1-core) array_ | The environment to be explicitly passed to the sidecar | | | | |
| 30 | +| `retentionPolicyIntervalSeconds` _integer_ | The retentionCheckInterval defines the frequency at which the<br />system checks and enforces retention policies. | | 1800 | | |
| 31 | + |
| 32 | + |
| 33 | +#### ObjectStore |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | +ObjectStore is the Schema for the objectstores API. |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +| Field | Description | Required | Default | Validation | |
| 44 | +| --- | --- | --- | --- | --- | |
| 45 | +| `apiVersion` _string_ | `barmancloud.cnpg.io/v1` | True | | | |
| 46 | +| `kind` _string_ | `ObjectStore` | True | | | |
| 47 | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | True | | | |
| 48 | +| `spec` _[ObjectStoreSpec](#objectstorespec)_ | Specification of the desired behavior of the ObjectStore.<br />More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status | True | | | |
| 49 | +| `status` _[ObjectStoreStatus](#objectstorestatus)_ | Most recently observed status of the ObjectStore. This data may not be up to<br />date. Populated by the system. Read-only.<br />More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status | | | | |
| 50 | + |
| 51 | + |
| 52 | +#### ObjectStoreSpec |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | +ObjectStoreSpec defines the desired state of ObjectStore. |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +_Appears in:_ |
| 61 | +- [ObjectStore](#objectstore) |
| 62 | + |
| 63 | +| Field | Description | Required | Default | Validation | |
| 64 | +| --- | --- | --- | --- | --- | |
| 65 | +| `configuration` _[BarmanObjectStoreConfiguration](https://pkg.go.dev/github.com/cloudnative-pg/barman-cloud/pkg/api#BarmanObjectStoreConfiguration)_ | The configuration for the barman-cloud tool suite | True | | | |
| 66 | +| `retentionPolicy` _string_ | RetentionPolicy is the retention policy to be used for backups<br />and WALs (i.e. '60d'). The retention policy is expressed in the form<br />of `XXu` where `XX` is a positive integer and `u` is in `[dwm]` -<br />days, weeks, months. | | | Pattern: `^[1-9][0-9]*[dwm]$` <br /> | |
| 67 | +| `instanceSidecarConfiguration` _[InstanceSidecarConfiguration](#instancesidecarconfiguration)_ | The configuration for the sidecar that runs in the instance pods | | | | |
| 68 | + |
| 69 | + |
| 70 | +#### ObjectStoreStatus |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | +ObjectStoreStatus defines the observed state of ObjectStore. |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | +_Appears in:_ |
| 79 | +- [ObjectStore](#objectstore) |
| 80 | + |
| 81 | +| Field | Description | Required | Default | Validation | |
| 82 | +| --- | --- | --- | --- | --- | |
| 83 | +| `serverRecoveryWindow` _object (keys:string, values:[RecoveryWindow](#recoverywindow))_ | ServerRecoveryWindow maps each server to its recovery window | True | | | |
| 84 | + |
| 85 | + |
| 86 | +#### RecoveryWindow |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | +RecoveryWindow represents the time span between the first |
| 91 | +recoverability point and the last successful backup of a PostgreSQL |
| 92 | +server, defining the period during which data can be restored. |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | +_Appears in:_ |
| 97 | +- [ObjectStoreStatus](#objectstorestatus) |
| 98 | + |
| 99 | +| Field | Description | Required | Default | Validation | |
| 100 | +| --- | --- | --- | --- | --- | |
| 101 | +| `firstRecoverabilityPoint` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#time-v1-meta)_ | The first recoverability point in a PostgreSQL server refers to<br />the earliest point in time to which the database can be<br />restored. | True | | | |
| 102 | +| `lastSuccussfulBackupTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#time-v1-meta)_ | The last successful backup time | True | | | |
| 103 | + |
| 104 | + |
0 commit comments