Skip to content

Commit

Permalink
Update CRD and cli ref docs for timetrigger object (#270)
Browse files Browse the repository at this point in the history
Signed-off-by: Md Soharab Ansari <[email protected]>
  • Loading branch information
soharab-ic authored Sep 20, 2024
1 parent 3752e99 commit d6704fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/en/docs/reference/crd-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br />internally supports routing, (default: "/") | / | |



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit d6704fb

Please sign in to comment.