conn

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

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