-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Refactoring of Operator #45
Comments
Code linting is inserted to have some kind of code style #46 |
I started laying out To handle finalizers I was thinking of making the public OperatorBuilder AddController<T>(Action<ControllerBuilder<T>>? builder = null)
where T : class, IResourceController
{
_services.AddResourceController<T>();
if (builder != null)
{
var cb = new ControllerBuilder<T>();
builder(cb);
}
return this;
}
public class ControllerBuilder<T>
{
public ControllerBuilder<T> Finalizer<TFin>()
{
return this;
}
} I'm not sure what to do in the If we do go down this road, the |
Mhmm. Yea I know what you mean. I've got an idea about this. |
One big question remains on how we can add the "commands" that I added for convenience to install / uninstall crds and generate stuff? |
I think most of the checklist is now done! The only possible thing I would suggest is the removal of the test code from What are your thoughts on that? |
Nice :-) |
Since the two of us have quite a difference in time between Australia and Switzerland, I took the liberty of updating the readme and splitting out the testing package myself |
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
In collaboration with @ocdi;
Refactoring of the logic how the operator is used.
It should be more like a "normal" addon to the generic host of asp.net core and introduce it's complexity there.
Therefore we introduce some breaking changes and make a major version bump.
Topics to tackle:
IOperatorBuilder
fromservices.AddKubernetesOperator
that can perform more finetuningWebApplicationFactory
class for the operator? in context of xUnit)anything else? :-)
The text was updated successfully, but these errors were encountered: