Sha256: 3a7db2fbe04aefd772b09f242a3d6609dd607f3f02d79c885e21730e2e6c9885

Contents?: true

Size: 484 Bytes

Versions: 10

Compression:

Stored size: 484 Bytes

Contents

require 'picsolve_docker_builder/base'

module PicsolveDockerBuilder
  module Composer
    module Requirements
      # Base class for requirements
      class Context
        include PicsolveDockerBuilder::Base
        attr_reader :kubernetes, :container
        def initialize(kubernetes, container)
          @kubernetes = kubernetes
          @container = container
        end

        def namespace
          @container.composer.namespace
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
picsolve_docker_builder-0.5.5 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.5.4 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.5.3 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.5.2 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.5.1 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.5.0 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.4.0 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.3.2 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.3.1 lib/picsolve_docker_builder/composer/requirements/context.rb
picsolve_docker_builder-0.3.0 lib/picsolve_docker_builder/composer/requirements/context.rb