mongodb

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const PluginType = "mongodb"

PluginType is the type of the plugin, how it must be specified in the configuration. The PluginType is also used as prefix for the returned chi.Router from the Mount function.

Variables

This section is empty.

Functions

func Mount

func Mount(instances []plugin.Instance, clustersClient clusters.Client) (chi.Router, error)

Mount mounts the MongoDB 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 a router for the plugin. It contains all the fields and functions from the chi.Mux struct and all the configured instances.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL