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

Refactor VolumeAPI #748

Open
bloodearnest opened this issue Oct 3, 2024 · 0 comments
Open

Refactor VolumeAPI #748

bloodearnest opened this issue Oct 3, 2024 · 0 comments

Comments

@bloodearnest
Copy link
Member

Volumes are abstract objects that can be docker volumes proper, or bind mounts.

In various places we need the name, in some places we need the type of mount, and also the source/target.

It would be cleaner to have an instance of a Volume object that captures this abstraction better, rather than various calls to VolumeAPI.foo.. scattered throughout the codebase.

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

No branches or pull requests

1 participant