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