utils

package
v1.2.0 Latest Latest
Warning

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

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

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 *dockerclient.ContainerConfig) []string

func BackendAddress

func BackendAddress(containerInfo *dockerclient.ContainerInfo, backendOverrideAddress string) (string, error)

func BackendOptions

func BackendOptions(config *dockerclient.ContainerConfig) []string

func BackendOverlayAddress

func BackendOverlayAddress(network *dockerclient.NetworkResource, containerInfo *dockerclient.ContainerInfo) (string, error)

func BalanceAlgorithm

func BalanceAlgorithm(config *dockerclient.ContainerConfig) string

func ContextRoot added in v1.1.1

func ContextRoot(config *dockerclient.ContainerConfig) string

func ContextRootRewrite added in v1.1.1

func ContextRootRewrite(config *dockerclient.ContainerConfig) bool

func Domain

func Domain(config *dockerclient.ContainerConfig) string

func HealthCheck

func HealthCheck(config *dockerclient.ContainerConfig) string

func HealthCheckInterval

func HealthCheckInterval(config *dockerclient.ContainerConfig) (int, error)

func Hostname

func Hostname(config *dockerclient.ContainerConfig) string

func IPHash added in v1.1.1

func IPHash(config *dockerclient.ContainerConfig) bool

func OverlayEnabled

func OverlayEnabled(config *dockerclient.ContainerConfig) (string, bool)

func SSLBackend

func SSLBackend(config *dockerclient.ContainerConfig) bool

func SSLBackendTLSVerify

func SSLBackendTLSVerify(config *dockerclient.ContainerConfig) string

func SSLCertKey

func SSLCertKey(config *dockerclient.ContainerConfig) string

func SSLCertName

func SSLCertName(config *dockerclient.ContainerConfig) string

func SSLEnabled

func SSLEnabled(config *dockerclient.ContainerConfig) bool

func SSLOnly

func SSLOnly(config *dockerclient.ContainerConfig) bool

func WebsocketEndpoints

func WebsocketEndpoints(config *dockerclient.ContainerConfig) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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