conn

package
v0.0.0-...-c8fc2fc Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: Apache-2.0 Imports: 3 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, []seg.Type) (int, error)
	// Insert or update a path segment with a given label.
	InsertWithHPCfgIDs(*seg.PathSegment, []seg.Type, []*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