web

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: Apache-2.0 Imports: 15 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SecretStoreFlags = struct {
	K8sConfig    string `long:"kubeconfig" description:"Path to kubernetes config file"`
	K8sNamespace string `long:"namespace" description:"Kubernetes namespace" default:"default"`
	DbFile       string `long:"db-file" description:"Backend DB URL/Path" default:"./db.bolt"`
	DbBackend    string `long:"db-backend" description:"Backend DB Name" default:"boltdb"`
	DbUser       string `long:"db-username" description:"Backend DB Username" default:"dispatch"`
	DbPassword   string `long:"db-password" description:"Backend DB Password" default:"dispatch"`
	DbDatabase   string `long:"db-database" description:"Backend DB Name" default:"dispatch"`
	Tracer       string `long:"tracer" description:"Open Tracing Tracer endpoint" default:""`
}{}

SecretStoreFlags are configuration flags for the secret store

Functions

func ConfigureHandlers

func ConfigureHandlers(api middleware.RoutableAPI, h *Handlers)

ConfigureHandlers registers secret store handlers to the API

Types

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

Handlers encapsulates the secret store handlers

func NewHandlers

func NewHandlers(entityStore entitystore.EntityStore) (*Handlers, error)

NewHandlers create new handlers for secret store

Jump to

Keyboard shortcuts

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