web

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

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"`
	OrganizationID string `long:"organization" description:"Organization ID" default:"vmware"`
	DbFile         string `long:"database file" description:"File to use to write to database" default:"./db.bolt"`
}{}

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