Sha256: 48fe3d11581ffa03b35262f8bc6015bc8b6641eaad94809f35588a32b205b4c1
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
# frozen_string_literal: true require 'hako/scripts' module Hako class Script # @param [Application] app # @param [Hash] options # @param [Boolean] dry_run def initialize(app, options, dry_run:) @app = app @dry_run = dry_run configure(options) end # @param [Hash<String, Container>] _containers def deploy_starting(_containers); end # @param [Hash<String, Container>] _containers # @param [Fixnum] _front_port def deploy_started(_containers, _front_port); end # @param [Hash<String, Container>] _containers def deploy_finished(_containers); end def rollback_starting; end # @param [String] _current_image_tag # @param [String] _target_image_tag def rollback_started(_current_image_tag, _target_image_tag); end def rollback_finished; end # @param [Hash<String, Container>] _containers def oneshot_starting(_containers); end # @param [Scheduler] _scheduler def oneshot_started(_scheduler); end # @param [Hash<String, Container>] _containers def oneshot_finished(_containers); end def after_remove; end private # @param [Hash] _options def configure(_options); end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hako-1.1.0 | lib/hako/script.rb |