-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support object type param and add validation
Note: This new feature is gated by the alpha flag. Changes: - Add `properties` section in ParamSpec struct - Add `ObjectVal` in ArrayOrString struct - Implement UnmarshalJSON and MarshalJSON for ArrayOrString of object type. - Change SetDefault function to include object type - Add type validation for object type in task_validation.go - Add object param validation in validate_resources.go
- Loading branch information
Showing
14 changed files
with
662 additions
and
58 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
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
Oops, something went wrong.