Documentation
¶
Index ¶
- Constants
- Variables
- type Balancer
- func (b *Balancer) BlockList(list [PREFIXES]bool)
- func (b *Balancer) Close()
- func (b *Balancer) Configure(r Healthchecks)
- func (b *Balancer) FlowQueue() []byte
- func (b *Balancer) Global() Counter
- func (b *Balancer) NoBlockList()
- func (b *Balancer) Stats() map[Target]Counter
- func (b *Balancer) StoreFlow(fs []byte)
- type Counter
- type Healthchecks
- type ICMPs
- type IP4
- type IP4s
- type L4
- type MAC
- type Maps
- type NAT
- type NetNS
- type Protocol
- type Real
- type Report
- type Service
- type Target
Constants ¶
View Source
const ( A = false B = true )
View Source
const NAMESPACE = "vc5"
View Source
const PREFIXES = 1048576
Variables ¶
View Source
var BPF_O []byte
Functions ¶
This section is empty.
Types ¶
type Balancer ¶ added in v0.1.4
type Balancer struct {
// contains filtered or unexported fields
}
func (*Balancer) Configure ¶ added in v0.1.4
func (b *Balancer) Configure(r Healthchecks)
func (*Balancer) NoBlockList ¶ added in v0.1.20
func (b *Balancer) NoBlockList()
type Counter ¶
type Healthchecks ¶
type Healthchecks = healthchecks.Healthchecks
type NAT ¶
type NAT struct { C chan *Healthchecks Logger types.Logger Maps *maps NetNS *NetNS DefaultIP IP4 PhysicalMAC MAC PhysicalIndex int // contains filtered or unexported fields }
func (*NAT) Configure ¶ added in v0.1.4
func (n *NAT) Configure(h *Healthchecks)
func (*NAT) NAT ¶ added in v0.1.4
func (n *NAT) NAT(h *Healthchecks) (*Healthchecks, error)
type Real ¶
type Real = healthchecks.Real
type Service ¶ added in v0.1.4
type Service = healthchecks.Service
Click to show internal directories.
Click to hide internal directories.