Documentation ¶
Overview ¶
Package loadbalancer contains external loadbalancer related constants and configuration
Index ¶
Constants ¶
View Source
const ConfigPath = "/usr/local/etc/haproxy/haproxy.cfg"
ConfigPath defines the path to the config file in the image
View Source
const DefaultConfigTemplate = `` /* 605-byte string literal not displayed */
DefaultConfigTemplate is the loadbalancer config template
View Source
const DefaultImageRepository = "kindest"
DefaultImageRepository defines the loadbalancer image repository
View Source
const DefaultImageTag = "v20210715-a6da3463"
DefaultImageTag defines the loadbalancer image tag
View Source
const Image = "haproxy"
Image defines the loadbalancer image name
Variables ¶
This section is empty.
Functions ¶
func Config ¶
func Config(data *ConfigData) (config string, err error)
Config returns a kubeadm config generated from config data, in particular the kubernetes version
Types ¶
Click to show internal directories.
Click to hide internal directories.