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

endpointmanager: unexport and inline functions only used in the package #27426

Merged
merged 2 commits into from Aug 10, 2023

Conversation

tklauser
Copy link
Member

Unexport and/or inline some functions that are only used in pkg/endpointmanager.

See commit messages for details.

These methods no longer have any external users since commits
a09ab3a ("endpoint: Move endpoint.Expose to EndpointManager") and
6046592 ("endpoint: Move endpoint.Unexpose to EndpointManager").

Inline them, because they are each only used in a single place in the
package.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
This method is no longer used outside of the package since the
refactoring of endpoint management (namely the removal of the
of the endpoint.endpointManager interface) in PR #14745.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser added kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. labels Aug 10, 2023
@tklauser tklauser requested a review from a team as a code owner August 10, 2023 13:24
@tklauser
Copy link
Member Author

/test

@tklauser tklauser changed the title endpointmanager: unexport and line functions only used in the package endpointmanager: unexport and inline functions only used in the package Aug 10, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Aug 10, 2023
@aditighag aditighag merged commit c133e90 into main Aug 10, 2023
197 checks passed
@aditighag aditighag deleted the pr/tklauser/endpointmanager-cleanup branch August 10, 2023 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants