utils

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

View Source
const (
	DefaultBalanceAlgorithm = "roundrobin"
)
View Source
const (
	DefaultHealthCheckInterval = 5000
)
View Source
const (
	DefaultSSLBackendTLSVerify = "none"
)

Variables

This section is empty.

Functions

func AliasDomains

func AliasDomains(config types.Container) []string

func BackendAddress

func BackendAddress(cnt types.Container, backendOverrideAddress string) (string, error)

func BackendOptions

func BackendOptions(config types.Container) []string

func BackendOverlayAddress

func BackendOverlayAddress(network types.NetworkResource, cnt types.Container) (string, error)

func BalanceAlgorithm

func BalanceAlgorithm(config types.Container) string

func ContextRoot added in v1.1.1

func ContextRoot(config types.Container) string

func ContextRootRewrite added in v1.1.1

func ContextRootRewrite(config types.Container) bool

func Domain

func Domain(config types.Container) string

func HealthCheck

func HealthCheck(config types.Container) string

func HealthCheckInterval

func HealthCheckInterval(config types.Container) (int, error)

func Hostname

func Hostname(config types.Container) string

func IPHash added in v1.1.1

func IPHash(config types.Container) bool

func OverlayEnabled

func OverlayEnabled(config ctypes.Container) (string, bool)

func SSLBackend

func SSLBackend(config types.Container) bool

func SSLBackendTLSVerify

func SSLBackendTLSVerify(config types.Container) string

func SSLCertKey

func SSLCertKey(config types.Container) string

func SSLCertName

func SSLCertName(config types.Container) string

func SSLEnabled

func SSLEnabled(config types.Container) bool

func SSLOnly

func SSLOnly(config types.Container) bool

func WebsocketEndpoints

func WebsocketEndpoints(config types.Container) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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