Sha256: 0f4530147dfde37d2f921dfd6a9acd2c78960eea91f0cbc17f893413126f477d

Contents?: true

Size: 885 Bytes

Versions: 60

Compression:

Stored size: 885 Bytes

Contents

require_relative 'master/add_command'
require_relative 'master/list_command'
require_relative 'master/remove_command'
require_relative 'master/update_command'
require_relative 'master/show_command'

module Kontena::Cli::Cloud
  class MasterCommand < Kontena::Command
    include Kontena::Cli::Common

    subcommand ['list', 'ls'], "List masters in Kontena Cloud", Kontena::Cli::Cloud::Master::ListCommand
    subcommand ['remove', 'rm'], "Remove a master registration from Kontena Cloud", Kontena::Cli::Cloud::Master::RemoveCommand
    subcommand "add", "Register a master in Kontena Cloud", Kontena::Cli::Cloud::Master::AddCommand
    subcommand "show", "Show master settings in Kontena Cloud", Kontena::Cli::Cloud::Master::ShowCommand
    subcommand "update", "Update master settings in Kontena Cloud", Kontena::Cli::Cloud::Master::UpdateCommand

    def execute
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
kontena-cli-1.1.6 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.5 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.5.rc3 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.5.rc2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.5.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.4 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.3 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.2.rc2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.2.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.1.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.0 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.0.rc2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.0.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.1.0.pre1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.6 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.6.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.5 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.5.rc1 lib/kontena/cli/cloud/master_command.rb