Sha256: 48977c9c8e3cae9666bd791a020ac48c799892730c6ad878ab6cb6c7429df1f0

Contents?: true

Size: 564 Bytes

Versions: 7

Compression:

Stored size: 564 Bytes

Contents

# frozen_string_literal: true

namespace :status do
  desc 'Show service status'
  task :service do
    Kubec::Utils::Helper.header 'Service Status'
    Kubec::Status::Service.print
  end

  desc 'Show deployment status'
  task :deployment do
    Kubec::Utils::Helper.header 'Deployment Status'
    Kubec::Status::Deployment.print
  end

  desc 'Show pod status'
  task :pod do
    Kubec::Utils::Helper.header 'Pod Status'
    Kubec::Status::Pod.print
  end
end

desc 'Show deploy status'
task status: [
  'status:service',
  'status:deployment',
  'status:pod'
]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kubec-0.6.1 lib/kubec/tasks/status.rake
kubec-0.6.0 lib/kubec/tasks/status.rake
kubec-0.5.0 lib/kubec/tasks/status.rake
kubec-0.4.1 lib/kubec/tasks/status.rake
kubec-0.4.0 lib/kubec/tasks/status.rake
kubec-0.3.6 lib/kubec/tasks/status.rake
kubec-0.3.5 lib/kubec/tasks/status.rake