-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update user and user group queries to use machinery (#304)
- Loading branch information
1 parent
d4a8e2e
commit 8057826
Showing
7 changed files
with
293 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## lagoon list all-users | ||
|
||
List all users | ||
|
||
### Synopsis | ||
|
||
List all users. | ||
This query can take a long time to run if there are a lot of users. | ||
|
||
``` | ||
lagoon list all-users [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-E, --email-address string The email address of a user | ||
-h, --help help for all-users | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config-file string Path to the config file to use (must be *.yml or *.yaml) | ||
--debug Enable debugging output (if supported) | ||
-e, --environment string Specify an environment to use | ||
--force Force yes on prompts (if supported) | ||
-l, --lagoon string The Lagoon instance to interact with | ||
--no-header No header on table (if supported) | ||
--output-csv Output as CSV (if supported) | ||
--output-json Output as JSON (if supported) | ||
--pretty Make JSON pretty (if supported) | ||
-p, --project string Specify a project to use | ||
--skip-update-check Skip checking for updates | ||
-i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [lagoon list](lagoon_list.md) - List projects, environments, deployments, variables or notifications | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## lagoon list group-users | ||
|
||
List all users in groups | ||
|
||
### Synopsis | ||
|
||
List all users in groups in lagoon, this only shows users that are in groups. | ||
If no group name is provided, all groups are queried. | ||
Without a group name, this query may time out in large Lagoon installs. | ||
|
||
``` | ||
lagoon list group-users [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for group-users | ||
-N, --name string Name of the group to list users in | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config-file string Path to the config file to use (must be *.yml or *.yaml) | ||
--debug Enable debugging output (if supported) | ||
-e, --environment string Specify an environment to use | ||
--force Force yes on prompts (if supported) | ||
-l, --lagoon string The Lagoon instance to interact with | ||
--no-header No header on table (if supported) | ||
--output-csv Output as CSV (if supported) | ||
--output-json Output as JSON (if supported) | ||
--pretty Make JSON pretty (if supported) | ||
-p, --project string Specify a project to use | ||
--skip-update-check Skip checking for updates | ||
-i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [lagoon list](lagoon_list.md) - List projects, environments, deployments, variables or notifications | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## lagoon list user-groups | ||
|
||
List a single users groups and roles | ||
|
||
### Synopsis | ||
|
||
List a single users groups and roles | ||
|
||
``` | ||
lagoon list user-groups [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-E, --email-address string The email address of a user | ||
-h, --help help for user-groups | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config-file string Path to the config file to use (must be *.yml or *.yaml) | ||
--debug Enable debugging output (if supported) | ||
-e, --environment string Specify an environment to use | ||
--force Force yes on prompts (if supported) | ||
-l, --lagoon string The Lagoon instance to interact with | ||
--no-header No header on table (if supported) | ||
--output-csv Output as CSV (if supported) | ||
--output-json Output as JSON (if supported) | ||
--pretty Make JSON pretty (if supported) | ||
-p, --project string Specify a project to use | ||
--skip-update-check Skip checking for updates | ||
-i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [lagoon list](lagoon_list.md) - List projects, environments, deployments, variables or notifications | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters