We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b20a5bc commit 6cf3c10Copy full SHA for 6cf3c10
types/parameter.go
@@ -76,16 +76,6 @@ type ParameterValidation struct {
76
Monotonic *string `json:"validation_monotonic"`
77
}
78
79
-// Valid takes the type of the value and the value itself and returns an error
80
-// if the value is invalid.
81
-func (v *ParameterValidation) Valid(typ string, value string) error {
82
- // TODO: Validate typ is the enum?
83
- // Use the provider.Validation struct to validate the value to be
84
- // consistent with the provider.
85
- pv := providerValidation(v)
86
- return (&pv).Valid(provider.OptionType(typ), value)
87
-}
88
-
89
type ParameterOption struct {
90
Name string `json:"name"`
91
Description string `json:"description"`
0 commit comments