-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1050 from Green-Software-Foundation/0-off-as-input
Allow `0` and `off` values as input-parameter in Interpolation Plugin
- Loading branch information
Showing
8 changed files
with
102 additions
and
25 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
24 changes: 24 additions & 0 deletions
24
manifests/examples/builtins/interpolation/success-with-off.yml
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,24 @@ | ||
name: interpolation-demo | ||
description: simple demo of interpolation plugin | ||
tags: | ||
initialize: | ||
plugins: | ||
interpolation: | ||
method: Interpolation | ||
path: "builtin" | ||
config: | ||
method: linear | ||
x: [0, 10, 50, 100] | ||
y: [0.12, 0.32, 0.75, 1.02] | ||
input-parameter: "cpu/utilization" | ||
output-parameter: "result" | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
compute: | ||
- interpolation | ||
inputs: | ||
- timestamp: 2023-07-06T00:00 | ||
duration: 3600 | ||
cpu/utilization: off |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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