func (c *SecretConfig) Validate() error {
	if !pathRegexp.MatchString(c.Path) {
		return errors.NotValidf("secret path %q", c.Path)
	}
	return nil
}
// Validate returns an error if the config is not valid.
Validate returns an error if the config is not valid.
// Validate returns an error if the config is not valid .
func (c *SecretConfig) Validate() error {
	if !pathRegexp.MatchString(c.Path) {
		return errors.NotValidf("secret path %q", c.Path)
	}
	return nil
}
func ( c * SecretConfig ) Validate ( ) error { if ! pathRegexp . MatchString ( c . Path ) { return errors . NotValidf ( " " , c . Path ) } return nil }
Validate returns an error if the config is not valid.
Validate returns an error if the config is not valid .