func (v KnownServiceValue) Validate() error {
	switch v {
	case SSHRule, JujuControllerRule, JujuApplicationOfferRule:
		return nil
	}
	return errors.NotValidf("known service %q", v)
}
// Validate returns an error if the service value is not valid.
Validate returns an error if the service value is not valid.
// Validate returns an error if the service value is not valid .
func (v KnownServiceValue) Validate() error {
	switch v {
	case SSHRule, JujuControllerRule, JujuApplicationOfferRule:
		return nil
	}
	return errors.NotValidf("known service %q", v)
}
func ( v KnownServiceValue ) Validate ( ) error { switch v { case SSHRule , JujuControllerRule , JujuApplicationOfferRule : return nil } return errors . NotValidf ( " " , v ) }
Validate returns an error if the service value is not valid.
Validate returns an error if the service value is not valid .