Sha256: b3b6a4b41946eb384516f77c6faa08544ad837677f670ddd96afede3fbdad382
Contents?: true
Size: 529 Bytes
Versions: 32
Compression:
Stored size: 529 Bytes
Contents
module Kontena::Cli::ExternalRegistries class DeleteCommand < Clamp::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions parameter "NAME", "External registry name to delete" def execute puts "DEPRECATION WARNING: Support for 'kontena external-registry delete' will be dropped. Use 'kontena external-registry remove' instead.".colorize(:red) require_api_url token = require_token client(token).delete("external_registries/#{current_grid}/#{name}") end end end
Version data entries
32 entries across 32 versions & 1 rubygems