MCPcopy
hub / github.com/osrg/gobgp / mustApi2apiutilPath

Function mustApi2apiutilPath

pkg/server/grpc_server_test.go:23–29  ·  view source on GitHub ↗
(path *api.Path)

Source from the content-addressed store, hash-verified

21)
22
23func mustApi2apiutilPath(path *api.Path) *apiutil.Path {
24 p, err := api2apiutilPath(path)
25 if err != nil {
26 panic(fmt.Sprintf("failed to convert api.Path to apiutil.Path: %v", err))
27 }
28 return p
29}
30
31func TestParseHost(t *testing.T) {
32 tsts := []struct {

Calls 1

api2apiutilPathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…