(paras ...string)
| 1079 | } |
| 1080 | |
| 1081 | func (arg Argument) Experimental(paras ...string) Argument { |
| 1082 | if len(paras) == 0 && arg.Spec.Description != "" { |
| 1083 | arg.Spec.ExperimentalReason = arg.Spec.Description |
| 1084 | arg.Spec.Description = experimentalDescription(arg.Spec.Description) |
| 1085 | return arg |
| 1086 | } |
| 1087 | arg.Spec.ExperimentalReason = FormatDescription(paras...) |
| 1088 | return arg |
| 1089 | } |
| 1090 | |
| 1091 | type InputSpecs struct { |
| 1092 | // raw is the list of input specs. |