lb

package
v0.9.3-0...-e3c37e7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFlows

func InitFlows()

func ReadConfig

func ReadConfig(fileName string) error

Types

type IpPort

type IpPort struct {
	Index  uint16        `json:"index"`
	Subnet NetworkSubnet `json:"subnet"`
	// contains filtered or unexported fields
}

type LoadBalancerConfig

type LoadBalancerConfig struct {
	InputPort       IpPort              `json:"input-port"`
	TunnelPort      IpPort              `json:"tunnel-port"`
	TunnelSubnet    NetworkSubnet       `json:"tunnel-subnet"`
	WorkerAddresses []types.IPv4Address `json:"worker-addresses"`
}
var LBConfig LoadBalancerConfig

type NetworkSubnet

type NetworkSubnet struct {
	IPv4 types.IPv4Subnet `json:"ipv4"`
	IPv6 types.IPv6Subnet `json:"ipv6"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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