Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfiguration ¶ added in v1.1.0
func DefaultConfiguration(builders ...ConfigurationBuilder) *configuration
Returns the default cmd configuration and apply optional builders to it.
Types ¶
type ConfigurationBuilder ¶ added in v1.1.0
type ConfigurationBuilder func(*configuration)
Configuration builder function used to initialize the configuration object (mostly used in tests).
func WithBalancer ¶ added in v1.1.0
func WithBalancer(domain, acmeEmail string) ConfigurationBuilder
Configure the balancer for the given domain and acme email.
func WithTestDefaults ¶ added in v1.1.0
func WithTestDefaults() ConfigurationBuilder
Configuration builder used to set some tests sensible defaults.
Click to show internal directories.
Click to hide internal directories.