Module: Kontena::Cli::Apps::YAML::Validations::CustomValidators
- Defined in:
- lib/kontena/cli/apps/yaml/custom_validators/affinities_validator.rb,
lib/kontena/cli/apps/yaml/custom_validators/secrets_validator.rb,
lib/kontena/cli/apps/yaml/custom_validators/extends_validator.rb,
lib/kontena/cli/apps/yaml/custom_validators/hooks_validator.rb,
lib/kontena/cli/apps/yaml/custom_validators/build_validator.rb,
lib/kontena/cli/apps/yaml/validations.rb
Defined Under Namespace
Classes: AffinitiesValidator, BuildValidator, ExtendsValidator, HooksValidator, SecretsValidator
Class Method Summary collapse
Class Method Details
.load ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/kontena/cli/apps/yaml/validations.rb', line 10 def self.load return if @loaded HashValidator.append_validator(AffinitiesValidator.new) HashValidator.append_validator(BuildValidator.new) HashValidator.append_validator(ExtendsValidator.new) HashValidator.append_validator(SecretsValidator.new) HashValidator.append_validator(HooksValidator.new) @loaded = true end |