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(context.Context, *seg.PathSegment, []proto.PathSegType) (int, error) // Insert or update a path segment with a given label. InsertWithHPCfgIDs(context.Context, *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(context.Context, common.RawBytes) (int, error) // Deletes all path segments that contain a given interface. Returns the number // of path segments deleted. DeleteWithIntf(context.Context, query.IntfSpec) (int, error) // Get returns all path segment(s) matching the parameters specified. Get(context.Context, *query.Params) ([]*query.Result, error) }
Click to show internal directories.
Click to hide internal directories.