|
| 1 | +# API Reference |
| 2 | + |
| 3 | +<p>Package v1 contains API Schema definitions for the barmancloud v1 API group</p> |
| 4 | + |
| 5 | + |
| 6 | +## Resource Types |
| 7 | + |
| 8 | + |
| 9 | +- [ObjectStore](#barmancloud-cnpg-io-v1-ObjectStore) |
| 10 | + |
| 11 | +## ObjectStore {#barmancloud-cnpg-io-v1-ObjectStore} |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +<p>ObjectStore is the Schema for the objectstores API.</p> |
| 16 | + |
| 17 | + |
| 18 | +<table class="table"> |
| 19 | +<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> |
| 20 | +<tbody> |
| 21 | +<tr><td><code>apiVersion</code> <B>[Required]</B><br/>string</td><td><code>barmancloud.cnpg.io/v1</code></td></tr> |
| 22 | +<tr><td><code>kind</code> <B>[Required]</B><br/>string</td><td><code>ObjectStore</code></td></tr> |
| 23 | +<tr><td><code>metadata</code> <B>[Required]</B><br/> |
| 24 | +<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#objectmeta-v1-meta"><i>meta/v1.ObjectMeta</i></a> |
| 25 | +</td> |
| 26 | +<td> |
| 27 | + <span class="text-muted">No description provided.</span>Refer to the Kubernetes API documentation for the fields of the <code>metadata</code> field.</td> |
| 28 | +</tr> |
| 29 | +<tr><td><code>spec</code> <B>[Required]</B><br/> |
| 30 | +<a href="#barmancloud-cnpg-io-v1-ObjectStoreSpec"><i>ObjectStoreSpec</i></a> |
| 31 | +</td> |
| 32 | +<td> |
| 33 | + <span class="text-muted">No description provided.</span></td> |
| 34 | +</tr> |
| 35 | +<tr><td><code>status</code><br/> |
| 36 | +<a href="#barmancloud-cnpg-io-v1-ObjectStoreStatus"><i>ObjectStoreStatus</i></a> |
| 37 | +</td> |
| 38 | +<td> |
| 39 | + <span class="text-muted">No description provided.</span></td> |
| 40 | +</tr> |
| 41 | +</tbody> |
| 42 | +</table> |
| 43 | + |
| 44 | +## InstanceSidecarConfiguration {#barmancloud-cnpg-io-v1-InstanceSidecarConfiguration} |
| 45 | + |
| 46 | + |
| 47 | +**Appears in:** |
| 48 | + |
| 49 | +- [ObjectStoreSpec](#barmancloud-cnpg-io-v1-ObjectStoreSpec) |
| 50 | + |
| 51 | + |
| 52 | +<p>InstanceSidecarConfiguration defines the configuration for the sidecar that runs in the instance pods.</p> |
| 53 | + |
| 54 | + |
| 55 | +<table class="table"> |
| 56 | +<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> |
| 57 | +<tbody> |
| 58 | +<tr><td><code>env</code><br/> |
| 59 | +<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#envvar-v1-core"><i>[]core/v1.EnvVar</i></a> |
| 60 | +</td> |
| 61 | +<td> |
| 62 | + <p>The environment to be explicitly passed to the sidecar</p> |
| 63 | +</td> |
| 64 | +</tr> |
| 65 | +<tr><td><code>retentionPolicyIntervalSeconds</code><br/> |
| 66 | +<i>int</i> |
| 67 | +</td> |
| 68 | +<td> |
| 69 | + <p>The retentionCheckInterval defines the frequency at which the |
| 70 | +system checks and enforces retention policies.</p> |
| 71 | +</td> |
| 72 | +</tr> |
| 73 | +</tbody> |
| 74 | +</table> |
| 75 | + |
| 76 | +## ObjectStoreSpec {#barmancloud-cnpg-io-v1-ObjectStoreSpec} |
| 77 | + |
| 78 | + |
| 79 | +**Appears in:** |
| 80 | + |
| 81 | +- [ObjectStore](#barmancloud-cnpg-io-v1-ObjectStore) |
| 82 | + |
| 83 | + |
| 84 | +<p>ObjectStoreSpec defines the desired state of ObjectStore.</p> |
| 85 | + |
| 86 | + |
| 87 | +<table class="table"> |
| 88 | +<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> |
| 89 | +<tbody> |
| 90 | +<tr><td><code>configuration</code> <B>[Required]</B><br/> |
| 91 | +<a href="https://pkg.go.dev/github.com/cloudnative-pg/barman-cloud/pkg/api/#BarmanObjectStoreConfiguration"><i>github.com/cloudnative-pg/barman-cloud/pkg/api.BarmanObjectStoreConfiguration</i></a> |
| 92 | +</td> |
| 93 | +<td> |
| 94 | + <p>The configuration for the barman-cloud tool suite</p> |
| 95 | +</td> |
| 96 | +</tr> |
| 97 | +<tr><td><code>retentionPolicy</code><br/> |
| 98 | +<i>string</i> |
| 99 | +</td> |
| 100 | +<td> |
| 101 | + <p>RetentionPolicy is the retention policy to be used for backups |
| 102 | +and WALs (i.e. '60d'). The retention policy is expressed in the form |
| 103 | +of <code>XXu</code> where <code>XX</code> is a positive integer and <code>u</code> is in <code>[dwm]</code> - |
| 104 | +days, weeks, months.</p> |
| 105 | +</td> |
| 106 | +</tr> |
| 107 | +<tr><td><code>instanceSidecarConfiguration</code><br/> |
| 108 | +<a href="#barmancloud-cnpg-io-v1-InstanceSidecarConfiguration"><i>InstanceSidecarConfiguration</i></a> |
| 109 | +</td> |
| 110 | +<td> |
| 111 | + <span class="text-muted">No description provided.</span></td> |
| 112 | +</tr> |
| 113 | +</tbody> |
| 114 | +</table> |
| 115 | + |
| 116 | +## ObjectStoreStatus {#barmancloud-cnpg-io-v1-ObjectStoreStatus} |
| 117 | + |
| 118 | + |
| 119 | +**Appears in:** |
| 120 | + |
| 121 | +- [ObjectStore](#barmancloud-cnpg-io-v1-ObjectStore) |
| 122 | + |
| 123 | + |
| 124 | +<p>ObjectStoreStatus defines the observed state of ObjectStore.</p> |
| 125 | + |
| 126 | + |
| 127 | +<table class="table"> |
| 128 | +<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> |
| 129 | +<tbody> |
| 130 | +<tr><td><code>serverRecoveryWindow</code> <B>[Required]</B><br/> |
| 131 | +<a href="#barmancloud-cnpg-io-v1-RecoveryWindow"><i>map[string]RecoveryWindow</i></a> |
| 132 | +</td> |
| 133 | +<td> |
| 134 | + <p>ServerRecoveryWindow maps each server to its recovery window</p> |
| 135 | +</td> |
| 136 | +</tr> |
| 137 | +</tbody> |
| 138 | +</table> |
| 139 | + |
| 140 | +## RecoveryWindow {#barmancloud-cnpg-io-v1-RecoveryWindow} |
| 141 | + |
| 142 | + |
| 143 | +**Appears in:** |
| 144 | + |
| 145 | +- [ObjectStoreStatus](#barmancloud-cnpg-io-v1-ObjectStoreStatus) |
| 146 | + |
| 147 | + |
| 148 | +<p>RecoveryWindow represents the time span between the first |
| 149 | +recoverability point and the last successful backup of a PostgreSQL |
| 150 | +server, defining the period during which data can be restored.</p> |
| 151 | + |
| 152 | + |
| 153 | +<table class="table"> |
| 154 | +<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> |
| 155 | +<tbody> |
| 156 | +<tr><td><code>firstRecoverabilityPoint</code> <B>[Required]</B><br/> |
| 157 | +<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#time-v1-meta"><i>meta/v1.Time</i></a> |
| 158 | +</td> |
| 159 | +<td> |
| 160 | + <p>The first recoverability point in a PostgreSQL server refers to |
| 161 | +the earliest point in time to which the database can be |
| 162 | +restored.</p> |
| 163 | +</td> |
| 164 | +</tr> |
| 165 | +<tr><td><code>lastSuccussfulBackupTime</code> <B>[Required]</B><br/> |
| 166 | +<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#time-v1-meta"><i>meta/v1.Time</i></a> |
| 167 | +</td> |
| 168 | +<td> |
| 169 | + <p>The last successful backup time</p> |
| 170 | +</td> |
| 171 | +</tr> |
| 172 | +</tbody> |
| 173 | +</table> |
0 commit comments