Module MCollective::Validator
In: lib/mcollective/validator/ipv4address_validator.rb
lib/mcollective/validator/array_validator.rb
lib/mcollective/validator/regex_validator.rb
lib/mcollective/validator/ipv6address_validator.rb
lib/mcollective/validator/shellsafe_validator.rb
lib/mcollective/validator/typecheck_validator.rb
lib/mcollective/validator/length_validator.rb
lib/mcollective/validator.rb

Methods

Classes and Modules

Class MCollective::Validator::ArrayValidator
Class MCollective::Validator::Ipv4addressValidator
Class MCollective::Validator::Ipv6addressValidator
Class MCollective::Validator::LengthValidator
Class MCollective::Validator::RegexValidator
Class MCollective::Validator::ShellsafeValidator
Class MCollective::Validator::TypecheckValidator

Public Class methods

Returns and instance of the Plugin class from which objects can be created. Valid plugin names are

  :valplugin
  "valplugin"
  "ValpluginValidator"

Loads the validator plugins. Validators will only be loaded every 5 minutes

Allows validation plugins to be called like module methods : Validator.validate()

Generic validate method that will call the correct validator plugin based on the type of the validation parameter

[Validate]