Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for getting resources by name #867

Merged
merged 1 commit into from
Feb 5, 2021
Merged

Conversation

stefanprodan
Copy link
Member

Changes:

  • add singular alias to flux get commands
  • allow filtering the flux get commands result by resource name
  • add the image commands to mkdocs index

Example:

$ flux get sources git
NAME    	READY	MESSAGE                                                          	REVISION                                       	SUSPENDED 
podinfo 	True 	Fetched revision: master/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	master/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	False    	
podinfo2	True 	Fetched revision: master/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	master/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	False    

$ flux get source git podinfo
NAME   	READY	MESSAGE                                                          	REVISION                                       	SUSPENDED 
podinfo	True 	Fetched revision: master/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	master/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7	False 

- add singular alias to get commands
- allow filtering the get commands result by resource name
- add the image commands to mkdocs index

Signed-off-by: Stefan Prodan <[email protected]>
@stefanprodan stefanprodan added area/docs Documentation related issues and pull requests enhancement New feature or request area/UX labels Feb 5, 2021
@stefanprodan stefanprodan requested a review from hiddeco February 5, 2021 14:36
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@stefanprodan stefanprodan merged commit 30008de into main Feb 5, 2021
@stefanprodan stefanprodan deleted the get-resource-by-name branch February 5, 2021 15:24
@stefanprodan stefanprodan mentioned this pull request Feb 10, 2021
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Documentation related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants