Sha256: d7b43c259e0a07a38c4ab232d9813c7190feb1656dfc59004f990d47c3a8bea5

Contents?: true

Size: 992 Bytes

Versions: 6

Compression:

Stored size: 992 Bytes

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

    # @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

    private

    # @param [Hash] _options
    def configure(_options)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hako-0.15.3 lib/hako/script.rb
hako-0.15.2 lib/hako/script.rb
hako-0.15.1 lib/hako/script.rb
hako-0.15.0 lib/hako/script.rb
hako-0.14.1 lib/hako/script.rb
hako-0.14.0 lib/hako/script.rb