1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

Add satisfies field to Question schema

This commit is contained in:
Prachi Damle
2019-07-09 15:20:27 -07:00
committed by Alena Prokharchyk
parent 8070d48db4
commit c6081c7b88

View File

@@ -188,6 +188,7 @@ type Question struct {
Subquestions []SubQuestion `json:"subquestions,omitempty" yaml:"subquestions,omitempty"`
ShowIf string `json:"showIf,omitempty" yaml:"show_if,omitempty"`
ShowSubquestionIf string `json:"showSubquestionIf,omitempty" yaml:"show_subquestion_if,omitempty"`
Satisfies string `json:"satisfies,omitempty" yaml:"satisfies,omitempty"`
}
type SubQuestion struct {
@@ -206,6 +207,7 @@ type SubQuestion struct {
ValidChars string `json:"validChars,omitempty" yaml:"valid_chars,omitempty"`
InvalidChars string `json:"invalidChars,omitempty" yaml:"invalid_chars,omitempty"`
ShowIf string `json:"showIf,omitempty" yaml:"show_if,omitempty"`
Satisfies string `json:"satisfies,omitempty" yaml:"satisfies,omitempty"`
}
// TemplateContent is deprecated