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 a mock for VolumeDriver interface #4056

Merged
merged 5 commits into from Dec 15, 2023
Merged

Conversation

amogh09
Copy link
Contributor

@amogh09 amogh09 commented Dec 14, 2023

Summary

This PR moves VolumeDriver interface and related types of ECS Volume Plugin to a new package and adds a mock implementation of the driver to help with unit testing for upcoming PRs.

Implementation details

  • Moved VolumeDriver interface from volumes package to volumes/driver package.
  • Generated a mockgen based mock implementation for VolumeDriver.

Testing

Existing unit tests pass.

New tests cover the changes: NA

Description for the changelog

Add a mock for VolumeDriver interface

Does this PR include breaking model changes? If so, Have you added transformation functions?

No

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@amogh09 amogh09 changed the base branch from master to dev December 14, 2023 16:31
@amogh09 amogh09 marked this pull request as ready for review December 14, 2023 16:46
@amogh09 amogh09 requested a review from a team as a code owner December 14, 2023 16:46
@amogh09 amogh09 merged commit b7e8df1 into aws:dev Dec 15, 2023
38 checks passed
@mye956 mye956 mentioned this pull request Jan 9, 2024
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

4 participants