config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Enabled  bool
	Username string
	Password string
}

type AuthVar

type AuthVar Auth

AuthVar implements the Flag.Value interface and allows the user to specify authentication in the username[:password] form.

func (*AuthVar) Set

func (a *AuthVar) Set(value string) error

func (*AuthVar) String

func (a *AuthVar) String() string

type Config

type Config struct {
	Refresh       time.Duration
	RegistryAuth  *Auth
	RegistryPort  string
	RegistrySSL   *SSL
	RegistryToken string
	Zk            string
	LogLevel      string
}

func DefaultConfig

func DefaultConfig() *Config

type SSL

type SSL struct {
	Enabled bool
	Verify  bool
	Cert    string
	CaCert  string
}

Jump to

Keyboard shortcuts

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