Documentation ¶ Index ¶ Constants func Mount(instances []plugin.Instance, clustersClient clusters.Client) (chi.Router, error) type Router Constants ¶ View Source const PluginType = "sql" PluginType is the type which must be used for the SQL plugin. Variables ¶ This section is empty. Functions ¶ func Mount ¶ func Mount(instances []plugin.Instance, clustersClient clusters.Client) (chi.Router, error) Mount mounts the SQL plugin routes in the plugins router of a kobs satellite instance. Types ¶ type Router ¶ type Router struct { *chi.Mux // contains filtered or unexported fields } Router implements the router for the SQL plugin, which can be registered in the router for our rest api. It contains the api routes for the SQL plugin and it's configuration. Source Files ¶ View all Source files sql.go Click to show internal directories. Click to hide internal directories.