Sha256: 044daabcb4fbbd4c01a17030c707137ea2d8fadfc87605eaac94f13894940924

Contents?: true

Size: 886 Bytes

Versions: 16

Compression:

Stored size: 886 Bytes

Contents

require_relative 'nodes/list_command'
require_relative 'nodes/remove_command'
require_relative 'nodes/show_command'
require_relative 'nodes/update_command'
require_relative 'nodes/ssh_command'
require_relative 'nodes/label_command'
require_relative 'nodes/health_command'

class Kontena::Cli::NodeCommand < Kontena::Command

  subcommand ["list","ls"], "List grid nodes", Kontena::Cli::Nodes::ListCommand
  subcommand "show", "Show node", Kontena::Cli::Nodes::ShowCommand
  subcommand "ssh", "Ssh into node", Kontena::Cli::Nodes::SshCommand
  subcommand "update", "Update node", Kontena::Cli::Nodes::UpdateCommand
  subcommand ["remove","rm"], "Remove node", Kontena::Cli::Nodes::RemoveCommand
  subcommand "label", "Node label specific commands", Kontena::Cli::Nodes::LabelCommand
  subcommand "health", "Check node health", Kontena::Cli::Nodes::HealthCommand

  def execute
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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