Documentation
¶
Overview ¶
Package haproxy contains haproxy related constants and configuration
Index ¶
Constants ¶
View Source
const ControlPlanePort = 6443
ControlPlanePort defines the port where the control plane is listening on the load balancer node
View Source
const DefaultConfigTemplate = `` /* 919-byte string literal not displayed */
DefaultConfigTemplate is the haproxy config template
View Source
const Image = "haproxy:1.8.14-alpine"
Image defines the haproxy image:tag
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 ¶
type ConfigData ¶
ConfigData is supplied to the haproxy config template
Click to show internal directories.
Click to hide internal directories.