Skip to content

Feature: Generate Check Boilerplate Code #99

@lvlcn-t

Description

@lvlcn-t

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/checksIssues/PRs related to ChecksfeatureIntroduces a new featurerequestIndicates a feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions