Commit Graph

20 Commits

Author SHA1 Message Date
Peter Matseykanets 3d831ec6cf
Improve cluster|project list-members subcommands (#399)
Ref: https://github.com/rancher/rancher/issues/47692
2024-11-01 14:46:29 -04:00
Steven Crespo 87af700d0e Remove rancher/types dependency and update imports 2021-06-22 14:47:31 -07:00
Dan Bason 309141e97c Remove explicit userID 2021-02-23 14:49:05 +13:00
Dan Ramich c6e4f5537e Update error checks to be go style 2020-02-27 14:44:29 -07:00
Dan Ramich baf6d6074e Namespace 2018-09-13 12:25:41 -07:00
Dan Ramich a935b41100 Consistency Changes
Update deletes to allow passing in multiple names/IDs for the same resource.
Update ls of resources to accept --quiet to allow passing to delete
Update arg checking to stop being an error and instead show --help for the command/subcommand
2018-05-14 18:17:53 -07:00
Dan Ramich c89f2d76a8 Add catalog command 2018-05-07 19:42:34 +02:00
Dan Ramich 08be31769c Update project create and ps to use lookup by name
Problem:
Specifying a cluster on project create and a project using ps required
an ID

Solution:
Use the lookup by name
Update the description of the ps command
2018-04-16 10:44:42 -07:00
Dan Ramich 5500b99435 Add ability to search by name 2018-04-13 13:45:08 -07:00
Dan Ramich 9443bdc560 Add ability to set yaml as an output option
Problem:
format flag only accepted json or custom

Solution:
add yaml as a new output option
2018-04-13 09:43:33 -07:00
Dan Ramich 96b83aa942 Member actions for cluster and project
Problem:
Unable to do any members actions with clusters and projects

Solution:
Add ability to add and remove members from clusters and projects
rancher project add-member-role --role <a> --role <b> <user>
Add new subcommands to list available roles for the cluster/project
rancher project list-roles
Add new subcommand to list current members/roles in a cluster/project
rancher project list-members
2018-04-09 14:38:30 -07:00
Dan Ramich 710212938b Add description flag to project and namespace
Problem:
When creating a project and namespace no description can be set

Solution:
Add a flag for optionally adding a description
2018-03-30 10:16:24 -07:00
Dan Ramich 0a837b60da Add format flag to lists
Problem:
Users are unable to specify a format on table outputs

Solution:
Add --format flag to allow customization of outputs or json blobs
2018-03-28 11:53:36 -07:00
Dan Ramich 3a12b9fb41 Add option flags for project create and ps 2018-03-02 14:13:08 -07:00
Dan Ramich 8fea865ae8 Update error handling to return to user 2018-03-01 09:38:14 -07:00
Dan Ramich fd1dc573bb Update ByID usage
Problem:
ByID was looping over all items in collection

Solution:
Use ByID to get specific item from server
2018-02-22 11:09:13 -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 9e342c4f9f Add namespace command 2018-02-16 11:02:10 -08:00
Dan Ramich adc0fae3df Add delete methods to cluster and project 2018-02-15 13:49:26 -07:00
Dan Ramich ec1e283323 Adding of new commands 2018-02-13 11:01:39 -07:00