Skip to content

Commit

Permalink
docs(reference/preheat): fix preheat document (#29)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Oct 30, 2023
1 parent 4027df0 commit 2034e76
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions docs/reference/preheat.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ curl --location --request POST 'http://dragonfly-manager:8080/oapi/v1/jobs' \
--data-raw '{
"type": "preheat",
"args": {
"filter": "Expires&Signature",
"headers": {
"Authorization": "Bearer ZDkxMDMyYTEtZDE1ZC00ZmUxLWE0ODItNDI3NTk1ZGM2YWU0"
},
"type": "image",
"url": "https://index.docker.io/v2/library/redis/manifests/latest"
}
Expand All @@ -56,8 +60,10 @@ The command-line log returns the preheat job id.
"type": "preheat",
"status": "PENDING",
"args": {
"filter": "",
"headers": null,
"filter": "Expires&Signature",
"headers": {
"Authorization": "Bearer ZDkxMDMyYTEtZDE1ZC00ZmUxLWE0ODItNDI3NTk1ZGM2YWU0"
},
"type": "image",
"url": "https://index.docker.io/v2/library/redis/manifests/latest"
}
Expand Down
Binary file modified docs/resource/preheat/penging-preheat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resource/preheat/preheat-failure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ curl --location --request POST 'http://dragonfly-manager:8080/oapi/v1/jobs' \
--data-raw '{
"type": "preheat",
"args": {
"filter": "Expires&Signature",
"headers": {
"Authorization": "Bearer ZDkxMDMyYTEtZDE1ZC00ZmUxLWE0ODItNDI3NTk1ZGM2YWU0"
},
"type": "image",
"url": "https://index.docker.io/v2/library/redis/manifests/latest"
}
Expand All @@ -54,8 +58,10 @@ curl --location --request POST 'http://dragonfly-manager:8080/oapi/v1/jobs' \
"type": "preheat",
"status": "PENDING",
"args": {
"filter": "",
"headers": null,
"filter": "Expires&Signature",
"headers": {
"Authorization": "Bearer ZDkxMDMyYTEtZDE1ZC00ZmUxLWE0ODItNDI3NTk1ZGM2YWU0"
},
"type": "image",
"url": "https://index.docker.io/v2/library/redis/manifests/latest"
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2034e76

Please sign in to comment.