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

Container filtering #18

Merged
merged 7 commits into from
Jul 31, 2018
Merged

Container filtering #18

merged 7 commits into from
Jul 31, 2018

Conversation

jakecode
Copy link
Contributor

Added filtering capabilities for docker containers as per #5 . This builds off of the -f flag used in the docker ps command, and is configurable in the .vimrc file, via the DockerToolsSetFilter command, DockerToolsClearFilter command, and with the f key when the cursor is located in the ui.

If the ui is open when a filter is set (or cleared) than the ui will automatically reload with the new filter settings.

Any invalid filter keys (those that are not in the docker documentation) will be automatically removed from the filters, so errors are less prevalent when viewing the containers.

The documentation has been updated with the new commands and settings.

Tested locally with single and multiple filters, both set from my .vimrc file, via the DockerToolsSetFilter command, and the DockerToolsClearFilter command. As well all tests were done with the ui opened during the command execution, and the ui closed during the command execution.

@kkvh kkvh changed the base branch from master to dev July 31, 2018 07:19
@kkvh kkvh merged commit 26be11f into kkvh:dev Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants