Sha256: dc8fdc45bceb3a665b2a4ff3fed2a88890d56820b3307cd19c6cd542cb001f47
Contents?: true
Size: 557 Bytes
Versions: 35
Compression:
Stored size: 557 Bytes
Contents
module Kontena::Cli::ExternalRegistries class ListCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include Kontena::Cli::TableGenerator::Helper requires_current_master requires_current_master_token requires_current_grid def fields quiet? ? %(name) : %w(name username email) end def external_registries client.get("grids/#{current_grid}/external_registries")['external_registries'] end def execute print_table(external_registries) end end end
Version data entries
35 entries across 35 versions & 1 rubygems