Documentation ¶
Overview ¶
Package fetcher implements path segment fetching, verification and combination logic for SCIOND.
Index ¶
Constants ¶
View Source
const (
DefaultMinWorkerLifetime = 10 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func Filter ¶ added in v0.4.0
func Filter(paths []*combinator.Path, policy Policy) []*combinator.Path
Filter filters the given paths with the given policy. Note that this function might change the order of elements.
Types ¶
type Fetcher ¶
type Fetcher interface { GetPaths(ctx context.Context, req *sciond.PathReq, earlyReplyInterval time.Duration) (*sciond.PathReply, error) }
func NewFetcher ¶
func NewFetcher(requestAPI segfetcher.RequestAPI, pathDB pathdb.PathDB, inspector infra.ASInspector, verificationFactory infra.VerificationFactory, revCache revcache.RevCache, cfg config.SDConfig, topoProvider topology.Provider) Fetcher
type TrustStore ¶ added in v0.4.0
type TrustStore interface { infra.VerificationFactory infra.ASInspector }
Directories ¶
Path | Synopsis |
---|---|
Package mock_fetcher is a generated GoMock package.
|
Package mock_fetcher is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.