func ValidateArchitecture(arch string) error {
	if IsValidArchitecture(arch) {
		return nil
	}
	return errors.NotValidf("architecture name %q", arch)
}
// ValidateArchitecture returns an error if the given architecture is invalid.
ValidateArchitecture returns an error if the given architecture is invalid.
// ValidateArchitecture returns an error if the given architecture is invalid .
func ValidateArchitecture(arch string) error {
	if IsValidArchitecture(arch) {
		return nil
	}
	return errors.NotValidf("architecture name %q", arch)
}
func ValidateArchitecture ( arch string ) error { if IsValidArchitecture ( arch ) { return nil } return errors . NotValidf ( " " , arch ) }
ValidateArchitecture returns an error if the given architecture is invalid.
ValidateArchitecture returns an error if the given architecture is invalid .