Documentation
Developers
Generating Resources

Generating resources

Adding resources to a plugins can sometimes be a tedious task, some resources can have more than hundreds of fields and relations, and adding them all can take a long time. To remedy this issue, we provide utilities as part of our plugin-sdk (opens in a new tab) to automatically infer columns from Go structs. In particular, see the transformers.TransformWithStruct() method (opens in a new tab).

Examples

The best example would be to check out how this is done in our of our official plugins such as GCP Compute Disks (opens in a new tab)