@@ -19,14 +19,15 @@ type BackendRest struct {
1919}
2020
2121type Backend struct {
22- name string
23- Type string `mapstructure:"type,omitempty" yaml:"type,omitempty"`
24- Path string `mapstructure:"path,omitempty" yaml:"path,omitempty"`
25- Key string `mapstructure:"key,omitempty" yaml:"key,omitempty"`
26- RequireKey bool `mapstructure:"requireKey,omitempty" yaml:"requireKey,omitempty"`
27- Env map [string ]string `mapstructure:"env,omitempty" yaml:"env,omitempty"`
28- Rest BackendRest `mapstructure:"rest,omitempty" yaml:"rest,omitempty"`
29- Options Options `mapstructure:"options,omitempty" yaml:"options,omitempty"`
22+ name string
23+ Type string `mapstructure:"type,omitempty" yaml:"type,omitempty"`
24+ Path string `mapstructure:"path,omitempty" yaml:"path,omitempty"`
25+ Key string `mapstructure:"key,omitempty" yaml:"key,omitempty"`
26+ RequireKey bool `mapstructure:"requireKey,omitempty" yaml:"requireKey,omitempty"`
27+ AllowFailure bool `mapstructure:"allowFailure,omitempty" yaml:"allowFailure,omitempty"`
28+ Env map [string ]string `mapstructure:"env,omitempty" yaml:"env,omitempty"`
29+ Rest BackendRest `mapstructure:"rest,omitempty" yaml:"rest,omitempty"`
30+ Options Options `mapstructure:"options,omitempty" yaml:"options,omitempty"`
3031}
3132
3233func GetBackend (name string ) (Backend , bool ) {
0 commit comments