Class: Cuber::CuberfileValidator
- Inherits:
-
Object
- Object
- Cuber::CuberfileValidator
- Defined in:
- lib/cuber/cuberfile_validator.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ CuberfileValidator
constructor
A new instance of CuberfileValidator.
- #validate ⇒ Object
Constructor Details
#initialize(options) ⇒ CuberfileValidator
Returns a new instance of CuberfileValidator.
4 5 6 7 |
# File 'lib/cuber/cuberfile_validator.rb', line 4 def initialize @options = @errors = [] end |
Instance Method Details
#validate ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/cuber/cuberfile_validator.rb', line 9 def validate validate_app validate_release validate_repo validate_buildpacks validate_dockerfile validate_image validate_cache validate_dockerconfig validate_kubeconfig validate_migrate validate_procs validate_cron validate_env validate_health validate_lb validate_ingress validate_ssl @errors end |