Sha256: 2dbde161bdc621cbe5e0c3e38bb90f6db4c5be3c0e3564c682bb4cd46c473c77

Contents?: true

Size: 579 Bytes

Versions: 87

Compression:

Stored size: 579 Bytes

Contents

class KuberKit::Core::ContextHelper::ServiceHelper < KuberKit::Core::ContextHelper::BaseHelper
  def initialize(image_store:, artifact_store:, shell:, env_file_reader:, service:)
    super(
      image_store:      image_store, 
      artifact_store:   artifact_store, 
      shell:            shell,
      env_file_reader:  env_file_reader
    )
    @service = service
  end

  def service_name
    @service.name.to_s
  end

  def service_uri
    @service.uri
  end

  def attribute(attribute_name, default: nil)
    @service.attribute(attribute_name, default: default)
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
kuber_kit-1.3.2 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.1.5 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.3.1 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.3.0 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.1.4 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.2.7 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.2.6 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.2.5 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.2.4 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.2.2 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.1.2 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.2.1 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.2.0 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.1.1 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.0.1 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-1.0.0 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-0.9.9 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-0.9.8 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-0.9.7 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-0.9.6 lib/kuber_kit/core/context_helper/service_helper.rb