Sha256: 730218f70ed548d2aeee60764d344b673f57b6dd3bc66685e248a11bbe13ea2d

Contents?: true

Size: 1.59 KB

Versions: 55

Compression:

Stored size: 1.59 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 "users", "Users specific commands [DEPRECATED]", load_subcommand('master/users_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

55 entries across 55 versions & 1 rubygems

Version Path
kontena-cli-1.4.3 lib/kontena/cli/master_command.rb
kontena-cli-1.4.3.rc1 lib/kontena/cli/master_command.rb
kontena-cli-1.4.2 lib/kontena/cli/master_command.rb
kontena-cli-1.4.2.rc1 lib/kontena/cli/master_command.rb
kontena-cli-1.4.2.pre1 lib/kontena/cli/master_command.rb
kontena-cli-1.4.1 lib/kontena/cli/master_command.rb
kontena-cli-1.4.1.rc1 lib/kontena/cli/master_command.rb
kontena-cli-1.4.1.pre1 lib/kontena/cli/master_command.rb
kontena-cli-1.3.5 lib/kontena/cli/master_command.rb
kontena-cli-1.3.5.rc1 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.rc2 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.rc1 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.pre14 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.pre13 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.pre12 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.pre11 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.pre10 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.pre9 lib/kontena/cli/master_command.rb
kontena-cli-1.4.0.pre8 lib/kontena/cli/master_command.rb