Sha256: d0f63c5033a6031116ff7c2b27a6281d751c6b68dbd84544f9baaa280a460c7f
Contents?: true
Size: 558 Bytes
Versions: 42
Compression:
Stored size: 558 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? ? %w(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
42 entries across 42 versions & 2 rubygems