addresstable

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressTable

type AddressTable struct {
	// contains filtered or unexported fields
}

func NewAddressTable

func NewAddressTable(stalenessThreshold, pruningInterval, resumePruningDelay time.Duration, clock clock.Clock, logger lager.Logger) *AddressTable

func (*AddressTable) Add

func (at *AddressTable) Add(hostnames []string, ip string)

func (*AddressTable) GetAllAddresses

func (at *AddressTable) GetAllAddresses() map[string][]string

func (*AddressTable) IsWarm

func (at *AddressTable) IsWarm() bool

func (*AddressTable) Lookup

func (at *AddressTable) Lookup(hostname string) []string

func (*AddressTable) PausePruning

func (at *AddressTable) PausePruning()

func (*AddressTable) Remove

func (at *AddressTable) Remove(hostnames []string, ip string)

func (*AddressTable) ResumePruning

func (at *AddressTable) ResumePruning()

func (*AddressTable) SetWarm

func (at *AddressTable) SetWarm()

func (*AddressTable) Shutdown

func (at *AddressTable) Shutdown()

Jump to

Keyboard shortcuts

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