-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for filtering by creation timestamp that is `youngerThan` a specified amount of time. ```yaml source: filter: youngerThan: 3600 ``` This inversely complements the existing filter functionality for `olderThan`, and can also be used together to define a time window. For example, resources created between 1 and 2 hours ago: ```yaml source: filter: olderThan: 3600 youngerThan: 7200 ``` Signed-off-by: Justin Griffin <[email protected]>
- Loading branch information
Justin Griffin
authored
Apr 13, 2022
1 parent
8ebb3d9
commit ca2c610
Showing
5 changed files
with
140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"source": { | ||
"filter": { | ||
"olderThan": 3000, | ||
"youngerThan": 80000 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"source": { | ||
"filter": { | ||
"youngerThan": 3600 | ||
} | ||
} | ||
} |