Commit Graph

16 Commits

Author SHA1 Message Date
Sakala Venkata Krishna Rohit 0b6ae1f01b
Remove app, catalog, multiclusterapp commands (#405)
Ref: https://github.com/rancher/rancher/issues/48252
2024-12-03 14:59:06 -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
rmweir e5d127d6dc Add wait and timeout to multi-cluster apps
Added wait and timeout flags to multi-cluster apps. Removed
automatic CLI blocking behavior. Added multi-cluster apps
to rancher wait command. Made flags and descriptions more
clear. Prior, there was no way to configure wait and
timeout helm options for multi-cluster apps. This would
prevent apps which take longer than 5 minutes to fail
installing. Install would block CLI untill app was properly
installed. CLI text did not make it clear that wait/timeout
are helm options.
2019-08-26 16:37:09 -07:00
Dan Ramich 709f0a450d Fix wait
Problem:
Wait errors on already completed cluster
Error message has formatting

Solution:
Update to check status of watched object to every half second
Use value formatting for messages
2019-02-13 16:47:05 -07:00
Dan Ramich 5767d78872 Enhance scripting with cli
Problem:
CLI asks to verify certs on login
No way to wait for a resource to be available

Solution:
Add a skip-verify flag to login
Add wait command to wait for a cluster to be in active state
2018-11-27 11:25:55 -08:00
Alena Prokharchyk 389539fb68 Revert "Enhance scripting with cli"
This reverts commit e0241450ff.
2018-11-27 11:12:27 -08:00
Dan Ramich e0241450ff Enhance scripting with cli
Problem:
CLI asks to verify certs on login
No way to wait for a resource to be available

Solution:
Add a skip-verify flag to login
Add wait command to wait for a cluster to be in active state
2018-11-07 15:59:17 -07:00
Dan Ramich d2dbfa3314 Remove ununsed files and dependencies 2018-03-22 14:03:01 -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
Amy Chen 4f8183dcca respect wait flag 2017-08-15 09:24:16 -07:00
Darren Shepherd 500f6706f1 env templates squash 2016-11-30 14:21:37 -07:00
Darren Shepherd 3165aba51e Switch to v2-beta API 2016-09-13 01:35:38 -07:00
Darren Shepherd 4f933c0800 Too much good stuff 2016-08-18 11:37:01 -07:00
deniseschannon e297b3892a Updated help command to add in examples and more details 2016-08-11 21:51:54 -07:00
Darren Shepherd cc95326170 Initial development 2016-07-27 17:55:02 -07:00