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
endpoint: factor out waiting for first regeneration during creation into separate function #9073
Conversation
pkg/endpoint/endpoint.go
Outdated
@@ -2007,3 +2007,106 @@ func (e *Endpoint) Delete(monitor monitorOwner, ipam ipReleaser, manager endpoin | |||
|
|||
return errs | |||
} | |||
|
|||
type ContainerStartFunc func() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported type ContainerStartFunc should have comment or be unexported
test-me-please |
4eb95b1
to
aab062a
Compare
test-me-please |
aab062a
to
fc4d0bf
Compare
test-me-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only blocker is a comment to explain when cfunc is called inside .Create
5f9a02f
to
88b8676
Compare
test-me-please |
…nto separate function This hides a lot of endpoint internals from the \`daemon\`. Signed-off by: Ian Vernon <ian@cilium.io>
88b8676
to
1ef1c6a
Compare
test-me-please |
test-me-please |
Merging; all comments have been addressed. |
This hides a lot of endpoint internals from the `daemon`.
Signed-off by: Ian Vernon ian@cilium.io
I have a branch in which I have done way more refactoring of this code, but I think this is a good first step into hiding endpoint internals from the Daemon during Endpoint creation.
This change is