query

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NullHpCfgID = HPCfgID{IA: addr.IAInt(0).IA(), ID: 0}

Functions

This section is empty.

Types

type HPCfgID

type HPCfgID struct {
	IA addr.IA
	ID uint64
}

TODO(shitz): This should be moved when we have hidden path sets.

func (*HPCfgID) Eq

func (h *HPCfgID) Eq(other *HPCfgID) bool

type IntfSpec

type IntfSpec struct {
	IA   addr.IA
	IfID common.IFIDType
}

type Params

type Params struct {
	SegIDs        []common.RawBytes
	SegTypes      []proto.PathSegType
	HpCfgIDs      []*HPCfgID
	Intfs         []*IntfSpec
	StartsAt      []addr.IA
	EndsAt        []addr.IA
	MinLastUpdate *time.Time
}

type Result

type Result struct {
	Seg        *seg.PathSegment
	LastUpdate time.Time
	HpCfgIDs   []*HPCfgID
}

type Results added in v0.3.0

type Results []*Result

Results is a type for convenience methods on a slice of Results.

func (Results) Segs added in v0.3.0

func (r Results) Segs() seg.Segments

Segs returns the segments in the Results slice.

Jump to

Keyboard shortcuts

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