Peter Matseykanets
6c774cf59a
Bump dependencies for v2.11 ( #414 )
2025-03-12 15:29:36 -04:00
Peter Matseykanets
80099f6ea0
Respect proxy settings and set http timeout in login and ssh commands ( #406 )
...
Ref: https://github.com/rancher/rancher/issues/48321
2024-12-09 12:55:26 -05:00
Enrico Candino
0e8a1106be
Added linter and removed deprecated and unused packages ( #357 )
...
* Create go.yml
* updated golangci config file
* renamed action file
* removed unused prompt command
* fixed SA6005 (staticcheck): used strings.EqualFold
* removed unused monitor package
* removed unused funcs and fields
* fixed SA1019 (staticcheck): removed deprecations
* added missing error checking
* fixed linter
* removed unused (and unimplemented) commands
* added error to getClusterK8sOptions
* oneliner err check in displayListServers
* removed unused docker dependency
2024-04-10 11:52:59 +02:00
Donnie Adams
a9204188e3
Bump Rancher dependency and use nodeName when getting machine
2021-11-10 14:33:00 -07:00
Donnie Adams
1a2f5d2bb5
Support SSH for v2 provisioned machines
...
Before this change, it was not possible to use the SSH command to
connect to machines provisioned with v2 provisioning. After this change
(and including the changes to Rancher), the CLI will use the new CAPI
client to get the SSH key and config from Rancher for v2 provisioned
machines.
A side effect of this change is the addition of the new `rancher
machines ls` command that lists all machines for the current cluster
context.
2021-11-01 17:24:12 -07:00
Steven Crespo
87af700d0e
Remove rancher/types dependency and update imports
2021-06-22 14:47:31 -07:00
Dan Ramich
c6e4f5537e
Update error checks to be go style
2020-02-27 14:44:29 -07:00
Dan Ramich
1adef85608
Add option to allow ssh using external IP of node
2019-09-03 14:13:11 -07:00
Dan Ramich
6e2f325052
Update ssh to accept users and pass through all args
...
Problem:
SSH command does not accept a user or allow passing through of commands
Solution:
Add support for -l flag as well as <user>@<node> syntax
Pass through all following args to SSH
2018-04-20 10:46:43 -07:00
Dan Ramich
5500b99435
Add ability to search by name
2018-04-13 13:45:08 -07:00
Dan Ramich
848077d899
Add node and ssh command
...
Problem:
Need ability to ssh into nodes
Solution:
Add node command to list and delete nodes
Add ssh command to ssh into a node that rancher controls
2018-02-20 16:20:57 -07:00
Dan Ramich
ec1e283323
Adding of new commands
2018-02-13 11:01:39 -07:00
Daishan Peng
03ebe1a203
cli 2.0
2017-09-15 14:34:17 -07:00
Darren Shepherd
7f78a4d9d0
Fix SSH access for environments with auth
2016-11-30 14:21:37 -07:00
Darren Shepherd
c12deb04f8
Small fixes
2016-11-17 15:59:36 -07:00
Darren Shepherd
3165aba51e
Switch to v2-beta API
2016-09-13 01:35:38 -07:00
deniseschannon
e297b3892a
Updated help command to add in examples and more details
2016-08-11 21:51:54 -07:00
deniseschannon
e49cbd5f96
Updated help for commands
2016-08-10 21:43:48 -07:00
Darren Shepherd
cc95326170
Initial development
2016-07-27 17:55:02 -07:00