utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvaliblePlugins map[string]string = map[string]string{
	"basic-auth": "The plugin will check for valid credentials in the Proxy-Authorization and Authorization header",
	"statsd":     "Log metrics for a Service, Route to a StatsD server",
}
View Source
var CommonPluginFlags = []cli.Flag{
	cli.StringFlag{
		Name:  "id",
		Usage: "the plugin id",
	},
	cli.StringFlag{
		Name:  "name",
		Usage: "the plugin name",
	},
	cli.StringFlag{
		Name:  "route_id",
		Usage: "the unique identifier of the Route that should be associated to the newly-created plugin",
	},
	cli.StringFlag{
		Name:  "service_id",
		Usage: "the unique identifier of the Service that should be associated to the newly-created plugin",
	},
	cli.StringFlag{
		Name:  "consumer_id",
		Usage: "The unique identifier of the consumer that overrides the existing settings for this specific consumer on incoming requests",
	},
	cli.BoolFlag{
		Name:  "enabled",
		Usage: "whether the plugin is applied",
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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