Sha256: 08bbf14d0dbf33337df801da664ad790d310b3c16ba39b3fcba648f404473a9e

Contents?: true

Size: 1.49 KB

Versions: 34

Compression:

Stored size: 1.49 KB

Contents

class Kontena::Cli::MasterCommand < Kontena::Command
  include Kontena::Util

  subcommand ["list", "ls"], "List masters where client has logged in", load_subcommand('master/list_command')
  subcommand ["remove", "rm"], "Remove a master from configuration", load_subcommand('master/remove_command')
  subcommand ["config", "cfg"], "Configure master settings", load_subcommand('master/config_command')
  subcommand "use", "Switch to use selected master", load_subcommand('master/use_command')
  subcommand "user", "User specific commands", load_subcommand('master/user_command')
  subcommand "current", "Show current master details", load_subcommand('master/current_command')
  subcommand "login", "Authenticate to Kontena Master", load_subcommand('master/login_command')
  subcommand "logout", "Log out of Kontena Master", load_subcommand('master/logout_command')
  subcommand "token", "Manage Kontena Master access tokens", load_subcommand('master/token_command')
  subcommand "join", "Join Kontena Master using an invitation code", load_subcommand('master/join_command')
  subcommand "audit-log", "Show master audit logs", load_subcommand('master/audit_log_command')
  subcommand "create", "Install a new Kontena Master", load_subcommand('master/create_command') if experimental?
  subcommand "init-cloud", "Configure current master to use Kontena Cloud services", load_subcommand('master/init_cloud_command')
  subcommand "ssh", "Connect to the master via SSH", load_subcommand('master/ssh_command')

  def execute
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
krates-1.7.11 lib/kontena/cli/master_command.rb
krates-1.7.10 lib/kontena/cli/master_command.rb
krates-1.7.9 lib/kontena/cli/master_command.rb
krates-1.7.8 lib/kontena/cli/master_command.rb
krates-1.7.7 lib/kontena/cli/master_command.rb
krates-1.7.6 lib/kontena/cli/master_command.rb
krates-1.7.5 lib/kontena/cli/master_command.rb
krates-1.7.4 lib/kontena/cli/master_command.rb
krates-1.7.3 lib/kontena/cli/master_command.rb
krates-1.7.2 lib/kontena/cli/master_command.rb
krates-1.7.1 lib/kontena/cli/master_command.rb
krates-1.7.0 lib/kontena/cli/master_command.rb
krates-1.6.9 lib/kontena/cli/master_command.rb
krates-1.6.8 lib/kontena/cli/master_command.rb
krates-1.6.7 lib/kontena/cli/master_command.rb
krates-1.6.6 lib/kontena/cli/master_command.rb
krates-1.6.5 lib/kontena/cli/master_command.rb
krates-1.6.4 lib/kontena/cli/master_command.rb
krates-1.6.3 lib/kontena/cli/master_command.rb
krates-1.6.2 lib/kontena/cli/master_command.rb