Sha256: 35bfb483ea5a00a7f26d585c22b0249c87bcb58d8bf7cd07a792701ebe6cc2f2
Contents?: true
Size: 966 Bytes
Versions: 2
Compression:
Stored size: 966 Bytes
Contents
# frozen_string_literal: true require 'aws-sdk' module Hako class Scheduler class ValidationError < Error end # @param [String] app_id # @param [Hash] options # @param [Hash] volumes # @param [Array<Script>] scripts # @param [Boolean] dry_run # @param [Boolean] force def initialize(app_id, options, volumes:, scripts:, dry_run:, force:) @app_id = app_id @volumes = volumes @scripts = scripts @dry_run = dry_run @force = force configure(options) end # @param [Hash] _options def configure(_options) end # @param [Hash<String, Container>] _containers def deploy(_containers) raise NotImplementedError end def status raise NotImplementedError end def remove raise NotImplementedError end private # @param [String] message def validation_error!(message) raise ValidationError.new(message) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hako-0.14.1 | lib/hako/scheduler.rb |
hako-0.14.0 | lib/hako/scheduler.rb |