From c3b4bc2908e8b93441ce045958444150e9361797 Mon Sep 17 00:00:00 2001 From: Md Soharab Ansari Date: Thu, 19 Sep 2024 13:44:57 +0530 Subject: [PATCH] Update CRD and cli ref docs for timetrigger object Signed-off-by: Md Soharab Ansari --- content/en/docs/reference/crd-reference.md | 2 ++ .../en/docs/reference/fission-cli/fission_timetrigger_create.md | 2 ++ .../en/docs/reference/fission-cli/fission_timetrigger_update.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/content/en/docs/reference/crd-reference.md b/content/en/docs/reference/crd-reference.md index 804d2138..c451e601 100644 --- a/content/en/docs/reference/crd-reference.md +++ b/content/en/docs/reference/crd-reference.md @@ -794,6 +794,8 @@ _Appears in:_ | --- | --- | --- | --- | | `cron` _string_ | Cron schedule | | | | `functionref` _[FunctionReference](#functionreference)_ | The reference to function | | | +| `method` _string_ | HTTP Method for trigger, ex : GET, POST, PUT, DELETE, HEAD (default: "POST") | POST | | +| `subpath` _string_ | Subpath to trigger a specific route if function
internally supports routing, (default: "/") | / | | diff --git a/content/en/docs/reference/fission-cli/fission_timetrigger_create.md b/content/en/docs/reference/fission-cli/fission_timetrigger_create.md index 7ffd3e9b..f0c222ff 100644 --- a/content/en/docs/reference/fission-cli/fission_timetrigger_create.md +++ b/content/en/docs/reference/fission-cli/fission_timetrigger_create.md @@ -17,6 +17,8 @@ fission timetrigger create [flags] --name string Time Trigger name --function string Function name --cron string Time trigger cron spec with each asterisk representing respectively second, minute, hour, the day of the month, month and day of the week. Also supports readable formats like '@every 5m', '@hourly' + --method string HTTP Methods: GET,POST,PUT,DELETE,HEAD. + --subpath string Sub Path to check if function internally supports routing --spec Save to the spec directory instead of creating on cluster --dry View the generated specs -h, --help help for create diff --git a/content/en/docs/reference/fission-cli/fission_timetrigger_update.md b/content/en/docs/reference/fission-cli/fission_timetrigger_update.md index 94c61d4e..00cc79ef 100644 --- a/content/en/docs/reference/fission-cli/fission_timetrigger_update.md +++ b/content/en/docs/reference/fission-cli/fission_timetrigger_update.md @@ -17,6 +17,8 @@ fission timetrigger update [flags] --name string Time Trigger name --function string Function name --cron string Time trigger cron spec with each asterisk representing respectively second, minute, hour, the day of the month, month and day of the week. Also supports readable formats like '@every 5m', '@hourly' + --method string HTTP Methods: GET,POST,PUT,DELETE,HEAD. + --subpath string Sub Path to check if function internally supports routing -h, --help help for update ```