Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "filtercommand"
Name of the plugin
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterCommandPlugin ¶
type FilterCommandPlugin struct {
// contains filtered or unexported fields
}
This is a plugin that handles sending the request to the acutual downstream mongo
func (*FilterCommandPlugin) Configure ¶
func (p *FilterCommandPlugin) Configure(d bson.D) error
Configure configures this plugin with the given configuration object. Returns an error if the configuration is invalid for the plugin.
func (*FilterCommandPlugin) Name ¶
func (p *FilterCommandPlugin) Name() string
type FilterCommandPluginConfig ¶
type FilterCommandPluginConfig struct { // FilterCommands defines a list of commands to return `CommandNotFound` for FilterCommands []string `bson:"filterCommands"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.