Sha256: 6006007778bcd72f4ecf94f9b7482d4f2fd0233bc91b48356b07b9272970ae30
Contents?: true
Size: 512 Bytes
Versions: 42
Compression:
Stored size: 512 Bytes
Contents
require_relative '../services/services_helper' require_relative './common' module Kontena::Cli::Certificate class ShowCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include Common parameter "SUBJECT", "Certificate subject" requires_current_master requires_current_master_token requires_current_grid def execute cert = client.get("certificates/#{current_grid}/#{self.subject}") show_certificate(cert) end end end
Version data entries
42 entries across 42 versions & 2 rubygems