cluster-api: sigs.k8s.io/cluster-api/test/infrastructure/docker/third_party/forked/loadbalancer Index | Files

package loadbalancer

import "sigs.k8s.io/cluster-api/test/infrastructure/docker/third_party/forked/loadbalancer"

Package loadbalancer contains external loadbalancer related constants and configuration

Index

Package Files

config.go const.go doc.go

Constants

const ConfigPath = "/usr/local/etc/haproxy/haproxy.cfg"

ConfigPath defines the path to the config file in the image

const DefaultConfigTemplate = "" /* 607 byte string literal not displayed */

DefaultConfigTemplate is the loadbalancer config template

const Image = "kindest/haproxy:2.1.1-alpine"

Image defines the loadbalancer image:tag

func Config Uses

func Config(data *ConfigData) (config string, err error)

Config returns a kubeadm config generated from config data, in particular the kubernetes version

type ConfigData Uses

type ConfigData struct {
    ControlPlanePort int
    BackendServers   map[string]string
    IPv6             bool
}

ConfigData is supplied to the loadbalancer config template

Package loadbalancer imports 3 packages (graph) and is imported by 1 packages. Updated 2020-07-21. Refresh now. Tools for package owners.