Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface {
// Insert or update a path segment.
Insert(*seg.PathSegment, []proto.PathSegType) (int, error)
// Insert or update a path segment with a given label.
InsertWithHPCfgIDs(*seg.PathSegment, []proto.PathSegType, []*query.HPCfgID) (int, error)
// Deletes a path segment with a given ID. Returns the number of deleted
// path segments (0 or 1).
Delete(common.RawBytes) (int, error)
// Deletes all path segments that contain a given interface. Returns the number
// of path segments deleted.
DeleteWithIntf(query.IntfSpec) (int, error)
// Get returns all path segment(s) matching the parameters specified.
Get(*query.Params) ([]*query.Result, error)
}
Click to show internal directories.
Click to hide internal directories.