@@ -108,17 +108,23 @@ type ExecuteAction struct {
108108 Env map [string ]string `wst:"env"`
109109}
110110
111+ type TLSClientConfig struct {
112+ SkipVerify bool `wst:"skip_verify,default=false"`
113+ CACert string `wst:"ca_certificate"`
114+ }
115+
111116type RequestAction struct {
112- Service string `wst:"service"`
113- Timeout int `wst:"timeout"`
114- When string `wst:"when,enum=always|on_success|on_failure,default=on_success"`
115- OnFailure string `wst:"on_failure,enum=fail|ignore|skip,default=fail"`
116- Id string `wst:"id,default=last"`
117- Scheme string `wst:"scheme,enum=http|https,default=http"`
118- Path string `wst:"path"`
119- EncodePath bool `wst:"encode_path,default=true"`
120- Method string `wst:"method,enum=GET|HEAD|DELETE|POST|PUT|PATCH|PURGE,default=GET"`
121- Headers Headers `wst:"headers"`
117+ Service string `wst:"service"`
118+ Timeout int `wst:"timeout"`
119+ When string `wst:"when,enum=always|on_success|on_failure,default=on_success"`
120+ OnFailure string `wst:"on_failure,enum=fail|ignore|skip,default=fail"`
121+ Id string `wst:"id,default=last"`
122+ Scheme string `wst:"scheme,enum=http|https,default=http"`
123+ Path string `wst:"path"`
124+ EncodePath bool `wst:"encode_path,default=true"`
125+ Method string `wst:"method,enum=GET|HEAD|DELETE|POST|PUT|PATCH|PURGE,default=GET"`
126+ Headers Headers `wst:"headers"`
127+ TLS TLSClientConfig `wst:"tls"`
122128}
123129
124130type BenchAction struct {
0 commit comments