adf

package
v0.0.0-...-9633304 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Dir AppDir
}

type AppDir

type AppDir struct {
	Root  string
	Certs string
}

type CA

type CA struct {
	Dir     CADir
	TLS     TLSOptions
	CRLFile string
}

type CADir

type CADir struct {
	Root    string
	Private string
	Certs   string
}

type ClientConfig

type ClientConfig struct {
	App     App
	Profile Profile
	TLS     TLSOptions
}

func NewClient

func NewClient() *ClientConfig

func (*ClientConfig) Init

func (c *ClientConfig) Init() error

func (*ClientConfig) SetName

func (c *ClientConfig) SetName(name string) error

type DaemonConfig

type DaemonConfig struct {
	App App
	CA  CA
	API TLSOptions
}

func NewDaemon

func NewDaemon() *DaemonConfig

func (*DaemonConfig) Init

func (c *DaemonConfig) Init() error

type EngineConfig

type EngineConfig struct {
	CertsDir string
	TLS      TLSOptions
}

func NewEngine

func NewEngine() *EngineConfig

func (*EngineConfig) Init

func (c *EngineConfig) Init() error

type Profile

type Profile struct {
	Name    string
	CertDir string
}

type ServerConfig

type ServerConfig struct {
	AppDir string
}

func NewServer

func NewServer() *ServerConfig

func (*ServerConfig) Init

func (c *ServerConfig) Init() error

type TLSOptions

type TLSOptions struct {
	CaFile  string
	KeyFile string
	CrtFile string
}

Jump to

Keyboard shortcuts

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