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

Feature: Generate Check Boilerplate Code #99

Open
1 task done
lvlcn-t opened this issue Feb 3, 2024 · 0 comments
Open
1 task done

Feature: Generate Check Boilerplate Code #99

lvlcn-t opened this issue Feb 3, 2024 · 0 comments
Labels
area/checks Issues/PRs related to Checks feature Introduces a new feature request Indicates a feature request

Comments

@lvlcn-t
Copy link
Member

lvlcn-t commented Feb 3, 2024

Is there an existing feature request for this?

  • I have searched the existing issues

Problem Description

Currently every check needs to be implemented manually and there's a risk that some default setups aren't correctly implemented. Also everytime a new check is registered it needs to be added to the runtime package which holds the runtime configuration for all checks.

Solution Description

Add a generate script and some templates to be filled by this script. Therefore you can use go templating with the text/template standard library. The script should generate the new check's boilerplate code and append the new check to the already existing runtime.Config and its utilizing methods.

Who can address the issue?

Everyone who wants to experience go templates 📝

Additional Context

I've started to implement this in feat/generate-check if you need some inspiration.

@lvlcn-t lvlcn-t added feature Introduces a new feature area/checks Issues/PRs related to Checks request Indicates a feature request labels Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/checks Issues/PRs related to Checks feature Introduces a new feature request Indicates a feature request
Projects
None yet
Development

No branches or pull requests

1 participant