app

package
v0.0.0-...-8365721 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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(c *Config) (*restful.Container, error)

Initialize server from config

func RunServer

func RunServer()

RunServer to run the apiserver.

Types

type Config

type Config struct {
	Generic *GenericConfig
	Swagger *swagger.Config
}

Config is application configuration

type GenericConfig

type GenericConfig struct {
	Address                string
	Port                   string
	TLSPort                string
	UnixSock               string
	EnableUISupport        bool
	DBBackend              string
	Transport              string
	DBName                 string
	IsClientCertAuthOption bool
	Debug                  bool
}

GenericConfig is the generic config for the application

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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