Skip to content

Commit 9466811

Browse files
Sync improvements for docs for 1.2.35 (#1482)
1 parent ed9ab82 commit 9466811

File tree

8 files changed

+2908
-1483
lines changed

8 files changed

+2908
-1483
lines changed

docs/api/ArangoBackup.V1.md

Lines changed: 115 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,51 @@
22

33
## Spec
44

5-
### .spec.backoff.iterations: integer
5+
### .spec.backoff.iterations
6+
7+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L31)</sup>
68

79
Iterations defines number of iterations before reaching MaxDelay. Default to 5
810

9-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L31)
11+
***
12+
13+
### .spec.backoff.max_delay
1014

11-
### .spec.backoff.max_delay: integer
15+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L29)</sup>
1216

1317
MaxDelay defines maximum delay in seconds. Default to 600
1418

15-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L29)
19+
***
1620

17-
### .spec.backoff.max_iterations: integer
21+
### .spec.backoff.max_iterations
22+
23+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L33)</sup>
1824

1925
MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit)
2026

21-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L33)
27+
***
28+
29+
### .spec.backoff.min_delay
2230

23-
### .spec.backoff.min_delay: integer
31+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L27)</sup>
2432

2533
MinDelay defines minimum delay in seconds. Default to 30
2634

27-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L27)
35+
***
2836

29-
### .spec.deployment.name: string
37+
### .spec.deployment.name
38+
39+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L54)</sup>
3040

3141
Name of the ArangoDeployment Custom Resource within same namespace as ArangoBackup Custom Resource.
3242

3343
This field is **immutable**: can't be changed after backup creation
3444

35-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L54)
45+
***
46+
47+
### .spec.download.credentialsSecretName
3648

37-
### .spec.download.credentialsSecretName: string
49+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L81)</sup>
3850

3951
CredentialsSecretName is the name of the secret used while accessing repository
4052

@@ -43,17 +55,21 @@ Links:
4355

4456
This field is **immutable**: can't be changed after backup creation
4557

46-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L81)
58+
***
4759

48-
### .spec.download.id: string
60+
### .spec.download.id
61+
62+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L89)</sup>
4963

5064
ID of the ArangoBackup to be downloaded
5165

5266
This field is **immutable**: can't be changed after backup creation
5367

54-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L89)
68+
***
69+
70+
### .spec.download.repositoryURL
5571

56-
### .spec.download.repositoryURL: string
72+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L77)</sup>
5773

5874
RepositoryURL is the URL path for file storage
5975
Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local.
@@ -70,15 +86,19 @@ azure://test
7086

7187
This field is **immutable**: can't be changed after backup creation
7288

73-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L77)
89+
***
7490

75-
### .spec.lifetime: integer
91+
### .spec.lifetime
92+
93+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L47)</sup>
7694

7795
Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m".
7896

79-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L47)
97+
***
98+
99+
### .spec.options.allowInconsistent
80100

81-
### .spec.options.allowInconsistent: boolean
101+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L66)</sup>
82102

83103
AllowInconsistent flag for Backup creation request.
84104
If this value is set to true, backup is taken even if we are not able to acquire lock.
@@ -87,27 +107,33 @@ Default Value: `false`
87107

88108
This field is **immutable**: can't be changed after backup creation
89109

90-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L66)
110+
***
91111

92-
### .spec.options.timeout: number
112+
### .spec.options.timeout
93113

94-
Timeout for Backup creation request in seconds.
114+
Type: `number` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L61)</sup>
115+
116+
Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false.
95117

96118
Default Value: `30`
97119

98120
This field is **immutable**: can't be changed after backup creation
99121

100-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L61)
122+
***
123+
124+
### .spec.policyName
101125

102-
### .spec.policyName: string
126+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L42)</sup>
103127

104128
PolicyName name of the ArangoBackupPolicy which created this Custom Resource
105129

106130
This field is **immutable**: can't be changed after backup creation
107131

108-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L42)
132+
***
109133

