module Kontena::Cli::Apps::YAML::Validations::CustomValidators

Public Class Methods

load() click to toggle source
# 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