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 AgentConfigAccessor interface to ecs-agent/ #3928

Merged
merged 1 commit into from Sep 27, 2023

Conversation

danehlim
Copy link
Contributor

@danehlim danehlim commented Sep 26, 2023

Summary

Add AgentConfigAccessor interface to ecs-agent module. This interface abstraction allows for access to an agent config via a set of designated methods and will be used in upcoming future pull requests.

For clarity, this pull request just adds files to the ecs-agent module and does NOT change the agent module in any way to use these files.

Implementation details

  • Add AgentConfigAccessor interface to ecs-agent/config/interface.go
  • Add mockgen command to generate a mock for the interface in ecs-agent/config/generate_mocks.go
  • Generate mocks for AgentConfigAccessor interface

Testing

Unit, integration, and functional tests.

New tests cover the changes: N/A

Description for the changelog

Add AgentConfigAccessor interface to ecs-agent/

Licensing

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

@danehlim danehlim marked this pull request as ready for review September 26, 2023 21:06
@danehlim danehlim requested a review from a team as a code owner September 26, 2023 21:06
mythri-garaga
mythri-garaga previously approved these changes Sep 26, 2023
@danehlim danehlim merged commit b9e98d9 into aws:dev Sep 27, 2023
40 checks passed
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