Sha256: bda9bc9ed6d4a5c503292ad13dfa7ba6b238b06eacbb688af2381a0fca969386

Contents?: true

Size: 401 Bytes

Versions: 6

Compression:

Stored size: 401 Bytes

Contents

class KuberKit::Actions::ServiceReader
  include KuberKit::Import[
    "core.service_store",
    "service_deployer.service_reader",
    "shell.local_shell",
    "ui"
  ]

  Contract Symbol, Hash => Any
  def call(service_name, options)
    service = service_store.get_service(service_name)

    result = service_reader.read(local_shell, service)

    ui.print_info(service_name.to_s, result)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kuber_kit-0.1.5 lib/kuber_kit/actions/service_reader.rb
kuber_kit-0.1.4 lib/kuber_kit/actions/service_reader.rb
kuber_kit-0.1.3 lib/kuber_kit/actions/service_reader.rb
kuber_kit-0.1.2 lib/kuber_kit/actions/service_reader.rb
kuber_kit-0.1.1 lib/kuber_kit/actions/service_reader.rb
kuber_kit-0.1.0 lib/kuber_kit/actions/service_reader.rb