-
Hi, I've noticed that a number of services, usually the bigger complex ones like I didn't see anything about Services or Connection Config in the Developers guide to writing plugins. Did I miss something? https://steampipe.io/docs/develop/writing-plugins |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It really depends on the complexity of the plugin. We commonly use those files in more complex plugins for:
It's really up to the plugin on the best way to arrange these internal files, but our Hope that helps! |
Beta Was this translation helpful? Give feedback.
It really depends on the complexity of the plugin. We commonly use those files in more complex plugins for:
connection_config.go
defines the connection options, e.g.token
orregions
or similar.service.go
breaks out service connection setup code, rather than simpler plugins that keep it inutils.go
.It's really up to the plugin on the best way to arrange these internal files, but our
turbot/steampipe-plugin-*
code is definitely good as examples, and should be fairly consistent.Hope that helps!