Sha256: 0774f0a675e3d5aeab892eaa5fe85256e7c402f517bde3621f28e340c4383344

Contents?: true

Size: 998 Bytes

Versions: 10

Compression:

Stored size: 998 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

    def after_remove; end

    private

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hako-1.0.1 lib/hako/script.rb
hako-1.0.0 lib/hako/script.rb
hako-0.27.0 lib/hako/script.rb
hako-0.26.0 lib/hako/script.rb
hako-0.25.2 lib/hako/script.rb
hako-0.25.1 lib/hako/script.rb
hako-0.25.0 lib/hako/script.rb
hako-0.24.0 lib/hako/script.rb
hako-0.23.0 lib/hako/script.rb
hako-0.22.0 lib/hako/script.rb