Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CRD and cli ref docs for timetrigger object #270

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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