func (r *duration) SetEnv(data string) error {
	d, err := time.ParseDuration(data)
	if err != nil {
		return err
	}
	*r = duration(d)
	return nil
}
SetEnv interprets data as time.Duration.
SetEnv implements configure.EnvSetter
package framework
import "time"
type Extensions struct {
	InstallTimeout duration `json:"install_timeout" yaml:"install_timeout" `
	BackupConfig *BackupConfig `json:"backup_config" yaml:"backup_config"`
}
type BackupConfig struct {
	Addr string `json:"addr" yaml:"addr" `
	Path string `json:"path" yaml:"path" `
}
type duration time.Duration
func (r duration) Duration() time.Duration {
	return time.Duration(r)
}