110-
### .spec.upload.credentialsSecretName: string
134+
### .spec.upload.credentialsSecretName
135+
136+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L81)</sup>
111137

112138
CredentialsSecretName is the name of the secret used while accessing repository
113139

@@ -116,9 +142,11 @@ Links:
116142

117143
This field is **immutable**: can't be changed after backup creation
118144

119-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L81)
145+
***
146+
147+
### .spec.upload.repositoryURL
120148

121-
### .spec.upload.repositoryURL: string
149+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L77)</sup>
122150

123151
RepositoryURL is the URL path for file storage
124152
Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local.
@@ -135,77 +163,103 @@ azure://test
135163

136164
This field is **immutable**: can't be changed after backup creation
137165

138-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L77)
139-
140166
## Status
141167

142-
### .status.available: boolean
168+
### .status.available
169+
170+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L36)</sup>
143171

144172
Available Determines if we can restore from ArangoBackup
145173

146-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L36)
174+
***
147175

148-
### .status.backoff.iterations: integer
176+
### .status.backoff.iterations
149177

150-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status_backoff.go#L30)
178+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status_backoff.go#L30)</sup>
151179

152-
### .status.backup.downloaded: boolean
180+
***
181+
182+
### .status.backup.downloaded
183+
184+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L66)</sup>
153185

154186
Downloaded Determines if ArangoBackup has been downloaded.
155187

156-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L66)
188+
***
189+
190+
### .status.backup.id
191+
192+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L56)</sup>
157193

158-
### .status.backup.id: string
194+
***
159195

160-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L56)
196+
### .status.backup.imported
161197

162-
### .status.backup.imported: boolean
198+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L67)</sup>
163199

164-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L67)
200+
***
165201

166-
### .status.backup.keys: array
202+
### .status.backup.keys
167203

168-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L70)
204+
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L70)</sup>
169205

170-
### .status.backup.numberOfDBServers: integer
206+
***
207+
208+
### .status.backup.numberOfDBServers
209+
210+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L62)</sup>
171211

172212
NumberOfDBServers Cluster size of the Backup in ArangoDB
173213

174-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L62)
214+
***
215+
216+
### .status.backup.potentiallyInconsistent
217+
218+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L58)</sup>
175219

176-
### .status.backup.potentiallyInconsistent: boolean
220+
***
177221

178-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L58)
222+
### .status.backup.sizeInBytes
179223

180-
### .status.backup.sizeInBytes: integer
224+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L60)</sup>
181225

182226
SizeInBytes Size of the Backup in ArangoDB.
183227

184-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L60)
228+
***
185229

186-
### .status.backup.uploaded: boolean
230+
### .status.backup.uploaded
231+
232+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L64)</sup>
187233

188234
Uploaded Determines if ArangoBackup has been uploaded
189235

190-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L64)
236+
***
237+
238+
### .status.backup.version
191239

192-
### .status.backup.version: string
240+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L57)</sup>
193241

194-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L57)
242+
***
195243

196-
### .status.message: string
244+
### .status.message
245+
246+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L88)</sup>
197247

198248
Message for the state this object is in.
199249

200-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L86)
250+
***
251+
252+
### .status.progress.jobID
201253

202-
### .status.progress.jobID: string
254+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L111)</sup>
203255

204256
JobID ArangoDB job ID for uploading or downloading
205257

206-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L109)
258+
***
207259

208-
### .status.progress.progress: string
260+
### .status.progress.progress
261+
262+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L114)</sup>
209263

210264
Progress ArangoDB job progress in percents
211265

@@ -214,9 +268,11 @@ Example:
214268
90%
215269
```
216270

217-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L112)
271+
***
272+
273+
### .status.state
218274

219-
### .status.state: string
275+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L82)</sup>
220276

221277
State holds the current high level state of the backup
222278

@@ -235,5 +291,3 @@ Possible Values:
235291
* Failed - state for failure
236292
* Unavailable - state when Backup is not available on the ArangoDB. It can happen in case of upgrades, node restarts etc.
237293

238-
[Code Reference](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L80)
239-

0 commit comments

Comments
 (0)