diff --git a/docs/reference/preheat.md b/docs/reference/preheat.md index ffcad021..74da0290 100644 --- a/docs/reference/preheat.md +++ b/docs/reference/preheat.md @@ -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" } @@ -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" } diff --git a/docs/resource/preheat/penging-preheat.png b/docs/resource/preheat/penging-preheat.png index 49754ce6..046ac500 100644 Binary files a/docs/resource/preheat/penging-preheat.png and b/docs/resource/preheat/penging-preheat.png differ diff --git a/docs/resource/preheat/preheat-failure.png b/docs/resource/preheat/preheat-failure.png index 538e57a3..ab80c667 100644 Binary files a/docs/resource/preheat/preheat-failure.png and b/docs/resource/preheat/preheat-failure.png differ diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference/preheat.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference/preheat.md index e578050a..30412732 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference/preheat.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference/preheat.md @@ -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" } @@ -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" } diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/penging-preheat.png b/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/penging-preheat.png index 49754ce6..046ac500 100644 Binary files a/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/penging-preheat.png and b/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/penging-preheat.png differ diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/preheat-failure.png b/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/preheat-failure.png index 538e57a3..ab80c667 100644 Binary files a/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/preheat-failure.png and b/i18n/zh/docusaurus-plugin-content-docs/current/resource/preheat/preheat-failure.png differ